From patchwork Wed Feb 9 14:00:15 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 107128 Return-Path: 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 DC257A04A5; Wed, 9 Feb 2022 15:00:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id A04F741143; Wed, 9 Feb 2022 15:00:35 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id 23BD240140 for ; Wed, 9 Feb 2022 15:00:33 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1644415234; x=1675951234; h=from:to:cc:subject:date:message-id; bh=afjq1xL5NO/v7CyEyBh/+SIn7iRsLD7zYCFaOo6JSB0=; b=Lmb/Hqhf+4nRrO8vjkXHe2x1GZ4rAJmOMYXTDIHaVMrsm8tldBHOvn4j MLmeNbjJX7b3qi3HsUARzgVOLDdbq/3wtv8fPLjagZXorXkfjx144oVt4 m+EW9fdTJDKvqHcHavPVV/WIkm8N+CEwUuy6ofeN2PAq7xwqa6g0D330r q/hNtfEQMtmupJYuVt1rfpc643Ujo6NwFU1K2O7ld/j0nxfi/hNivDDp0 z0pgq4F/CuWRQxsQtR5M/vsW/+g2MXQJnT1JlzaoBw0x3Dlixc7ITyRTL 7lUEcA/Ju+1ykTV0hqAa0STKp+R2P8U093awKPYLfVPFA2hTfWAWxE9Lw Q==; X-IronPort-AV: E=McAfee;i="6200,9189,10252"; a="229178522" X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="229178522" Received: from orsmga007.jf.intel.com ([10.7.209.58]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 09 Feb 2022 06:00:29 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,355,1635231600"; d="scan'208";a="525995976" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by orsmga007.jf.intel.com with ESMTP; 09 Feb 2022 06:00:25 -0800 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal Subject: [PATCH v2 0/5] crypto/qat: add asymmetric crypto algorithms Date: Wed, 9 Feb 2022 14:00:15 +0000 Message-Id: <20220209140020.19365-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.17.1 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset adds following asymmetric crypto algorithms to Intel QuickAssist Technology driver: - ECDSA - ECPM Code also was refactored to be more readable and easier scalable. v2: - add actual implementation Arek Kusztal (5): crypto/qat: refactor asymmetric crypto functions crypto/qat: add named elliptic curves crypto/qat: add ecdsa algorithm crypto/qat: add ecpm algorithm crypto/qat: refactor asymmetric session doc/guides/cryptodevs/qat.rst | 3 + doc/guides/rel_notes/release_22_03.rst | 10 + drivers/common/qat/qat_adf/qat_pke.h | 275 ++++ .../qat/qat_adf/qat_pke_functionality_arrays.h | 79 - drivers/crypto/qat/dev/qat_asym_pmd_gen1.c | 1 - drivers/crypto/qat/qat_asym.c | 1662 ++++++++++++-------- drivers/crypto/qat/qat_asym.h | 10 +- drivers/crypto/qat/qat_ec.h | 206 +++ 8 files changed, 1544 insertions(+), 702 deletions(-) create mode 100644 drivers/common/qat/qat_adf/qat_pke.h delete mode 100644 drivers/common/qat/qat_adf/qat_pke_functionality_arrays.h create mode 100644 drivers/crypto/qat/qat_ec.h