[v5,00/12] cryptodev: rsa, dh, ecdh changes
Message ID | 20220601090249.86865-1-arkadiuszx.kusztal@intel.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 134D2A0548; Wed, 1 Jun 2022 12:10:48 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 072F040694; Wed, 1 Jun 2022 12:10:48 +0200 (CEST) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id 162954003F for <dev@dpdk.org>; Wed, 1 Jun 2022 12:10:45 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1654078246; x=1685614246; h=from:to:cc:subject:date:message-id; bh=VbjxWmVGMHNqiws7Slf6C7w1oXXRC1kvBtT5UDQ6Nb0=; b=jyXIRqnxC2sNu6H5GrqE4yfJmi43ERB6eSiJ7b2Cvsx2CJCgX0gR3/4i 4p23kPvuKMk8Nqz8rVNI4rQvxx56zKy4VJeb4YxE6C/B2tyunJmjvDRqp qUDfPGwzv0ZDtMzi58SGtq0uJON9t7vseI2jtnhcpNiA87NSo613gsxad Ptwed+F0vEAYfBDZf6PJT/ZszxNMSC8IFBRIvzzBJ5/CdOM/kTmXUvl9z wOP6TQauQ7fgg11lDF5W8+jeRGIUbXILduO8GEyAWhTLtyVchKsQDli+M rcLznlWBE7p3/RZHqETDCSMUCps1GajgTgOiNBJhJVN9S3wc3YXRzoAqu w==; X-IronPort-AV: E=McAfee;i="6400,9594,10364"; a="275616322" X-IronPort-AV: E=Sophos;i="5.91,266,1647327600"; d="scan'208";a="275616322" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 01 Jun 2022 03:10:25 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,266,1647327600"; d="scan'208";a="606185771" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by orsmga008.jf.intel.com with ESMTP; 01 Jun 2022 03:10:23 -0700 From: Arek Kusztal <arkadiuszx.kusztal@intel.com> To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal <arkadiuszx.kusztal@intel.com> Subject: [PATCH v5 00/12] cryptodev: rsa, dh, ecdh changes Date: Wed, 1 Jun 2022 10:02:37 +0100 Message-Id: <20220601090249.86865-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.13.6 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 |
Message
Kusztal, ArkadiuszX
June 1, 2022, 9:02 a.m. UTC
This patchset introduces some of changes discussed on mailing list for 22.07 release in cryptodev asym. Key changes: - It fixes API for RSA (expescially signature paddings) - Adds Elliptic-Curve Diffie-Hellman - Adds Eliiptic-Curve point verification - Adds RSA missing padding fields - Adds asym op flags - Fixes many API comments (like EC curves) v5: - fixed build - added documentation changes - added release notes Arek Kusztal (12): cryptodev: redefine ec group enum cryptodev: separate key exchange operation enum cryptodev: remove comment about using ephemeral key in dsa cryptodev: clarify usage of private key in dh cryptodev: move dh type from xform to dh op cryptodev: add elliptic curve diffie hellman cryptodev: add public key verify option cryptodev: add asym op flags cryptodev: clarify usage of rsa padding hash cryptodev: move RSA padding into separate struct cryptodev: clarify rsa verify with none padding cryptodev: add salt length and optional label app/test/test_cryptodev_asym.c | 63 ++++---- devtools/libabigail.abignore | 3 + doc/guides/cryptodevs/features/default.ini | 1 + doc/guides/prog_guide/cryptodev_lib.rst | 7 +- doc/guides/rel_notes/release_22_07.rst | 2 + drivers/common/cpt/cpt_ucode_asym.h | 4 +- drivers/crypto/cnxk/cnxk_ae.h | 8 +- drivers/crypto/octeontx/otx_cryptodev_ops.c | 4 +- drivers/crypto/openssl/rte_openssl_pmd.c | 17 +-- drivers/crypto/openssl/rte_openssl_pmd_ops.c | 33 +--- drivers/crypto/qat/qat_asym.c | 12 +- lib/cryptodev/rte_crypto_asym.h | 220 ++++++++++++++++++++------- lib/cryptodev/rte_cryptodev.c | 15 +- lib/cryptodev/rte_cryptodev.h | 8 +- lib/cryptodev/version.map | 1 + 15 files changed, 251 insertions(+), 147 deletions(-)