Skip to content

cryptodev: support encrypted-digest use-cases

Damian Nowak dpdk-dev 2 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest8 patches 4 repliesIn review
  2. v210 patches 5 repliesSuperseded

Changes in v3 from the cover letter

- reorder and squash patches
- change semantics in comments and documentation
- add zuc test cases
- add support for partial digest encryption
- update support for sgl buffers

Patches in v3 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/8cryptodev: document usage of digest-appended operationslib/librte_cryptodev/rte_crypto_sym.h+44 -01 reply
2/8cryptodev: add digest encrypted feature flagdoc/guides/cryptodevs/features/default.ini doc/guides/cryptodevs/overview.rst doc/guides/rel_notes/release_19_08.rst +2 more+11 -02 replies
3/8crypto/qat: extend support for digest-encrypted auth-cipherdoc/guides/cryptodevs/features/qat.ini doc/guides/rel_notes/release_19_08.rst drivers/crypto/qat/qat_sym.c +1 more+57 -150 replies
4/8test/crypto: add snow3g test cases for auth-cipherapp/test/test_cryptodev.c app/test/test_cryptodev_snow3g_test_vectors.h+414 -580 replies
5/8test/crypto: add zuc test cases for auth-cipherapp/test/test_cryptodev.c app/test/test_cryptodev_zuc_test_vectors.h+293 -00 replies
6/8test/crypto: add kasumi test cases for auth-cipherapp/test/test_cryptodev.c app/test/test_cryptodev_kasumi_test_vectors.h+269 -500 replies
7/8test/crypto: add sgl test cases for ip and oopapp/test/test_cryptodev.c app/test/test_cryptodev_snow3g_test_vectors.h+830 -200 replies
8/8test/crypto: return correct value if feature not supportedapp/test/test_cryptodev.c+4 -40 replies

Reviews trailers per patch

2 of 8 patches have a Reviewed-by or Acked-by.

PatchFiona TrahePablo de Lara
SeriesSeries-acked-by
1/8A-b
2/8A-b
3/8
4/8
5/8
6/8
7/8
8/8

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes.

Read the v3 thread

Cover letter [dpdk-dev] [PATCH v3 0/8] cryptodev: support encrypted-digest use-cases

This patchset adds support for digest appended and encrypted auth-cipher operations on QAT, API clarification and extension with dedicated feature flag and a set of tests for KASUMI and SNOW3G in-place, out-of-place and SGL using operations.

---
v3:
- reorder and squash patches
- change semantics in comments and documentation
- add zuc test cases
- add support for partial digest encryption
- update support for sgl buffers

v2:
- extend support for partial digest encryption
- add release notes
- document limitations on QAT
- reorder patches
- update patchset name

Damian Nowak (8):
cryptodev: document usage of digest-appended operations
cryptodev: add digest encrypted feature flag crypto/qat: extend support for digest-encrypted auth-cipher test/crypto: add snow3g test cases for auth-cipher test/crypto: add zuc test cases for auth-cipher test/crypto: add kasumi test cases for auth-cipher test/crypto: add sgl test cases for ip and oop test/crypto: return correct value if feature not supported

 app/test/test_cryptodev.c                     | 1573 ++++++++++++++++++++++---
 app/test/test_cryptodev_kasumi_test_vectors.h |   98 +-
 app/test/test_cryptodev_snow3g_test_vectors.h |  234 +++-
 app/test/test_cryptodev_zuc_test_vectors.h    |   89 ++
 doc/guides/cryptodevs/features/default.ini    |    1 +
 doc/guides/cryptodevs/features/qat.ini        |    1 +
 doc/guides/cryptodevs/overview.rst            |    3 +
 doc/guides/rel_notes/release_19_08.rst        |    8 +
 drivers/crypto/qat/qat_sym.c                  |   63 +-
 drivers/crypto/qat/qat_sym_pmd.c              |    3 +-
 lib/librte_cryptodev/rte_crypto_sym.h         |   44 +
 lib/librte_cryptodev/rte_cryptodev.c          |    2 +
 lib/librte_cryptodev/rte_cryptodev.h          |    2 +
 13 files changed, 1948 insertions(+), 173 deletions(-)
Signature · 1 line
2.7.4