DPDK patches and discussions
 help / color / mirror / Atom feed
* [dpdk-dev] [PATCH v2 0/1] cryptodev: fix SHA-1 digest enum comment
@ 2020-05-19 12:05 Adam Dybkowski
  2020-05-19 12:05 ` [dpdk-dev] [PATCH v2 1/1] " Adam Dybkowski
  0 siblings, 1 reply; 2+ messages in thread
From: Adam Dybkowski @ 2020-05-19 12:05 UTC (permalink / raw)
  To: dev, fiona.trahe, akhil.goyal; +Cc: Adam Dybkowski

This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.

v2:
* add info about HMAC-SHA-1-96

Adam Dybkowski (1):
  cryptodev: fix SHA-1 digest enum comment

 lib/librte_cryptodev/rte_crypto_sym.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

* [dpdk-dev] [PATCH v2 1/1] cryptodev: fix SHA-1 digest enum comment
  2020-05-19 12:05 [dpdk-dev] [PATCH v2 0/1] cryptodev: fix SHA-1 digest enum comment Adam Dybkowski
@ 2020-05-19 12:05 ` Adam Dybkowski
  0 siblings, 0 replies; 2+ messages in thread
From: Adam Dybkowski @ 2020-05-19 12:05 UTC (permalink / raw)
  To: dev, fiona.trahe, akhil.goyal; +Cc: Adam Dybkowski, stable

This patch fixes improper SHA-1 digest size in the enum comment
and also adds the note about HMAC-SHA-1-96.

Fixes: 1bd407fac80b ("cryptodev: extract symmetric operations")
Cc: stable@dpdk.org

Signed-off-by: Adam Dybkowski <adamx.dybkowski@intel.com>
---
 lib/librte_cryptodev/rte_crypto_sym.h | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h
index d9585ecd6..db5c5f5b8 100644
--- a/lib/librte_cryptodev/rte_crypto_sym.h
+++ b/lib/librte_cryptodev/rte_crypto_sym.h
@@ -269,9 +269,10 @@ 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_size to 12. */
 	RTE_CRYPTO_AUTH_SHA224,
 	/**< 224 bit SHA algorithm. */
 	RTE_CRYPTO_AUTH_SHA224_HMAC,
-- 
2.17.1


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2020-05-19 12:08 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-05-19 12:05 [dpdk-dev] [PATCH v2 0/1] cryptodev: fix SHA-1 digest enum comment Adam Dybkowski
2020-05-19 12:05 ` [dpdk-dev] [PATCH v2 1/1] " Adam Dybkowski

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).