git.droids-corp.org
/
dpdk.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
37e6091
)
app/test: fix missing operation initialization
author
Deepak Kumar Jain
<deepak.k.jain@intel.com>
Sun, 10 Jul 2016 10:20:57 +0000
(11:20 +0100)
committer
Thomas Monjalon
<thomas.monjalon@6wind.com>
Sun, 10 Jul 2016 12:55:42 +0000
(14:55 +0200)
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>
app/test/test_cryptodev.c
patch
|
blob
|
history
diff --git
a/app/test/test_cryptodev.c
b/app/test/test_cryptodev.c
index
1e1f887
..
dac3b93
100644
(file)
--- 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;