From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 20712A327F for ; Mon, 21 Oct 2019 20:09:37 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id EFCFF1BEBE; Mon, 21 Oct 2019 20:09:35 +0200 (CEST) Received: from mga07.intel.com (mga07.intel.com [134.134.136.100]) by dpdk.org (Postfix) with ESMTP id 2EC5A1BE98 for ; Mon, 21 Oct 2019 20:09:33 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga105.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2019 11:09:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.67,324,1566889200"; d="scan'208";a="209416958" Received: from akusztax-mobl.ger.corp.intel.com ([10.103.104.118]) by orsmga002.jf.intel.com with ESMTP; 21 Oct 2019 11:09:31 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, fiona.trahe@intel.com, Arek Kusztal Date: Mon, 21 Oct 2019 20:09:14 +0200 Message-Id: <20191021180919.11284-1-arkadiuszx.kusztal@intel.com> X-Mailer: git-send-email 2.19.1.windows.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-dev] [PATCH v3 0/5] Add session-less, RSA, RSA-CRT to QAT X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" This patchset adds session-less option, RSA algorithm, RSA-CRT algorithm to Intel QuickAssist Technology PMD. It also adds session-less test cases for those algorithms. Test case for RSA signature with no padding will be sent in a later patch. [1]crypto/qat: add sessionless implementation to asym pmd - this patch adds sessionless option to QAT, already implemented algorithms MOD EXP and MOD INV can be used with sessionless [2]crypto/qat: add rsa implementation to asym pmd - this patch adds option to use RSA with exponent private key pair (n,d) [3]crypto/qat: add rsa crt implementation to asym pmd - this patch adds CRT option to RSA, to improve performance of decryption and creating of signature v3: - fixes RSA test cases - fixes output of RSA verify Arek Kusztal (5): crypto/qat: add sessionless implementation to asym pmd crypto/qat: add rsa implementation to asym pmd crypto/qat: add rsa crt implementation to asym pmd test/crypto: add sessionless to asymmetric mod exp test/crypto: add rsa tests to qat and openssl with no padding app/test/test_cryptodev_asym.c | 207 +++++-- app/test/test_cryptodev_rsa_test_vectors.h | 226 ++++++++ doc/guides/cryptodevs/features/qat.ini | 4 + doc/guides/cryptodevs/qat.rst | 1 + doc/guides/rel_notes/release_19_11.rst | 8 + .../qat/qat_adf/qat_pke_functionality_arrays.h | 27 + drivers/crypto/qat/qat_asym.c | 633 ++++++++++++++++----- drivers/crypto/qat/qat_asym.h | 29 +- drivers/crypto/qat/qat_asym_capabilities.h | 21 + drivers/crypto/qat/qat_asym_pmd.c | 5 +- 10 files changed, 971 insertions(+), 190 deletions(-) -- 2.1.0