Message ID | cover.1691658879.git.gmuthukrishn@marvell.com (mailing list archive) |
---|---|
Headers |
Return-Path: <dev-bounces@dpdk.org> X-Original-To: patchwork@inbox.dpdk.org Delivered-To: patchwork@inbox.dpdk.org Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 26FE34301B; Thu, 10 Aug 2023 11:35:39 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id B30BA40DFB; Thu, 10 Aug 2023 11:35:38 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id 8189040DD8 for <dev@dpdk.org>; Thu, 10 Aug 2023 11:35:37 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.17.1.19/8.17.1.19) with ESMTP id 37A57PVl014700; Thu, 10 Aug 2023 02:35:36 -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=Sb+krwMS+DlC6noIpnIAz35GEXnL2qRFEmA921tsz8g=; b=Ew2Aw/NZc1S8PAh7Dr8KKFn55TMBuci48hfj1zhYZzzE9lMCtSK8PiEfWKm3HXGVMFu2 k/3NrDDgIyn9n9vZe4rFPD29aGZN0/ceoIdDYrJqZwDhyc1ESYGHyDoL5miMTEePgotg mlF8n5So59/VYszNpOUKaMdO7agd5boHnPGVzewesFDcS64Ietjtpc1T8i+kZiD+2VNu yqAZk8lYYAomCnO1SC+Q84XWRT4bll3sTntSjQOHTsIZ/Tc70rdXhngsROjB+cnpCuur 7WoIbXvb1NowYfcAB04Hgpvhu8tWVzGmjM/D8LI/dP7Ft8Y3mArrg3+fz2bKHNwPfzzo OQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0a-0016f401.pphosted.com (PPS) with ESMTPS id 3sc57snqr2-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Thu, 10 Aug 2023 02:35:36 -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.48; Thu, 10 Aug 2023 02:35:34 -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.48 via Frontend Transport; Thu, 10 Aug 2023 02:35:34 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id 69EF43F70AF; Thu, 10 Aug 2023 02:35:32 -0700 (PDT) From: Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> To: <dev@dpdk.org> CC: <anoobj@marvell.com>, Akhil Goyal <gakhil@marvell.com>, Fan Zhang <fanzhang.oss@gmail.com>, Kai Ji <kai.ji@intel.com>, "Gowrishankar Muthukrishnan" <gmuthukrishn@marvell.com> Subject: [v1 0/6] cryptodev: support digest message in SM2 Date: Thu, 10 Aug 2023 15:05:22 +0530 Message-ID: <cover.1691658879.git.gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.21.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: rzX_uwH0LBq3Cru3SzCgQzdGJ3bs33dq X-Proofpoint-ORIG-GUID: rzX_uwH0LBq3Cru3SzCgQzdGJ3bs33dq X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.957,Hydra:6.0.591,FMLib:17.11.176.26 definitions=2023-08-10_09,2023-08-09_01,2023-05-22_02 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions <dev.dpdk.org> List-Unsubscribe: <https://mails.dpdk.org/options/dev>, <mailto:dev-request@dpdk.org?subject=unsubscribe> List-Archive: <http://mails.dpdk.org/archives/dev/> List-Post: <mailto:dev@dpdk.org> List-Help: <mailto:dev-request@dpdk.org?subject=help> List-Subscribe: <https://mails.dpdk.org/listinfo/dev>, <mailto:dev-request@dpdk.org?subject=subscribe> Errors-To: dev-bounces@dpdk.org |
Series |
cryptodev: support digest message in SM2
|
|
Message
Gowrishankar Muthukrishnan
Aug. 10, 2023, 9:35 a.m. UTC
This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today. Gowrishankar Muthukrishnan (6): crypto/openssl: include SM2 in asymmetric capabilities cryptodev: add RNG capability in EC based xform cryptodev: add hash support in asymmetric capability cryptodev: use generic EC xform params for SM2 app/test: check asymmetric capabilities in SM2 test crypto/cnxk: add SM2 support app/test/test_cryptodev_asym.c | 131 ++++++---- app/test/test_cryptodev_sm2_test_vectors.h | 32 ++- doc/guides/cryptodevs/features/cn10k.ini | 1 + doc/guides/rel_notes/release_23_11.rst | 6 + drivers/common/cnxk/hw/cpt.h | 3 +- drivers/common/cnxk/roc_ae.c | 32 ++- drivers/common/cnxk/roc_ae.h | 3 +- drivers/common/cnxk/roc_ae_fpm_tables.c | 190 ++++++++++++++ drivers/crypto/cnxk/cnxk_ae.h | 232 +++++++++++++++++- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 17 ++ drivers/crypto/openssl/rte_openssl_pmd_ops.c | 19 +- lib/cryptodev/cryptodev_trace.h | 9 + lib/cryptodev/cryptodev_trace_points.c | 3 + lib/cryptodev/rte_crypto_asym.h | 15 +- lib/cryptodev/rte_cryptodev.c | 16 ++ lib/cryptodev/rte_cryptodev.h | 25 ++ lib/cryptodev/version.map | 1 + 18 files changed, 666 insertions(+), 71 deletions(-)
Comments
Hi, Could these patches get some review ? Thanks, Gowrishankar > This patch series fixes SM2 algorithm implementation to support digest > message as input along with plain message as today. > > Gowrishankar Muthukrishnan (6): > crypto/openssl: include SM2 in asymmetric capabilities > cryptodev: add RNG capability in EC based xform > cryptodev: add hash support in asymmetric capability > cryptodev: use generic EC xform params for SM2 > app/test: check asymmetric capabilities in SM2 test > crypto/cnxk: add SM2 support > > app/test/test_cryptodev_asym.c | 131 ++++++---- > app/test/test_cryptodev_sm2_test_vectors.h | 32 ++- > doc/guides/cryptodevs/features/cn10k.ini | 1 + > doc/guides/rel_notes/release_23_11.rst | 6 + > drivers/common/cnxk/hw/cpt.h | 3 +- > drivers/common/cnxk/roc_ae.c | 32 ++- > drivers/common/cnxk/roc_ae.h | 3 +- > drivers/common/cnxk/roc_ae_fpm_tables.c | 190 ++++++++++++++ > drivers/crypto/cnxk/cnxk_ae.h | 232 +++++++++++++++++- > drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- > .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 17 ++ > drivers/crypto/openssl/rte_openssl_pmd_ops.c | 19 +- > lib/cryptodev/cryptodev_trace.h | 9 + > lib/cryptodev/cryptodev_trace_points.c | 3 + > lib/cryptodev/rte_crypto_asym.h | 15 +- > lib/cryptodev/rte_cryptodev.c | 16 ++ > lib/cryptodev/rte_cryptodev.h | 25 ++ > lib/cryptodev/version.map | 1 + > 18 files changed, 666 insertions(+), 71 deletions(-) > > -- > 2.25.1