DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v5 0/4] crypto: add asym crypto support
@ 2018-07-10 15:33 Shally Verma
  2018-07-10 15:33 ` [dpdk-dev] [PATCH v5 1/4] cryptodev: add asymmetric xform and op definitions Shally Verma
                   ` (4 more replies)
  0 siblings, 5 replies; 8+ messages in thread
From: Shally Verma @ 2018-07-10 15:33 UTC (permalink / raw)
  To: pablo.de.lara.guarch; +Cc: dev, pathreya, nmurthy

This patch series add support for asymmetric crypto in DPDK
librte_cryptodev framework along with documentation updates.

This patch series is divided in to following categories:
1. library patches with asymmetric API, xform and capability
   definitions
2. Programmer Guide updates with asymmetric description

openssl pmd and test app to be added as separate patch series
with 1.1.0 support.

changes in v5:
- remove asym_get/set_session_priv_data APIs
- fix 'make doc' error

changes in v4:
- add asym specific session header get size API
- add NULL check for asym_session_configure/destroy functions,
  for the devices that doesn’t support asymmetric
- remove redundant asym_op_reset and asym_op_attach functions from lib
- fix ordering in version.map
- simplified check_modlen function
- simplified logic in op_pool_create
- corrections in doc
- renaming rte_cryptodev_asym_session_get_private_data to 
  rte_cryptodev_asym_session_get_app_private_data 
- contains only lib changes

changes in v3:
- correct rte_cryptodev_asym_session_create to pass void** to
  rte_mempool_get() and add support for private_data_size flag
- remove redundant xform_type from rte_cryptodev_asymmetric_capability
- added rte_cryptodev_asym_session_set/get_private_data for app to setup
  private data in a session as per latest dpdk-next-crypto spec
- rename few APIs to be consistent with other API names
- update test meson.build to include asym unit test file

changes in v2:
-addresses patch apply failure
raised on asym crypto v1 patch series:
https://dpdk.org/dev/patchwork/patch/36575/
https://dpdk.org/dev/patchwork/patch/36576/
https://dpdk.org/dev/patchwork/patch/36577/

And, unit test and PMD patch series:
https://dpdk.org/dev/patchwork/patch/36928/
https://dpdk.org/dev/patchwork/patch/36929/
https://dpdk.org/dev/patchwork/patch/36930/
-- resolve git apply patch error on patch id 36575
-- resolve git apply patch error on patch id 36929

Changes in v1:
- removal of dedicated sym and asym qp setup,
- remove asym qp count and attach/detach_session apis
- re-org xforms params for deffie-hellman to allow
  public key and optional private key generations
- move elliptic curve changes into another separate patch/patch series

TBD:
- add elliptic curve support
- rename of existing session_configure/clear APIs to
  sym_session_configure/clear/init APIs

It is based on review discussion on RFC v1 asym crypto patch
http://dpdk.org/patch/34308.

RFC v1 patch http://dpdk.org/patch/34308 is further a derivative of
earlier reviewed  RFC v2 patch series:
http://dpdk.org/dev/patchwork/patch/24245/
http://dpdk.org/dev/patchwork/patch/24246/
http://dpdk.org/dev/patchwork/patch/24247/

Shally Verma (2):
  cryptodev: add asymmetric xform and op definitions
  doc: add asym crypto in cryptodev programmer guide

Sunila Sahu (2):
  cryptodev: support asymmetric operations
  cryptodev: add asymmetric capability

 doc/guides/prog_guide/cryptodev_lib.rst        | 290 ++++++++++++++-
 lib/librte_cryptodev/Makefile                  |   1 +
 lib/librte_cryptodev/meson.build               |   3 +-
 lib/librte_cryptodev/rte_crypto.h              |  37 +-
 lib/librte_cryptodev/rte_crypto_asym.h         | 496 +++++++++++++++++++++++++
 lib/librte_cryptodev/rte_cryptodev.c           | 242 +++++++++++-
 lib/librte_cryptodev/rte_cryptodev.h           | 194 +++++++++-
 lib/librte_cryptodev/rte_cryptodev_pmd.h       |  57 ++-
 lib/librte_cryptodev/rte_cryptodev_version.map |  15 +-
 9 files changed, 1315 insertions(+), 20 deletions(-)
 create mode 100644 lib/librte_cryptodev/rte_crypto_asym.h

-- 
2.9.5

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

end of thread, other threads:[~2018-07-11  5:09 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-07-10 15:33 [dpdk-dev] [PATCH v5 0/4] crypto: add asym crypto support Shally Verma
2018-07-10 15:33 ` [dpdk-dev] [PATCH v5 1/4] cryptodev: add asymmetric xform and op definitions Shally Verma
2018-07-10 15:33 ` [dpdk-dev] [PATCH v5 2/4] cryptodev: support asymmetric operations Shally Verma
2018-07-10 15:33 ` [dpdk-dev] [PATCH v5 3/4] cryptodev: add asymmetric capability Shally Verma
2018-07-10 15:33 ` [dpdk-dev] [PATCH v5 4/4] doc: add asym crypto in cryptodev programmer guide Shally Verma
2018-07-10 21:35 ` [dpdk-dev] [PATCH v5 0/4] crypto: add asym crypto support De Lara Guarch, Pablo
2018-07-10 21:41   ` De Lara Guarch, Pablo
2018-07-11  5:09   ` 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).