From: Hemant Agrawal Date: Fri, 27 Sep 2019 08:16:05 +0000 (+0530) Subject: test/event_crypto: change cipher algo X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=b2196237eb8a;p=dpdk.git 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 Acked-by: Abhinandan Gujjar --- diff --git a/app/test/test_event_crypto_adapter.c b/app/test/test_event_crypto_adapter.c index c7cdfe594a..a8561505b7 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,