From patchwork Thu Dec 7 13:02:06 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Anoob Joseph X-Patchwork-Id: 134916 X-Patchwork-Delegate: gakhil@marvell.com Return-Path: X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 7C90543699; Thu, 7 Dec 2023 14:03:03 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5670842F06; Thu, 7 Dec 2023 14:02:36 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 2B71342F04 for ; Thu, 7 Dec 2023 14:02:35 +0100 (CET) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3B76M4lc017013; Thu, 7 Dec 2023 05:02:34 -0800 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : in-reply-to : references : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=bTcszR5Lf22peMbEa+GsWvy4RxxvQwBqcCWMXoIfS0o=; b=Ty1w1Rartq2SviZNUeU4l8zS3Y7iwN2QLW3eJUzSVCExnyx5lPgNTYQXExwDDrfBf92L ZttZA25RdkzLRbs4lZrrt0BxwF8JI7eTTFCS7DO4hbNCgM2mILT8qs1p0E/bWVy3joCL bQvaRK9XMaVGClawB7ytOcGxA8rJaFYiUVEzyW9BoEnoBPvpJCWlu308yY/Ox81udsm2 rPDKAxff3ktlWDy+kLTFQXd3Mo4s02Kgz8QkTx9s1XP1x/Z4camNG7VwapPhaerH+a1o UwdtxxU/nVjei3H2sRnKYehEHWN42/ixj3YmT9wtRqwxscbawBTq7GrRnXOBibIKohVd Rw== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3uu8qe98jc-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 07 Dec 2023 05:02:33 -0800 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.48; Thu, 7 Dec 2023 05:02:32 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server id 15.0.1497.48 via Frontend Transport; Thu, 7 Dec 2023 05:02:32 -0800 Received: from BG-LT92004.corp.innovium.com (unknown [10.28.163.189]) by maili.marvell.com (Postfix) with ESMTP id AF39E3F70AE; Thu, 7 Dec 2023 05:02:29 -0800 (PST) From: Anoob Joseph To: Akhil Goyal , Jerin Jacob CC: Harry van Haaren , Hemant Agrawal , Konstantin Ananyev , , Vidya Sagar Velumuri Subject: [PATCH 04/14] test/security: add sha1-hmac to auth list Date: Thu, 7 Dec 2023 18:32:06 +0530 Message-ID: <20231207130216.140-5-anoobj@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20231207130216.140-1-anoobj@marvell.com> References: <20231207130216.140-1-anoobj@marvell.com> MIME-Version: 1.0 X-Proofpoint-GUID: IGYvenLtwgTS5WuopegSmgIqWK4svRRl X-Proofpoint-ORIG-GUID: IGYvenLtwgTS5WuopegSmgIqWK4svRRl X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.272,Aquarius:18.0.997,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-12-07_10,2023-12-07_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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 Signed-off-by: Vidya Sagar Velumuri --- 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,