[v3,0/5] crypto/qat: add asymmetric crypto algorithms
Message ID | 20220221104831.30149-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 DB46AA034E; Mon, 21 Feb 2022 11:48:39 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AC3384068C; Mon, 21 Feb 2022 11:48:39 +0100 (CET) Received: from mga14.intel.com (mga14.intel.com [192.55.52.115]) by mails.dpdk.org (Postfix) with ESMTP id A99954013F for <dev@dpdk.org>; Mon, 21 Feb 2022 11:48:38 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1645440518; x=1676976518; h=from:to:cc:subject:date:message-id; bh=pkazFfwftCZ7Dj97KiQJOm0LoJmYYl+W7Ihvt6ZLulE=; b=GlDrwBsz+jrtPgg3eWb2d7J8rNxITHx4Mha0C/3kEJ6cAuLc4LwPBs0C bckfvIIht10CxrRNJGCQRVdC92De/2LR9Zm7f+rOdKT63ZCvbFUmGwvl7 DNvrQOaR/uXHBQzkoT+1KeCAdvVLxrBEJNuEZrhuDxV1AeW8+ppzmpuU4 i7xK/c3fokX9Gnoy+Nskb16eQgA+wvBJ9LASB6XHqZ4nMXaqaS7L5/fC5 eGkS+nj5KOMNdPKQH6/ItLuSy3kyYOU2xTJtbaQMJuwRAaq+yUqGKYER3 fTJ33nqDowbrPSLQjYs9FCMXGwB3xA5q0EzgVZyoOtOkrWqgJxu0vkXzF A==; X-IronPort-AV: E=McAfee;i="6200,9189,10264"; a="251668091" X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="251668091" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 21 Feb 2022 02:48:37 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.88,385,1635231600"; d="scan'208";a="638517102" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by orsmga004.jf.intel.com with ESMTP; 21 Feb 2022 02:48:36 -0800 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 0/5] crypto/qat: add asymmetric crypto algorithms Date: Mon, 21 Feb 2022 10:48:26 +0000 Message-Id: <20220221104831.30149-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 <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
Feb. 21, 2022, 10:48 a.m. UTC
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 v3: - rebase against newest changes Depends-on: patch-107793 ("crypto: fix misspelled key in qt format") Depends-on: series-21741 ("drivers/qat: QAT symmetric crypto datapatch rework") 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 | 1673 +++++++++++++------- drivers/crypto/qat/qat_asym.h | 24 +- drivers/crypto/qat/qat_ec.h | 206 +++ 8 files changed, 1563 insertions(+), 708 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