cryptodev: fix SHA-1 digest enum comment
This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.
Fixes: 1bd407fac8
("cryptodev: extract symmetric operations")
Cc: stable@dpdk.org
Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
Acked-by: Fiona Trahe <fiona.trahe@intel.com>
Acked-by: Anoob Joseph <anoobj@marvell.com>
Acked-by: Akhil Goyal <akhil.goyal@nxp.com>
This commit is contained in:
parent
76fb8fc486
commit
e475fd853a
@ -269,9 +269,12 @@ enum rte_crypto_auth_algorithm {
|
||||
/**< HMAC using MD5 algorithm */
|
||||
|
||||
RTE_CRYPTO_AUTH_SHA1,
|
||||
/**< 128 bit SHA algorithm. */
|
||||
/**< 160 bit SHA algorithm. */
|
||||
RTE_CRYPTO_AUTH_SHA1_HMAC,
|
||||
/**< HMAC using 128 bit SHA algorithm. */
|
||||
/**< HMAC using 160 bit SHA algorithm.
|
||||
* HMAC-SHA-1-96 can be generated by setting
|
||||
* digest_length to 12 bytes in auth/aead xforms.
|
||||
*/
|
||||
RTE_CRYPTO_AUTH_SHA224,
|
||||
/**< 224 bit SHA algorithm. */
|
||||
RTE_CRYPTO_AUTH_SHA224_HMAC,
|
||||
|
Loading…
Reference in New Issue
Block a user