From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 2FF23A0543; Fri, 12 Aug 2022 13:57:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id D567B406A2; Fri, 12 Aug 2022 13:57:30 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id D8E5B40685 for ; Fri, 12 Aug 2022 13:57:28 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.5/8.17.1.5) with ESMTP id 27C8KIx8006958; Fri, 12 Aug 2022 04:57:28 -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=yPUE4zkoKNf3GKRWNDZt1/+s9W2s497jOjiZt7IA0KE=; b=ZuSRG2ZBYqXNwGTUlo9EgDYSi7sWdZ5+doR5rI53V0d0z8jlJkEKmDu7ru+Eq7u79C0d sPW61WQ5vQZfqSZHV4NFwFyMqKh28Lco1LURNUX7JZ7ZkTeSqFHI/AOwGLWQThCKXB0j FCy8PQEXQzbY94LwyGxKYLdmbWP3nCv4L/QZ6Rd6U2b05szt5hL0pW61x6bzq5EXXxh1 nn1WoVe2xjlVOsA0qXgD18/qx8ep7dq3fHgJgJdk1YnHPMqbDHUn5JGf7i4ZoBHuDgrw cBOBLSWk+nPpXBC+FMRNJUP2WLosz8SP4O4q3hUxtSQrnBxucw5ZdIxBPC4w1Kby1HhW vQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3hwk8wgkdv-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Fri, 12 Aug 2022 04:57:28 -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; Fri, 12 Aug 2022 04:57:26 -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; Fri, 12 Aug 2022 04:57:26 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id 990615B6934; Fri, 12 Aug 2022 04:57:23 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Anoob Joseph , Fan Zhang , Brian Dooley , Akhil Goyal , , Gowrishankar Muthukrishnan Subject: [PATCH v1 0/5] FIPS asymmetric validation Date: Fri, 12 Aug 2022 17:27:15 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: QxmFBHdTx5ZTtXxikxxYbX42y_8JGUjM X-Proofpoint-ORIG-GUID: QxmFBHdTx5ZTtXxikxxYbX42y_8JGUjM X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.883,Hydra:6.0.517,FMLib:17.11.122.1 definitions=2022-08-12_08,2022-08-11_01,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 patch series adds support in fips_validation app to perform asymmetric validation. To start with, RSA algorithm is used in the evaluation. For the key value pairs which is multiprecision in arithmetic, openssl library is used. Gowrishankar Muthukrishnan (5): examples/fips_validation: fix parsing test group info examples/fips_validation: add interim parse writeback examples/fips_validation: add function to calculate SHA hash size examples/fips_validation: fix buffer size to parse JSON string examples/fips_validation: add asymmetric validation config/meson.build | 6 + doc/guides/sample_app_ug/fips_validation.rst | 1 + examples/fips_validation/fips_validation.c | 18 +- examples/fips_validation/fips_validation.h | 58 +- .../fips_validation/fips_validation_gcm.c | 8 +- .../fips_validation/fips_validation_rsa.c | 534 ++++++++++++++++++ .../fips_validation/fips_validation_sha.c | 39 +- examples/fips_validation/main.c | 465 ++++++++++++--- examples/fips_validation/meson.build | 6 + 9 files changed, 1025 insertions(+), 110 deletions(-) create mode 100644 examples/fips_validation/fips_validation_rsa.c -- 2.25.1