summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorHemant Agrawal <hemant.agrawal@nxp.com>2019-09-27 13:46:05 +0530
committerJerin Jacob <jerinj@marvell.com>2019-10-05 15:39:31 +0200
commitb2196237eb8aaa0c318caf8cfab7b7b27df696a5 (patch)
treeddfff898de520561306ee00396f94d373a212ea7 /app
parentfd5258738092654f9d6a4659e791d4f344ef9224 (diff)
downloaddpdk-b2196237eb8aaa0c318caf8cfab7b7b27df696a5.zip
dpdk-b2196237eb8aaa0c318caf8cfab7b7b27df696a5.tar.gz
dpdk-b2196237eb8aaa0c318caf8cfab7b7b27df696a5.tar.xz
test/event_crypto: change cipher algo
The existing code uses NULL as the cipher algo for testing crypto event adapter. DPAA1/DPAA2 do not support NULL algo. Hence changing it to the most common algo AES-CBC, which is supported by all crypto drivers implementing event crypto adapter. Signed-off-by: Hemant Agrawal <hemant.agrawal@nxp.com> Acked-by: Abhinandan Gujjar <abhinandan.gujjar@intel.com>
Diffstat (limited to 'app')
-rw-r--r--app/test/test_event_crypto_adapter.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c
index c7cdfe5..a856150 100644
--- a/app/test/test_event_crypto_adapter.c
+++ b/app/test/test_event_crypto_adapter.c
@@ -183,7 +183,7 @@ test_op_forward_mode(uint8_t session_less)
cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER;
cipher_xform.next = NULL;
- cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL;
+ cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC;
cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT;
op = rte_crypto_op_alloc(params.op_mpool,
@@ -376,7 +376,7 @@ test_op_new_mode(uint8_t session_less)
cipher_xform.type = RTE_CRYPTO_SYM_XFORM_CIPHER;
cipher_xform.next = NULL;
- cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_NULL;
+ cipher_xform.cipher.algo = RTE_CRYPTO_CIPHER_AES_CBC;
cipher_xform.cipher.op = RTE_CRYPTO_CIPHER_OP_ENCRYPT;
op = rte_crypto_op_alloc(params.op_mpool,