mbox

[v2,0/4] crypto: improve asym session usage

Message ID 20220124150339.280090-1-ciara.power@intel.com (mailing list archive)
Headers

Message

Power, Ciara Jan. 24, 2022, 3:03 p.m. UTC
  This patchset includes improvements for the asymmetric session.
The main change is to the session structure, which is now a single buffer,
rather than having pointers to private data elsewhere.
This session structure is now hidden in an internal header,
so the app will never use it directly.

Some other changes include adding a user data API, and modifying
the return value for the create session function.

---
Documentation will be added in a future version, along with
further changes from v1 feedback (IOVA address), if required.

Ciara Power (4):
  crypto: use single buffer for asymmetric session
  crypto: hide asym session structure
  crypto: add asym session user data API
  crypto: modify return value for asym session create

 app/test-crypto-perf/cperf_ops.c             |  22 +-
 app/test/test_cryptodev_asym.c               | 306 ++++++-------------
 drivers/crypto/cnxk/cn10k_cryptodev_ops.c    |   6 +-
 drivers/crypto/cnxk/cn9k_cryptodev_ops.c     |   6 +-
 drivers/crypto/cnxk/cnxk_cryptodev_ops.c     |  15 +-
 drivers/crypto/cnxk/cnxk_cryptodev_ops.h     |   4 +-
 drivers/crypto/octeontx/otx_cryptodev_ops.c  |  33 +-
 drivers/crypto/openssl/rte_openssl_pmd.c     |   5 +-
 drivers/crypto/openssl/rte_openssl_pmd_ops.c |  27 +-
 drivers/crypto/qat/qat_asym.c                |  57 +---
 drivers/crypto/qat/qat_asym.h                |   4 +-
 lib/cryptodev/cryptodev_pmd.h                |  38 ++-
 lib/cryptodev/cryptodev_trace_points.c       |   3 +
 lib/cryptodev/rte_cryptodev.c                | 216 ++++++++-----
 lib/cryptodev/rte_cryptodev.h                | 114 ++++---
 lib/cryptodev/rte_cryptodev_trace.h          |  18 +-
 lib/cryptodev/version.map                    |   6 +-
 17 files changed, 406 insertions(+), 474 deletions(-)