DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag
@ 2019-03-28 10:27 Ayuj Verma
  2019-03-28 10:27 ` Ayuj Verma
                   ` (6 more replies)
  0 siblings, 7 replies; 20+ messages in thread
From: Ayuj Verma @ 2019-03-28 10:27 UTC (permalink / raw)
  To: akhil.goyal
  Cc: arkadiuszx.kusztal, Shally Verma, Sunila Sahu,
	Kanaka Durga Kotamarthy, Arvind Desai, dev, Ayuj Verma

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(-)

-- 
1.8.3.1

^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2019-04-03 10:10 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-03-28 10:27 [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag Ayuj Verma
2019-03-28 10:27 ` Ayuj Verma
2019-03-28 10:28 ` [dpdk-dev] [PATCH v3 1/4] lib/cryptodev: add " Ayuj Verma
2019-03-28 10:28   ` Ayuj Verma
2019-03-28 10:28 ` [dpdk-dev] [PATCH v3 2/4] crypto/openssl: set rsa private op " Ayuj Verma
2019-03-28 10:28   ` Ayuj Verma
2019-03-28 10:28 ` [dpdk-dev] [PATCH v3 3/4] app/test: check for key type ff in asym unit test Ayuj Verma
2019-03-28 10:28   ` Ayuj Verma
2019-03-28 10:28 ` [dpdk-dev] [PATCH v3 4/4] doc: add rsa key type to feature list Ayuj Verma
2019-03-28 10:28   ` Ayuj Verma
2019-03-29 15:01 ` [dpdk-dev] [PATCH v3 0/4] adding rsa priv key feature flag Akhil Goyal
2019-03-29 15:01   ` Akhil Goyal
2019-03-29 15:17 ` Akhil Goyal
2019-03-29 15:17   ` Akhil Goyal
2019-03-29 15:20   ` Ayuj Verma
2019-03-29 15:20     ` Ayuj Verma
2019-04-03  8:47   ` Akhil Goyal
2019-04-03  8:47     ` Akhil Goyal
2019-04-03 10:09     ` Ayuj Verma
2019-04-03 10:09       ` Ayuj Verma

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).