From: Deepak Kumar Jain Date: Sun, 10 Jul 2016 10:20:57 +0000 (+0100) Subject: app/test: fix missing operation initialization X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;ds=sidebyside;h=a50eb8685508a9540d15d7ea3f0e5533bed12527;p=dpdk.git app/test: fix missing operation initialization Initializing the authentication op parameter. Fixes: eec136f3c54f ("aesni_gcm: add driver for AES-GCM crypto operations") Signed-off-by: Deepak Kumar Jain --- diff --git a/app/test/test_cryptodev.c b/app/test/test_cryptodev.c index 1e1f887001..dac3b936f8 100644 --- a/app/test/test_cryptodev.c +++ b/app/test/test_cryptodev.c @@ -3002,6 +3002,7 @@ create_gcm_session(uint8_t dev_id, enum rte_crypto_cipher_operation op, ut_params->cipher_xform.next = NULL; ut_params->cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_GCM; + ut_params->auth_xform.auth.op = RTE_CRYPTO_AUTH_OP_GENERATE; ut_params->cipher_xform.cipher.op = op; ut_params->cipher_xform.cipher.key.data = cipher_key; ut_params->cipher_xform.cipher.key.length = key_len;