mbox series

[v2,0/2] crypto/qat: add sm3 and sm4 algorithms

Message ID 20220930094108.6406-1-arkadiuszx.kusztal@intel.com (mailing list archive)
Headers
Series crypto/qat: add sm3 and sm4 algorithms |

Message

Arkadiusz Kusztal Sept. 30, 2022, 9:41 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 Intel QuickAssist Technology PMD.

Depends-on: series-24882 ("cryptodev: add SM3 and SM4 algorithms")

v2:
- Fixed hardcoded number.

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

 doc/guides/cryptodevs/features/qat.ini       |  4 +++
 doc/guides/rel_notes/release_22_11.rst       |  7 ++++++
 drivers/common/qat/qat_adf/icp_qat_hw.h      |  4 ++-
 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         | 37 +++++++++++++++++++++++++---
 6 files changed, 65 insertions(+), 5 deletions(-)
  

Comments

Akhil Goyal Sept. 30, 2022, 5:44 p.m. UTC | #1
> 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 Intel QuickAssist Technology PMD.
> 
> Depends-on: series-24882 ("cryptodev: add SM3 and SM4 algorithms")
> 
> v2:
> - Fixed hardcoded number.
> 
> Arek Kusztal (2):
>   crypto/qat: add SM4 encryption algorithm
>   crypto/qat : add SM3 hash algorithm
> 
>  doc/guides/cryptodevs/features/qat.ini       |  4 +++
>  doc/guides/rel_notes/release_22_11.rst       |  7 ++++++
>  drivers/common/qat/qat_adf/icp_qat_hw.h      |  4 ++-
>  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         | 37 +++++++++++++++++++++++++-
> --
applied to dpdk-next-crypto

Thanks.