> -----Original Message-----
> From: Akhil Goyal <gak...@marvell.com>
> Sent: Wednesday, September 21, 2022 9:37 PM
> To: Kusztal, ArkadiuszX <arkadiuszx.kusz...@intel.com>; dev@dpdk.org
> Cc: Ji, Kai <kai...@intel.com>
> Subject: RE: [EXT] [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms
> 
> 
> 
> > -----Original Message-----
> > From: Arek Kusztal <arkadiuszx.kusz...@intel.com>
> > Sent: Wednesday, August 17, 2022 11:39 AM
> > To: dev@dpdk.org
> > Cc: Akhil Goyal <gak...@marvell.com>; kai...@intel.com; Arek Kusztal
> > <arkadiuszx.kusz...@intel.com>
> > Subject: [EXT] [PATCH 0/4] cryptodev: add SM3 and SM4 algorithms
> >
> > External Email
> >
> > ----------------------------------------------------------------------
> > 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.
> 
> Add these full forms in comments of the enums that are added in patch 1 and 2
I do not think we should, it is just current description of usage state of 
SM3/4.
Especially that we do not put much effort into other algorithms, particularly 
with 3gpp algorithms which are all over the place with naming and comments.
> 
> >
> > 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(-)
> >
> > --
> > 2.13.6

Reply via email to