From patchwork Tue Feb 28 17:28:53 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 124587 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 B119941D9F; Tue, 28 Feb 2023 18:29:54 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C24F642D1A; Tue, 28 Feb 2023 18:29:26 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 811A342BAC for ; Tue, 28 Feb 2023 18:29:22 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 31SBEiKm025909; Tue, 28 Feb 2023 09:29:21 -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=dDOl2Yuhckws79MWc1Bn67sYhwc9JwVOJ+Y9bhdHOkE=; b=IclPd1J3rHeS8nCnSvdd3/Eb1B1dwaHOHO50qqp5ZfpS75EOGgl8vf6PxYRJgxL0xDom DYn4NXOYfgVLHxRfUTEV7b8j1Qx03sn/TQII49VMdmVAniKm9MlR612ffi7E2mMQe8mr toUsNUsLTUg0bTf/fW3zyYXtnSOPCo6V73fXGgZBAJ0IEwa3sin3E0lRhBsPnQAe1mqV 4H2NtIX10toQwq/sc1ywEGfbKw3m6WcGStAWhpDq4Xxe5JN2ez0fTND1iJL2w+jdZR1g m0hUlYsD4CUXphFarXGHcncWapP9qYyXwaGsEM4Jl18UL7LcdZyBrmYbLDnfBy0kohQn cQ== Received: from dc5-exch02.marvell.com ([199.233.59.182]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3nyjqty0q5-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 28 Feb 2023 09:29:21 -0800 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server (TLS) id 15.0.1497.42; Tue, 28 Feb 2023 09:29:19 -0800 Received: from maili.marvell.com (10.69.176.80) by DC5-EXCH02.marvell.com (10.69.176.39) with Microsoft SMTP Server id 15.0.1497.42 via Frontend Transport; Tue, 28 Feb 2023 09:29:19 -0800 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id A880D5B6971; Tue, 28 Feb 2023 09:29:16 -0800 (PST) From: Gowrishankar Muthukrishnan To: CC: Anoob Joseph , , Akhil Goyal , Brian Dooley , "Gowrishankar Muthukrishnan" Subject: [v2, 07/10] examples/fips_validation: add SHA3 algorithms in ECDSA test Date: Tue, 28 Feb 2023 22:58:53 +0530 Message-ID: <286a6083d7cc85d1395f14cada43b77410afdba6.1677604524.git.gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 X-Proofpoint-ORIG-GUID: nT5jdL87gXrjJU7yEVej9YHbEPLw4npT X-Proofpoint-GUID: nT5jdL87gXrjJU7yEVej9YHbEPLw4npT X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.219,Aquarius:18.0.942,Hydra:6.0.573,FMLib:17.11.170.22 definitions=2023-02-28_15,2023-02-28_03,2023-02-09_01 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 SHA3 algorithms in ECDSA as supported. Signed-off-by: Gowrishankar Muthukrishnan --- examples/fips_validation/fips_validation_ecdsa.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/fips_validation/fips_validation_ecdsa.c b/examples/fips_validation/fips_validation_ecdsa.c index 5c91abfc5a..aef722d147 100644 --- a/examples/fips_validation/fips_validation_ecdsa.c +++ b/examples/fips_validation/fips_validation_ecdsa.c @@ -50,6 +50,10 @@ struct { {RTE_CRYPTO_AUTH_SHA256, "SHA2-256"}, {RTE_CRYPTO_AUTH_SHA384, "SHA2-384"}, {RTE_CRYPTO_AUTH_SHA512, "SHA2-512"}, + {RTE_CRYPTO_AUTH_SHA3_224, "SHA3-224"}, + {RTE_CRYPTO_AUTH_SHA3_256, "SHA3-256"}, + {RTE_CRYPTO_AUTH_SHA3_384, "SHA3-384"}, + {RTE_CRYPTO_AUTH_SHA3_512, "SHA3-512"}, }; struct {