Hi Arek,

Please see inline.

Thanks,
Anoob

> 
> External Email
> 
> ----------------------------------------------------------------------
> SM3 is a cryptographic hash function used in the Chinese National Standard.
> 
> - Added SM3 algorithm
> 
> Signed-off-by: Arek Kusztal <arkadiuszx.kusz...@intel.com>
> ---

[snip]

> a/lib/cryptodev/rte_cryptodev.c b/lib/cryptodev/rte_cryptodev.c index
> 266804f0fe..2b6c7de930 100644
> --- a/lib/cryptodev/rte_cryptodev.c
> +++ b/lib/cryptodev/rte_cryptodev.c
> @@ -135,7 +135,8 @@ rte_crypto_auth_algorithm_strings[] = {
> 
>       [RTE_CRYPTO_AUTH_KASUMI_F9]     = "kasumi-f9",
>       [RTE_CRYPTO_AUTH_SNOW3G_UIA2]   = "snow3g-uia2",
> -     [RTE_CRYPTO_AUTH_ZUC_EIA3]      = "zuc-eia3"
> +     [RTE_CRYPTO_AUTH_ZUC_EIA3]      = "zuc-eia3",
> +     [RTE_CRYPTO_AUTH_SM3]           = "zuc-sm3"

[Anoob] Should the string be "sm3" instead of "zuc-sm3"?

Reply via email to