mbox

[0/4] cryptodev: add SM3 and SM4 algorithms

Message ID 20220817060856.78582-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers

Message

Kusztal, ArkadiuszX Aug. 17, 2022, 6:08 a.m. UTC
ShangMi 4 (SM4) is a block cipher used in the Chinese National Standard for
Wireless LAN WAPI and also used with Transport Layer Security.
ShangMi 3 (SM3) is a cryptographic hash function used in the
Chinese National Standard.

This patcheset adds both to the Cryptodev.

Arek Kusztal (4):
  cryptodev: add SM4 encryption algorithm
  cryptodev: add SM3 hash algorithm
  crypto/qat: add SM4 encryption algorithm
  crypto/qat : add SM3 hash algorithm

 doc/guides/cryptodevs/features/default.ini   |  4 ++++
 doc/guides/cryptodevs/features/qat.ini       |  4 ++++
 doc/guides/rel_notes/release_22_11.rst       | 16 ++++++++++++++
 drivers/common/qat/qat_adf/icp_qat_hw.h      |  2 +-
 drivers/crypto/qat/dev/qat_crypto_pmd_gen3.c |  9 ++++++++
 drivers/crypto/qat/dev/qat_crypto_pmd_gen4.c |  9 ++++++++
 drivers/crypto/qat/qat_sym_session.c         | 32 +++++++++++++++++++++++++++-
 lib/cryptodev/rte_crypto_sym.h               | 13 +++++++++--
 lib/cryptodev/rte_cryptodev.c                |  8 +++++--
 9 files changed, 91 insertions(+), 6 deletions(-)