From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ayuj Verma Subject: [PATCH v3 0/4] adding rsa priv key feature flag Date: Thu, 28 Mar 2019 10:27:52 +0000 Message-ID: <1553768834-19072-1-git-send-email-ayverma@marvell.com> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Cc: "arkadiuszx.kusztal@intel.com" , "Shally Verma" , Sunila Sahu , "Kanaka Durga Kotamarthy" , Arvind Desai , "dev@dpdk.org" , Ayuj Verma To: "akhil.goyal@nxp.com" Return-path: Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by dpdk.org (Postfix) with ESMTP id DDF8C4C88 for ; Thu, 28 Mar 2019 11:27:55 +0100 (CET) Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" Some PMDs can support RSA private key operations using CRT (quintuple) or exponent key only. Thus add a feature flag RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_EXP and RTE_CRYPTODEV_FF_RSA_PRIV_OP_KEY_QT in PMD to reflect which key type is supported to perform rsa private key op. App should query PMD feature flag to check if specific key type is supported and call operation with relevant key type. Changes in v3: - Rebase changes on top of latest unit test application - add feature flag description in documentation Changes in v2: - RSA key type feature flags exponenet and quintuple, in place of making them part of xform capabilities. Ayuj Verma (4): lib/cryptodev: add rsa priv key feature flag crypto/openssl: set rsa private op feature flag app/test: check for key type ff in asym unit test doc: add rsa key type to feature list app/test/test_cryptodev_asym.c | 26 ++++++++++++++++++++++++++ doc/guides/cryptodevs/features/openssl.ini | 2 ++ doc/guides/cryptodevs/overview.rst | 6 ++++++ drivers/crypto/openssl/rte_openssl_pmd.c | 4 +++- lib/librte_cryptodev/rte_cryptodev.c | 4 ++++ lib/librte_cryptodev/rte_cryptodev.h | 4 ++++ 6 files changed, 45 insertions(+), 1 deletion(-) --=20 1.8.3.1