patches for DPDK stable branches
 help / color / mirror / Atom feed
* [dpdk-stable] [PATCH] crypto/qat: fix typo
@ 2017-06-29 11:16 Pablo de Lara
  2017-06-29 19:46 ` Jain, Deepak K
  0 siblings, 1 reply; 3+ messages in thread
From: Pablo de Lara @ 2017-06-29 11:16 UTC (permalink / raw)
  To: fiona.trahe, john.griffin, deepak.k.jain; +Cc: dev, Pablo de Lara, stable

Fixed a comment in QAT, referring to the IV size
for AES-GCM, that should be in bytes, and not bits.

Fixes: 53d8971cbe81 ("qat: fix AES-GCM decryption")
CC: stable@dpdk.org

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
---
 drivers/crypto/qat/qat_crypto.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c
index 37d8a58..dc6595a 100644
--- a/drivers/crypto/qat/qat_crypto.c
+++ b/drivers/crypto/qat/qat_crypto.c
@@ -1146,7 +1146,7 @@ qat_write_hw_desc_entry(struct rte_crypto_op *op, uint8_t *out_msg,
 			ctx->qat_hash_alg == ICP_QAT_HW_AUTH_ALGO_GALOIS_64) {
 		if (op->sym->cipher.iv.length == 12) {
 			/*
-			 * For GCM a 12 bit IV is allowed,
+			 * For GCM a 12 byte IV is allowed,
 			 * but we need to inform the f/w
 			 */
 			ICP_QAT_FW_LA_GCM_IV_LEN_FLAG_SET(
-- 
2.9.4

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

end of thread, other threads:[~2017-06-30  6:23 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-06-29 11:16 [dpdk-stable] [PATCH] crypto/qat: fix typo Pablo de Lara
2017-06-29 19:46 ` Jain, Deepak K
2017-06-30  6:23   ` De Lara Guarch, Pablo

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).