From patchwork Fri Apr 8 07:58:11 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Arkadiusz Kusztal X-Patchwork-Id: 109489 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 791C7A00BE; Fri, 8 Apr 2022 09:58:47 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 98BE34069F; Fri, 8 Apr 2022 09:58:19 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id 24D0B4068E for ; Fri, 8 Apr 2022 09:58:17 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1649404698; x=1680940698; h=from:to:cc:subject:date:message-id; bh=1dvlSCsYd/+W1XlHiBEfvTKjBbuCCZAivyoofPYKiWM=; b=X4fQUVhEMNeLhLOyrqKsZm77RY4+lNnq3z4Ng2RurltBZEGYsrD2CX5J 10lmkczw3Sp8K41slPGNcP/FGOdAZhde+h2U8USFaJwjlTOkr9pcaYMgu 1ng+O2PT69HSTTnc4GtUuzJ6Whv3wT9IyJZCudlzQ7yGck9C847kmRuUb Dk4OvOBh9ce0YU+67UFF1tZhFtSK0eZEWCBvU6F620H8t5wERCJS7gYt3 x4+yx/yhf0k1Gkh+cQCV2drw4jl3SNY18bgCpADKZhpFgyG5baGSt4SI0 E4h/RWxKY5y/p12My3LUGXIzeAeqbvMkk7Olp29sc6ypP01WLuXjY30e6 Q==; X-IronPort-AV: E=McAfee;i="6400,9594,10310"; a="243671988" X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="243671988" Received: from orsmga003.jf.intel.com ([10.7.209.27]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 08 Apr 2022 00:58:17 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,244,1643702400"; d="scan'208";a="506475958" Received: from silpixa00400308.ir.intel.com ([10.237.214.95]) by orsmga003.jf.intel.com with ESMTP; 08 Apr 2022 00:58:16 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: gakhil@marvell.com, roy.fan.zhang@intel.com, Arek Kusztal Subject: [PATCH 0/2] crypto/qat: add gen4 ecdsa and ecpm functions Date: Fri, 8 Apr 2022 08:58:11 +0100 Message-Id: <20220408075813.23316-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 commit adds functions for ecdsa and multiplication using named curves. This will speed up calculation of multiplication and signature generation for curves P-256 and P-384. Depends-on: series-22343 ("crypto/qat: refactor asym algorithm macros and logs") Depends-on: patch-109417 ("crypto/qat: enable asymmetric crypto on gen4 device") Arek Kusztal (2): crypto/qat: add gen4 ecdsa functions crypto/qat: add gen4 ecpm functions .../common/qat/qat_adf/icp_qat_fw_mmp_ids.h | 59 ++++++++ drivers/common/qat/qat_adf/qat_pke.h | 40 +++++ drivers/crypto/qat/qat_asym.c | 142 +++++++++++++++++- 3 files changed, 234 insertions(+), 7 deletions(-)