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 99FECA0547; Wed, 12 Oct 2022 08:12:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 4E78440691; Wed, 12 Oct 2022 08:12:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 47F294067C for ; Wed, 12 Oct 2022 08:12:46 +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 29C2AHbW027004; Tue, 11 Oct 2022 23:12:45 -0700 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=5KOXyilr0K9U4e4HDuMkUgR8PZbA0DhlpxTgcH/cIuY=; b=FkO/csOz6GBmXJOivJwq/pyS2Tof7FfAyB5e9uZ0rV7cDFsnqdnKb+zltAOk0jvZQKuG N4er1RH3cqpE24JNq7A9AVwl98qiJxEGDGzeNA9CCqWzzWpTdacVLc1eI0BTyDOsTIrm i5MUoFCd5GgEUB34WJEFlSa83DGkd9yYOPictCJDoWXIjV7Bbl4kZw+hjwC1qSyI6SLL 7xwzMo1Uan05Bsj80A6h/ry62SaF0yJi0tfi5Ymgm93CCCQeugkGY5tkBi/MSiK/bS/g DVjhAMv8IF4WTabrbRaHDrBrbN+KRs2rEUWv+x2YDiejlepkBztHu4YddiCzDb1937bg eg== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3k5mjg0ph2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 11 Oct 2022 23:12:45 -0700 Received: from DC5-EXCH02.marvell.com (10.69.176.39) by DC5-EXCH01.marvell.com (10.69.176.38) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 11 Oct 2022 23:12:43 -0700 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.18 via Frontend Transport; Tue, 11 Oct 2022 23:12:43 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id D8DAB5B692D; Tue, 11 Oct 2022 23:12:41 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Anoob Joseph , Brian Dooley , Akhil Goyal , , "Gowrishankar Muthukrishnan" Subject: [v7 0/3] FIPS asymmetric validation Date: Wed, 12 Oct 2022 11:42:35 +0530 Message-ID: <20221012061238.222059-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221012040532.70628-1-gmuthukrishn@marvell.com> References: <20221012040532.70628-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: kfB50-7py6FnBv_4TcXp2mwOoBBDRWez X-Proofpoint-GUID: kfB50-7py6FnBv_4TcXp2mwOoBBDRWez X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.895,Hydra:6.0.545,FMLib:17.11.122.1 definitions=2022-10-12_03,2022-10-11_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 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. Changes: v7: - fix test to handle app parameter correctly. v6: - checkpatch related fix. v5: - Release notes. v4: - AES GMAC callback fixes. v3: - patches 5,6 and 7 in v2 are rebased and submitted here. v2: - minor fixes in v1 - addition of digest encoding for fips validation - addition of message randomization for fips conformance tests. Gowrishankar Muthukrishnan (3): examples/fips_validation: add asymmetric validation examples/fips_validation: encode digest with hash OID examples/fips_validation: randomize message for conformance test config/meson.build | 6 + doc/guides/rel_notes/release_22_11.rst | 5 + doc/guides/sample_app_ug/fips_validation.rst | 1 + examples/fips_validation/fips_validation.c | 2 + examples/fips_validation/fips_validation.h | 51 +- .../fips_validation/fips_validation_gcm.c | 8 +- .../fips_validation/fips_validation_rsa.c | 630 ++++++++++++++++++ examples/fips_validation/main.c | 556 +++++++++++++--- examples/fips_validation/meson.build | 6 + 9 files changed, 1167 insertions(+), 98 deletions(-) create mode 100644 examples/fips_validation/fips_validation_rsa.c -- 2.25.1