[v4,00/12] cryptodev: rsa, dh, ecdh changes
Message ID | 20220531040439.15862-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 7C405A0548; Tue, 31 May 2022 07:12:34 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 2B688400EF; Tue, 31 May 2022 07:12:34 +0200 (CEST) Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by mails.dpdk.org (Postfix) with ESMTP id 58987400D6 for <dev@dpdk.org>; Tue, 31 May 2022 07:12:32 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1653973952; x=1685509952; h=from:to:cc:subject:date:message-id; bh=HfwN9Fn+RlMb7Ja1gcZUoE0ipRn2+Ns40R3+KnsM4/0=; b=BP9k2neH224F57mnAU5a2gUw+GrgjSQGwWJfAQjGqIyDmKHuWf4oZdEB oSeLnPAJN0ZUvJ6PI3JXoug0w1CAqOQ7JczZNlerxXEkGjGX1+i47j+mR VnHG1Y+0gkulsMXZHKr9oCrp33nbDuowUnd9Ib3LlqfksT7143zZdBy7Z W5fk5aw8wjceKIN6Za+vRnVt4f+amkbkHup22a/XBbMsRvcN3WH0xPCUk azDr8nW/RREAcVRmvqqKBc1ftBbRlyDbeyhrBxcolaQk/aQLZ8jGQO8Kc VCmlt2toYzJhXH4//vtV9ZFZlVwOnrBF9u0a/ajwZu1guSE1weRmbs5LJ g==; X-IronPort-AV: E=McAfee;i="6400,9594,10363"; a="275145262" X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="275145262" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 May 2022 22:12:28 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.91,264,1647327600"; d="scan'208";a="576220226" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by orsmga007.jf.intel.com with ESMTP; 30 May 2022 22:12:27 -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 v4 00/12] cryptodev: rsa, dh, ecdh changes Date: Tue, 31 May 2022 05:04:27 +0100 Message-Id: <20220531040439.15862-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 31, 2022, 4:04 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) v4: - fixed shared build problem - added ABI ignore entry for xform 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 + 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 +- lib/cryptodev/version.map | 1 + 12 files changed, 237 insertions(+), 144 deletions(-)