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 2AAD142C26; Sun, 4 Jun 2023 11:42:59 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id CA9CF40EE7; Sun, 4 Jun 2023 11:42:57 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 129E340395 for ; Sun, 4 Jun 2023 11:42:55 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 3548UGL0028549; Sun, 4 Jun 2023 02:42:55 -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=4moJM+smOaJdKIrlfVOfOR4n7Mypc/V4jOXkP6rC+vA=; b=hff+XfLP+jRbHE0N1apTxy9a/BbPU5SlIfmBjQPCnf3rLwHvteppQnYAR2k2r0jkJFuG SefOBZj/9O/wvl6rWaoPeEfN5lMgXxpLY+qBtWSoVK6MJPBSM4IZ/g2IHD8HgxUX4fGR xjq+16wgGDcM6QRMNF2iK9oddlh/T0ZDXTM1Vcr6AZc8XCwzb8pmRvJ1QWWgjVS5zL6C xVYOWFIVSlmDhiBLZXg9SUJ7cYAEaIaX7z7j7uNA1ACVfOaJYPwWPLwdybIkeISwCTK6 5z8MebGxpInE8wnRZ3epLu8/3v/p7uQwnlzzxfLNGBVjlwITzeoYaH83Bz6n7y0bQFsI 4w== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3r051k1vn8-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sun, 04 Jun 2023 02:42:54 -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.48; Sun, 4 Jun 2023 02:42:53 -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.48 via Frontend Transport; Sun, 4 Jun 2023 02:42:52 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.175.191]) by maili.marvell.com (Postfix) with ESMTP id 5C6A03F70A0; Sun, 4 Jun 2023 02:42:50 -0700 (PDT) From: Gowrishankar Muthukrishnan To: CC: , Akhil Goyal , Arkadiusz Kusztal , Fan Zhang , Kai Ji , Gowrishankar Muthukrishnan Subject: [PATCH v3 0/3] SM2 crypto algorithm support Date: Sun, 4 Jun 2023 15:12:43 +0530 Message-ID: X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: hqABjefX0Vor0Ubjx10pJ_p--sCIKPFR X-Proofpoint-ORIG-GUID: hqABjefX0Vor0Ubjx10pJ_p--sCIKPFR X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.254,Aquarius:18.0.957,Hydra:6.0.573,FMLib:17.11.176.26 definitions=2023-06-03_08,2023-06-02_02,2023-05-22_02 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 SM2 crypto algorithm support, along with tests verified using Openssl. v3: - sm2 xform contains hash param and key pair info moved into op. Gowrishankar Muthukrishnan (3): cryptodev: add SM2 asymmetric crypto algorithm test/crypto: add asymmetric SM2 test cases crypto/openssl: add SM2 asymmetric crypto support app/test/test_cryptodev_asym.c | 581 +++++++++++++++++++ app/test/test_cryptodev_sm2_test_vectors.h | 129 ++++ doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/cryptodevs/features/openssl.ini | 1 + doc/guides/cryptodevs/openssl.rst | 1 + doc/guides/rel_notes/release_23_07.rst | 9 + drivers/crypto/openssl/openssl_pmd_private.h | 6 + drivers/crypto/openssl/rte_openssl_pmd.c | 297 ++++++++++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 48 ++ lib/cryptodev/rte_crypto_asym.h | 87 +++ lib/cryptodev/rte_cryptodev.c | 1 + 11 files changed, 1161 insertions(+) create mode 100644 app/test/test_cryptodev_sm2_test_vectors.h -- 2.25.1