[v3,00/12] cryptodev: rsa, dh, ecdh changes
Message ID | 20220530143159.13672-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 CF5F8A0542; Mon, 30 May 2022 17:39:39 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 70FC440694; Mon, 30 May 2022 17:39:39 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by mails.dpdk.org (Postfix) with ESMTP id B1763400D6 for <dev@dpdk.org>; Mon, 30 May 2022 17:39:37 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653925177; x=1685461177; h=from:to:cc:subject:date:message-id; bh=w26FIEoowpB0QuSi9h+vz5bbcicg9El887g81T5rQbU=; b=U+BkND6wfdcbxyU+NbL9TsDhPUYNkyO7Nd+Ft2LgREbEEFsQfoM3/DEt +674xJb/DEZa9xfEVltwsxDWXKRqOmErWp2JnL3SEG61C+q8HsPkRrjTx AKEYIvKpFJ2PSay9xnxnd0Qhms0kMojMeFU72p+x1zO+GHDMIMH6JDuCo mD5Y2uvPhzRvsklvAuxe+B45QiZ1vFVHMQypuFP6s/l9ZP7t5EjU/ISsJ YaHkA7d+trEhR88uDy947o275yjW6cvUguNNvoDHV92Mjb/gEX+nLi1Pd UTEWz95n8Tk5qm25ZqNksa7JhV+j2HQQqyEcffEhWZ3DMSs8laSZWMmtj w==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="338069397" X-IronPort-AV: E=Sophos;i="5.91,263,1647327600"; d="scan'208";a="338069397" Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga105.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 08:39:36 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,263,1647327600"; d="scan'208";a="751677769" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by orsmga005.jf.intel.com with ESMTP; 30 May 2022 08:39:35 -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 v3 00/12] cryptodev: rsa, dh, ecdh changes Date: Mon, 30 May 2022 15:31:47 +0100 Message-Id: <20220530143159.13672-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
May 30, 2022, 2:31 p.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) v3: - removed 2 commits 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 ++++---- 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 | 217 ++++++++++++++++++++------- lib/cryptodev/rte_cryptodev.c | 15 +- lib/cryptodev/rte_cryptodev.h | 4 +- 10 files changed, 233 insertions(+), 144 deletions(-)