From: Pablo de Lara Date: Thu, 29 Jun 2017 11:16:21 +0000 (+0100) Subject: crypto/qat: fix typo X-Git-Tag: spdx-start~2702 X-Git-Url: http://git.droids-corp.org/?a=commitdiff_plain;h=ec6efa5370ad55102b23ba3c6d7384970e09e420;p=dpdk.git crypto/qat: fix typo 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 Acked-by: Deepak Kumar Jain --- diff --git a/drivers/crypto/qat/qat_crypto.c b/drivers/crypto/qat/qat_crypto.c index 8b7b2face8..f8e1d014c5 100644 --- a/drivers/crypto/qat/qat_crypto.c +++ b/drivers/crypto/qat/qat_crypto.c @@ -1147,7 +1147,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(