[PATCH 04/14] test/security: add sha1-hmac to auth list
Anoob Joseph
anoobj at marvell.com
Thu Dec 7 14:02:06 CET 2023
Add SHA1-HMAC with 12B digest to the auth list. This algorithm would be
used in IPsec tests and combined tests would run on devices that support
the capabilities.
Signed-off-by: Anoob Joseph <anoobj at marvell.com>
Signed-off-by: Vidya Sagar Velumuri <vvelumuri at marvell.com>
---
app/test/test_security_proto.h | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/app/test/test_security_proto.h b/app/test/test_security_proto.h
index 596402fff9..d6a00018e3 100644
--- a/app/test/test_security_proto.h
+++ b/app/test/test_security_proto.h
@@ -99,6 +99,12 @@ static const struct crypto_param auth_list[] = {
.key_length = 16,
.digest_length = 12,
},
+ {
+ .type = RTE_CRYPTO_SYM_XFORM_AUTH,
+ .alg.auth = RTE_CRYPTO_AUTH_SHA1_HMAC,
+ .key_length = 20,
+ .digest_length = 12,
+ },
{
.type = RTE_CRYPTO_SYM_XFORM_AUTH,
.alg.auth = RTE_CRYPTO_AUTH_SHA256_HMAC,
--
2.25.1
More information about the dev
mailing list