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 C0964A0487 for ; Wed, 3 Jul 2019 17:38:52 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 7D0DB288C; Wed, 3 Jul 2019 17:38:52 +0200 (CEST) Received: from mga17.intel.com (mga17.intel.com [192.55.52.151]) by dpdk.org (Postfix) with ESMTP id 4E2D1F04 for ; Wed, 3 Jul 2019 17:38:51 +0200 (CEST) X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga001.fm.intel.com ([10.253.24.23]) by fmsmga107.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Jul 2019 08:38:50 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.63,446,1557212400"; d="scan'208";a="184788095" Received: from damiannx-mobl1.ger.corp.intel.com (HELO akusztax-MOBL.ger.corp.intel.com) ([10.104.14.182]) by fmsmga001.fm.intel.com with ESMTP; 03 Jul 2019 08:38:48 -0700 From: Arek Kusztal To: dev@dpdk.org Cc: akhil.goyal@nxp.com, fiona.trahe@intel.com, shally.verma@caviumnetworks.com, Arek Kusztal Date: Wed, 3 Jul 2019 17:37:56 +0200 Message-Id: <20190703153759.1508-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 v2 0/3]Rework API for RSA algorithm in asymmetric crypto 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" Most things from v1 were simplified according to Shally adn Fiona comments. No more rfc details in comments and some things were shortened. There is no more struct for padding too, but only union for PSS and OAEP. Added test case for padding none with encryption (pkcs padding is done in test) ps. I will send signature padding none signature case soon. Major changes comparing to current version: - Cipher field was introduced - Added guide to use none padding - Field for singature verification when padding none selected was added (as there is no Public-Decrypt) - Padding union was created - PKCS1-v1_5 Block type 0 was removed - Fixed all wrong comments (prime numbers etc.) v2: - Field for singature verification when padding none selected was added - Removed details from RFC - Simplified padding struct - Added padding none test case Arek Kusztal (3): cryptodev: rework api of rsa algorithm crypto/openssl: rework openssl rsa implementation test: rework rsa test implementation app/test/test_cryptodev_asym.c | 44 +++++++-- app/test/test_cryptodev_asym_util.h | 52 +++++++++++ drivers/crypto/openssl/rte_openssl_pmd.c | 67 ++++++++------ lib/librte_cryptodev/rte_crypto_asym.h | 150 ++++++++++++++++++++++++------- 4 files changed, 243 insertions(+), 70 deletions(-) -- 2.1.0