mbox series

[v3,0/8] cryptodev: support encrypted-digest use-cases

Message ID 20190703111558.11552-1-damianx.nowak@intel.com (mailing list archive)
Headers
Series cryptodev: support encrypted-digest use-cases |

Message

Damian Nowak July 3, 2019, 11:15 a.m. UTC
  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(-)
  

Comments

Fiona Trahe July 3, 2019, 3:28 p.m. UTC | #1
> -----Original Message-----
> From: Nowak, DamianX
> Sent: Wednesday, July 3, 2019 12:16 PM
> To: dev@dpdk.org
> Cc: akhil.goyal@nxp.com; Trahe, Fiona <fiona.trahe@intel.com>; Kusztal, ArkadiuszX
> <arkadiuszx.kusztal@intel.com>; Nowak, DamianX <damianx.nowak@intel.com>
> Subject: [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(-)
> 
> --
> 2.7.4
Series-acked-by: Fiona Trahe <fiona.trahe@intel.com>