Message ID | cover.1696859505.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 EA9E94233C; Mon, 9 Oct 2023 15:55:05 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 771D940282; Mon, 9 Oct 2023 15:55:05 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 5BA834026B for <dev@dpdk.org>; Mon, 9 Oct 2023 15:55:03 +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 399DLlle005769; Mon, 9 Oct 2023 06:55:02 -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=eNMf746UKPk9AsXOghxNRtP7l+oWT9HipWxDto+yynA=; b=CYZNlskHqIO5c2vWEc41/oA9Q09LJnn9qlSfMWk4n1DrpsIkI6JmUqr1acwRBA7hGua1 W3VHPmoVR09OWSP+zP5CxxJ6/4PHDTVwaFggBsik7bO90qN8Gxw0ro5yvzjtRxBSvzfk sqQO+o+VEZCvyKSZPy/dhRjhaTjX2tr4ac8cKKzEHFN416LN2W8Datyj7SykxKzrE6XW 5f1KLzc1U+zdGvAXmFz7Rbgghwj/DoE9rb7vmb//CT3cHr8qcz3hstMCbmzYQ0IOfQMA U8r8812TcbAPfF9mhemyg6Lgfnp7McOt/PGbeVYyF/nQXe//By1mUg58yKw0OePD1mKA RQ== Received: from dc5-exch01.marvell.com ([199.233.59.181]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3tkh7ccd7e-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 09 Oct 2023 06:55:02 -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; Mon, 9 Oct 2023 06:55:00 -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; Mon, 9 Oct 2023 06:55:00 -0700 Received: from BG-LT91401.marvell.com (BG-LT91401.marvell.com [10.28.168.34]) by maili.marvell.com (Postfix) with ESMTP id D86923F70A3; Mon, 9 Oct 2023 06:54:57 -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>, Arkadiusz Kusztal <arkadiuszx.kusztal@intel.com>, Ciara Power <ciara.power@intel.com>, Gowrishankar Muthukrishnan <gmuthukrishn@marvell.com> Subject: [PATCH v4 0/7] cryptodev: support digest message in SM2 Date: Mon, 9 Oct 2023 19:24:47 +0530 Message-ID: <cover.1696859505.git.gmuthukrishn@marvell.com> X-Mailer: git-send-email 2.21.0 In-Reply-To: <20230928170920.1454-1-gmuthukrishn@marvell.com> References: <20230928170920.1454-1-gmuthukrishn@marvell.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain X-Proofpoint-GUID: daIGamz31abm4RFlx5zvXRXljw8aTCJ_ X-Proofpoint-ORIG-GUID: daIGamz31abm4RFlx5zvXRXljw8aTCJ_ X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.267,Aquarius:18.0.980,Hydra:6.0.619,FMLib:17.11.176.26 definitions=2023-10-09_11,2023-10-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
Oct. 9, 2023, 1:54 p.m. UTC
This patch series fixes SM2 algorithm implementation to support digest message as input along with plain message as today. v4: - code rebase on next-crypto Gowrishankar Muthukrishnan (7): crypto/openssl: include SM2 in asymmetric capabilities cryptodev: add hash algorithms in asymmetric capability cryptodev: use generic EC xform params for SM2 cryptodev: set private and public keys in EC session cryptodev: add RNG capability in EC based xform crypto/cnxk: add SM2 support app/test: check asymmetric capabilities in SM2 test app/test/test_cryptodev_asym.c | 197 ++++++++----- 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 | 2 +- drivers/common/cnxk/roc_ae.c | 32 ++- drivers/common/cnxk/roc_ae.h | 21 +- drivers/common/cnxk/roc_ae_fpm_tables.c | 190 +++++++++++++ drivers/common/cpt/cpt_mcode_defines.h | 18 ++ drivers/common/cpt/cpt_ucode_asym.h | 22 +- drivers/crypto/cnxk/cnxk_ae.h | 269 +++++++++++++++++- drivers/crypto/cnxk/cnxk_cryptodev.h | 2 +- .../crypto/cnxk/cnxk_cryptodev_capabilities.c | 17 ++ drivers/crypto/openssl/rte_openssl_pmd.c | 53 +--- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 55 +++- drivers/crypto/qat/qat_asym.c | 6 +- examples/fips_validation/main.c | 14 +- lib/cryptodev/cryptodev_trace.h | 9 + lib/cryptodev/cryptodev_trace_points.c | 3 + lib/cryptodev/rte_crypto_asym.h | 33 +-- lib/cryptodev/rte_cryptodev.c | 16 ++ lib/cryptodev/rte_cryptodev.h | 25 ++ lib/cryptodev/version.map | 1 + 23 files changed, 828 insertions(+), 196 deletions(-)
Comments
> Subject: [PATCH v4 0/7] cryptodev: support digest message in SM2 > > This patch series fixes SM2 algorithm implementation to > support digest message as input along with plain message > as today. > > v4: > - code rebase on next-crypto > Added release notes for API changes introduced in 4/7 patch. Updated some of the patch descriptions/title and release notes text. Applied to dpdk-next-crypto Thanks.