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 464BDA00C4; Mon, 30 May 2022 14:23:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 39D8640694; Mon, 30 May 2022 14:23:48 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 16B43400D6 for ; Mon, 30 May 2022 14:23:46 +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 24UCGL3o010101; Mon, 30 May 2022 05:23:46 -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=dmQSkQGi/O8wx1KnGdHAryvuuEdliQelgA9tZHESSVs=; b=JHvDyZ5+SnfszgywSnRjC8UiVKTzVFAR9uXsvtscfJ5WoePXrEGlt0f0NXm+rjqXeyao c8zO60gDtcAXfHxvFLDxnioSQGuOVuW9uJjYuHVNdqxXnQKxA+gIVgo7A99AJ4ngYgjU qDg5sq5S3hwofsJAENQgYwGIel61kc++MIYRMgIN2wv8xzGhDrqbYiqHs//GeD6c0eGh HzAk4u7R7pS2BjOg3HXS3ugTZxp3lUDBEIsHH1N1F8PKhMFjWigW/4f3epba3HQHw5uw BSDS3DWqrUiwS8W2rYLNQ+nZg0xnG0IboJc3XByYBenJDjyKhAnajuryw9C0ePF7gP02 zQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3gbk8n5c6u-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 30 May 2022 05:23:46 -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; Mon, 30 May 2022 05:23:44 -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; Mon, 30 May 2022 05:23:44 -0700 Received: from localhost.localdomain (unknown [10.28.34.38]) by maili.marvell.com (Postfix) with ESMTP id B9C7C3F70C1; Mon, 30 May 2022 05:23:41 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: Fan Zhang , Brian Dooley , , Anoob Joseph , Archana Muniganti , Jerin Jacob , Gowrishankar Muthukrishnan Subject: [v8, 00/10] Add JSON vector set support to fips validation Date: Mon, 30 May 2022 17:53:20 +0530 Message-ID: X-Mailer: git-send-email 2.25.1 In-Reply-To: References: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-ORIG-GUID: 0wE6YFdWjNlHoMZW-F_U3Bq87f1iY8P0 X-Proofpoint-GUID: 0wE6YFdWjNlHoMZW-F_U3Bq87f1iY8P0 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.874,Hydra:6.0.486,FMLib:17.11.64.514 definitions=2022-05-30_04,2022-05-30_01,2022-02-23_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 Adds a very basic introduction to JSON vector sets in the fips validation example application. This patch set will only introduce the AES-GCM test using a JSON request file because the other algorithms need more information than what is given in the new JSON format. v8: * Fixed overlapped places for FIPS 140-2 test vectors. v7: * Fixed individual patches to build correctly. v6: * CI centos platform fix. v5: * AES_CBC support appended in series. Brandon Lo (8): examples/fips_validation: add jansson dependency examples/fips_validation: add json info to header examples/fips_validation: add json parsing examples/fips_validation: allow json file as input examples/fips_validation: add json to gcm test examples/fips_validation: add json to hmac examples/fips_validation: implement json cmac test examples/fips_validation: add parsing for cmac Gowrishankar Muthukrishnan (2): examples/fips_validation: add parsing for aes_cbc doc: add notes about acvp validation support doc/guides/sample_app_ug/fips_validation.rst | 30 +- examples/fips_validation/fips_validation.c | 117 ++++++- examples/fips_validation/fips_validation.h | 64 +++- .../fips_validation/fips_validation_aes.c | 223 +++++++++++++ .../fips_validation/fips_validation_cmac.c | 80 +++++ .../fips_validation/fips_validation_gcm.c | 152 ++++++++- .../fips_validation/fips_validation_hmac.c | 93 ++++++ examples/fips_validation/main.c | 295 ++++++++++++++++-- examples/fips_validation/meson.build | 4 + 9 files changed, 1015 insertions(+), 43 deletions(-) -- 2.25.1