]> git.droids-corp.org - dpdk.git/commitdiff
test/crypto: add IPsec AES-CTR cases
authorTejasree Kondoj <ktejasree@marvell.com>
Mon, 6 Dec 2021 11:07:56 +0000 (16:37 +0530)
committerAkhil Goyal <gakhil@marvell.com>
Fri, 21 Jan 2022 10:55:12 +0000 (11:55 +0100)
Add IPsec AES-CTR test case for combined mode
in lookaside IPsec testsuite.

Signed-off-by: Tejasree Kondoj <ktejasree@marvell.com>
Acked-by: Akhil Goyal <gakhil@marvell.com>
app/test/test_cryptodev_security_ipsec.h

index 3565a8c5d2bafa169fdc42e474eff694af23b19a..3376d082c13b6a34999b806c40a74dbfc94be313 100644 (file)
@@ -103,6 +103,21 @@ static const struct crypto_param cipher_list[] = {
                .alg.cipher =  RTE_CRYPTO_CIPHER_AES_CBC,
                .key_length = 16,
        },
+       {
+               .type = RTE_CRYPTO_SYM_XFORM_CIPHER,
+               .alg.cipher =  RTE_CRYPTO_CIPHER_AES_CTR,
+               .key_length = 16,
+       },
+       {
+               .type = RTE_CRYPTO_SYM_XFORM_CIPHER,
+               .alg.cipher =  RTE_CRYPTO_CIPHER_AES_CTR,
+               .key_length = 24,
+       },
+       {
+               .type = RTE_CRYPTO_SYM_XFORM_CIPHER,
+               .alg.cipher =  RTE_CRYPTO_CIPHER_AES_CTR,
+               .key_length = 32,
+       },
 };
 
 static const struct crypto_param auth_list[] = {