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 <deepak.k.jain@intel.com>
This commit is contained in:
parent
37e60917c0
commit
a50eb86855
@ -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;
|
||||
|
Loading…
x
Reference in New Issue
Block a user