From patchwork Thu Oct 20 15:09:36 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 118826 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 18591A0553; Thu, 20 Oct 2022 18:18:36 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id C148841155; Thu, 20 Oct 2022 18:18:35 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by mails.dpdk.org (Postfix) with ESMTP id 9CC3C410FC for ; Thu, 20 Oct 2022 18:18:34 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666282714; x=1697818714; h=from:to:cc:subject:date:message-id; bh=9WNCY7T4bC1W2Wjuvz510gIAKvh0lremKc7sDyALY1k=; b=XO6sIVNjdcpgPcs1ts5H/VdgPwjDSq2CNn9EbElKGsx2udyUEZMXqpxx 6zMvTqo9N0gB94PIJmQ3HwqI+iqZcPmLHylTTqldqo7+N8YDy/frtybGw dv926G8Q88F4dB1WItHjx439rMMTwc52zKK4O+qP/9CqBEibeP+qLOznL IulI+TzbE/GMl4oomcza0TM0GnQt9HPmd1R+wDRJLwcBLXZtdqANJto0e vYOJIMkVUP+AB9bDHqTB3pTVldm8dSFraTcZ3y+VtaJZHCDFshpwNuHo/ 35wdT3ZXYxMN4fnDTPiHtSW5agoI26q09lXX1imBpqSudwN4e21p1i8uh Q==; X-IronPort-AV: E=McAfee;i="6500,9779,10506"; a="287161628" X-IronPort-AV: E=Sophos;i="5.95,199,1661842800"; d="scan'208";a="287161628" Received: from orsmga002.jf.intel.com ([10.7.209.21]) by fmsmga107.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 20 Oct 2022 09:18:33 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10506"; a="629913370" X-IronPort-AV: E=Sophos;i="5.95,199,1661842800"; d="scan'208";a="629913370" Received: from silpixa00399302.ir.intel.com ([10.237.214.136]) by orsmga002.jf.intel.com with ESMTP; 20 Oct 2022 09:18:31 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, kai.ji@intel.com, Arek Kusztal Subject: [PATCH v2 0/4] crypto/qat: extend asymmetric crypto pmd Date: Thu, 20 Oct 2022 16:09:36 +0100 Message-Id: <20221020150940.62465-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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org This patchset extends Intel QuickAssist Technology asymmetric crypto PMD. Following features were added: - ECDH algorithm handling - EC point verification Depends-on: series-25284 ("crypto/qat: fix uncleared cookies in asym") v2: - resolved compilation issues - improved code structure Arek Kusztal (4): crypto/qat: make immutable parameters constant crypto/qat: improve freeing of asym cookies crypto/qat: add ecdh key exchange algorithm crypto/qat: add ecdh public key verification doc/guides/cryptodevs/features/qat.ini | 7 +- doc/guides/cryptodevs/qat.rst | 1 + doc/guides/rel_notes/release_22_11.rst | 4 + drivers/common/qat/qat_adf/qat_pke.h | 40 ++++- drivers/common/qat/qat_device.c | 2 +- drivers/common/qat/qat_device.h | 4 +- drivers/crypto/qat/qat_asym.c | 317 ++++++++++++++++++++++++--------- drivers/crypto/qat/qat_ec.h | 2 +- 8 files changed, 274 insertions(+), 103 deletions(-)