From patchwork Tue Sep 27 07:30:41 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Gowrishankar Muthukrishnan X-Patchwork-Id: 116945 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 70D89A00C2; Tue, 27 Sep 2022 09:30:52 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1FC51410D0; Tue, 27 Sep 2022 09:30:52 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id AC3E540696 for ; Tue, 27 Sep 2022 09:30:50 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 28R4V92D032060; Tue, 27 Sep 2022 00:30:49 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : mime-version : content-transfer-encoding : content-type; s=pfpt0220; bh=SGYUq4szcS2NmL4Euvgm1s7EIRBEYMz4yEPeclksb9Q=; b=Y+Rww932tf/iQpxNl+XzKqcaqEGG82q7G0dgUsP7Ayi25pE/NQa3PHvF4CeLw9yXgVz2 8NMtPzLub7mE5oGZOdZ0QXqUiWUkf5jJrA0Vd33IuBvdb36lNvaHaDT+J18o0YtJijML oTg4B8rAansupmlDWQARpGMSx+xh34Wp4iMeVSyEgV7urAfIQ5WG9/4909aI3f07Vwkp zgc2AlZp+oYUeGlCaQPTRIHZBxDEuqBVbv85tFOMRpQkVnbdeka4x0fJf8t1erS9F6mG chblB07r7tyJfD6bmH0H2xTi2+moDESHoEJGM1/pXqrM84mS92uIz0zqvm6ppLqH2HZi tQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3jucsq36t0-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 27 Sep 2022 00:30:49 -0700 Received: from DC5-EXCH01.marvell.com (10.69.176.38) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 27 Sep 2022 00:30:48 -0700 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.2 via Frontend Transport; Tue, 27 Sep 2022 00:30:48 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id D49333F7041; Tue, 27 Sep 2022 00:30:45 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Anoob Joseph , Fan Zhang , Brian Dooley , Akhil Goyal , , Gowrishankar Muthukrishnan Subject: [v1 0/2] examples/fips_validation: add ECDSA tests Date: Tue, 27 Sep 2022 13:00:41 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 X-Proofpoint-GUID: x5cgZL-j8tgrfBVozdoOYGxRH-hsYZex X-Proofpoint-ORIG-GUID: x5cgZL-j8tgrfBVozdoOYGxRH-hsYZex X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.528,FMLib:17.11.122.1 definitions=2022-09-27_02,2022-09-22_02,2022-06-22_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 This series adds ECDSA validation in fips_validation app. Depends-on: series-24851 ("FIPS asymmetric validation") Gowrishankar Muthukrishnan (2): cryptodev: add enumeration in EC xform for FPM examples/fips_validation: add ECDSA validation doc/guides/sample_app_ug/fips_validation.rst | 1 + examples/fips_validation/fips_validation.c | 2 + examples/fips_validation/fips_validation.h | 27 ++ .../fips_validation/fips_validation_ecdsa.c | 431 ++++++++++++++++++ examples/fips_validation/main.c | 210 ++++++++- examples/fips_validation/meson.build | 1 + lib/cryptodev/rte_crypto_asym.h | 3 + 7 files changed, 672 insertions(+), 3 deletions(-) create mode 100644 examples/fips_validation/fips_validation_ecdsa.c