[PATCH v2 09/13] test/crypto: add lookaside IPsec AES-CTR known vectors
    Anoob Joseph 
    anoobj at marvell.com
       
    Mon Dec  6 12:07:56 CET 2021
    
    
  
From: Tejasree Kondoj <ktejasree at marvell.com>
Add known vectors for AES-CTR in lookaside IPsec mode.
Signed-off-by: Tejasree Kondoj <ktejasree at marvell.com>
---
 app/test/test_cryptodev_security_ipsec.h | 15 +++++++++++++++
 doc/guides/rel_notes/release_22_03.rst   |  1 +
 2 files changed, 16 insertions(+)
diff --git a/app/test/test_cryptodev_security_ipsec.h b/app/test/test_cryptodev_security_ipsec.h
index 3565a8c..3376d08 100644
--- a/app/test/test_cryptodev_security_ipsec.h
+++ b/app/test/test_cryptodev_security_ipsec.h
@@ -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[] = {
diff --git a/doc/guides/rel_notes/release_22_03.rst b/doc/guides/rel_notes/release_22_03.rst
index f15f738..db5ec20 100644
--- a/doc/guides/rel_notes/release_22_03.rst
+++ b/doc/guides/rel_notes/release_22_03.rst
@@ -70,6 +70,7 @@ New Features
   * Added IPv4 transport mode tests.
   * Added tunnel mode fragment packet tests.
   * Added security stats tests.
+  * Added AES-CTR tests.
 
 
 Removed Items
-- 
2.7.4
    
    
More information about the dev
mailing list