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 80747A0548; Wed, 12 Oct 2022 06:05:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 294D840691; Wed, 12 Oct 2022 06:05:41 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id B11174067C for ; Wed, 12 Oct 2022 06:05:39 +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 29BN2DMA029735; Tue, 11 Oct 2022 21:05:39 -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=qHLhG5udcaq/B2jNyULpaqqM5Yt9VMeBfZhQYoCNjOA=; b=MqQ9u6vkpOq3DwDFkk6XRRbpnEJlNBZE7G4UqRsVlYbqw3WvvdnxcvsJlHqug3eJWF6I 39lEqi/jP0oJRktZd2XSMuhwKHcDYjgcdRtbx2yNCkCa6KuCS4Omk2vVHm2oYPkMvA+J 3HENpTnM537DBS5Q47f0pKrRouruRWvuD2T/O/PeEtPh8U/TMvBLMeLJwHYLk7EheZYi qoX8/Xh4+bdk51s/fLaaSeU70YdDqyjt4H5YS03xJEIFSfGKZrkAFoxTQkiQaEZvoShG xM5mY63uHjo+4u25iELRxDlSvAhknvz02Fx7qT6dV1u8F/gstG7AC0i0pXEQANDOVCkq ZQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3k40g52j9x-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 11 Oct 2022 21:05:38 -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 21:05:36 -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 21:05:36 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id D12F55B6930; Tue, 11 Oct 2022 21:05:34 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Anoob Joseph , Brian Dooley , Akhil Goyal , , "Gowrishankar Muthukrishnan" Subject: [v6 0/3] FIPS asymmetric validation Date: Wed, 12 Oct 2022 09:35:29 +0530 Message-ID: <20221012040532.70628-1-gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20221012035617.68714-1-gmuthukrishn@marvell.com> References: <20221012035617.68714-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: lZ-zywC-TIs83eeo7FojqAk63k97GZEM X-Proofpoint-GUID: lZ-zywC-TIs83eeo7FojqAk63k97GZEM 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_01,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: 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 | 550 ++++++++++++--- examples/fips_validation/meson.build | 6 + 9 files changed, 1161 insertions(+), 98 deletions(-) create mode 100644 examples/fips_validation/fips_validation_rsa.c -- 2.25.1