DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [RFC v1 0/1] lib/cryptodev: add support of asymmetric crypto
@ 2018-01-23  9:54 Shally Verma
  2018-01-23  9:54 ` [dpdk-dev] [RFC v1 1/1] " Shally Verma
  0 siblings, 1 reply; 12+ messages in thread
From: Shally Verma @ 2018-01-23  9:54 UTC (permalink / raw)
  To: declan.doherty; +Cc: dev, pathreya, nmurthy, ssahu, agupta

This an RFC API specification to add support for asymmetric crypto
in DPDK cryptodev library. It is derivative of earlier submitted
RFC v2 patch series by Umesh Kartha (umesh.kartha@caviumnetworks.com):
 http://dpdk.org/dev/patchwork/patch/24245/
 http://dpdk.org/dev/patchwork/patch/24246/
 http://dpdk.org/dev/patchwork/patch/24247/

and *inclusive of review comments on RFC v2* with few minor changes
to asymmetric xform structures. Current list of proposed asymmetric
algorithm is as per RFC v2.

This spec primarily addresses last open review comment regarding
queue pair management among different kind of crypto devices.

Since, crypto devices can be of different capabilities, such as:
- can perform symmetric only operations,
- can perform asymmetric only operations,
- can do both but may have different ways to manage queue pairs, such
  as, may have dedicated queues for these or may use all qp to input
  any kind of operation.

Thus, it become key design question how to enable PMDs to do crypto
operations with such different capabilities and queue arrangements.

So, current specification focuses on  defining device capabilities
and PMD operations so as to encompass all kind of anticipated crypto
devices and intend to invite discussions and feedback on same.

Current version only complete with RSA algorithm and associated params.
Others algorithm capability and params will be added subsequently.

Shally Verma (1):
  lib/cryptodev: add support of asymmetric crypto

 lib/librte_cryptodev/Makefile                  |   1 +
 lib/librte_cryptodev/rte_crypto.h              |  39 +-
 lib/librte_cryptodev/rte_crypto_asym.h         | 949 +++++++++++++++++++++++++
 lib/librte_cryptodev/rte_cryptodev.c           | 287 ++++++++
 lib/librte_cryptodev/rte_cryptodev.h           | 358 +++++++++-
 lib/librte_cryptodev/rte_cryptodev_pmd.c       |  19 +-
 lib/librte_cryptodev/rte_cryptodev_pmd.h       | 154 +++-
 lib/librte_cryptodev/rte_cryptodev_version.map |  21 +
 8 files changed, 1811 insertions(+), 17 deletions(-)
 create mode 100644 lib/librte_cryptodev/rte_crypto_asym.h

-- 
1.9.1

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

end of thread, other threads:[~2018-03-16  8:02 UTC | newest]

Thread overview: 12+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-01-23  9:54 [dpdk-dev] [RFC v1 0/1] lib/cryptodev: add support of asymmetric crypto Shally Verma
2018-01-23  9:54 ` [dpdk-dev] [RFC v1 1/1] " Shally Verma
2018-02-01 11:36   ` [dpdk-dev] FW: " Verma, Shally
2018-02-02 15:12     ` Jain, Deepak K
2018-02-09 18:13   ` [dpdk-dev] " Trahe, Fiona
2018-02-15  5:32     ` Verma, Shally
2018-02-15 11:46       ` Trahe, Fiona
2018-02-22  5:50         ` Verma, Shally
2018-02-22 10:38           ` Trahe, Fiona
2018-03-07 12:16     ` Verma, Shally
2018-03-14 12:12       ` Trahe, Fiona
2018-03-16  8:02         ` Verma, Shally

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