> MSVC issues the warning below:
>
> ../lib/cryptodev/rte_cryptodev.c(623): warning C4334: '<<':
> result of 32-bit shift implicitly converted to 64 bits
> (was 64-bit shift intended?)
>
> The code would be better off by using 64 bit numbers to begin with.
> That eliminates the need for a conversion to 64 bits later.
>
> This patch actually fixes a bug present in previous DPDK versions
> because the last of the hash enums RTE_CRYPTO_AUTH_SM3_HMAC in
> rte_crypto_auth_algorithm has value 32.
>
> Fixes: 6f8ef8b68edb ("cryptodev: add hash algorithms in asymmetric
> capability")
> Cc: [email protected]
>
> Signed-off-by: Andre Muezerie <[email protected]>
> Acked-by: Akhil Goyal <[email protected]>
> Reviewed-by: Morten Brørup <[email protected]>
V2 of this patch was already applied to dpdk-next-crypto.
Now the other patches of the series are also applied.
Thanks.