mbox

[v2,0/2] cryptodev: add SM3 and SM4 algorithms

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

Message

Arkadiusz Kusztal Sept. 28, 2022, 1:17 p.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.

v2:
- Fixed incorrect sm3 string
- Added full name of the algorithm

Arek Kusztal (2):
  cryptodev: add sm4 encryption algorithm
  cryptodev: add sm3 hash algorithm

 doc/guides/cryptodevs/features/default.ini |  4 ++++
 doc/guides/rel_notes/release_22_11.rst     |  9 +++++++++
 lib/cryptodev/rte_crypto_sym.h             | 13 +++++++++++--
 lib/cryptodev/rte_cryptodev.c              |  8 ++++++--
 4 files changed, 30 insertions(+), 4 deletions(-)