[dpdk-stable] patch 'crypto/aesni_mb: fix truncated digest size for CMAC' has been queued to stable release 18.08.1

Kevin Traynor ktraynor at redhat.com
Wed Nov 21 17:04:37 CET 2018


Hi,

FYI, your patch has been queued to stable release 18.08.1

Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet.
It will be pushed if I get no objections before 11/26/18. So please
shout if anyone has objections.

Also note that after the patch there's a diff of the upstream commit vs the patch applied
to the branch. If the code is different (ie: not only metadata diffs), due for example to
a change in context or macro names, please double check it.

Thanks.

Kevin Traynor

---
>From 591975fe0461e711d009dcf337caffc367903505 Mon Sep 17 00:00:00 2001
From: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Date: Tue, 14 Aug 2018 01:38:46 +0100
Subject: [PATCH] crypto/aesni_mb: fix truncated digest size for CMAC

[ upstream commit 16a3558e0bd8fce3e90def75fcfcd0a947b469c1 ]

The truncated digest size for AES-CMAC is 12 and not 16,
as the Multi-buffer library can output both 12 and 16 bytes.

Fixes: 6491dbbecebb ("crypto/aesni_mb: support AES CMAC")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
Acked-by: Marko Kovacevic <marko.kovacevic at intel.com>
---
 drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
index 70e9d18e5..67492c7f4 100644
--- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
+++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
@@ -65,5 +65,5 @@ static const unsigned auth_truncated_digest_byte_lengths[] = {
 		[SHA_512]	= 32,
 		[AES_XCBC]	= 12,
-		[AES_CMAC]	= 16,
+		[AES_CMAC]	= 12,
 		[AES_CCM]	= 8,
 		[NULL_HASH]	= 0
-- 
2.19.0

---
  Diff of the applied patch vs upstream commit (please double-check if non-empty:
---
--- -	2018-11-21 15:59:14.799260885 +0000
+++ 0047-crypto-aesni_mb-fix-truncated-digest-size-for-CMAC.patch	2018-11-21 15:59:13.000000000 +0000
@@ -1,13 +1,14 @@
-From 16a3558e0bd8fce3e90def75fcfcd0a947b469c1 Mon Sep 17 00:00:00 2001
+From 591975fe0461e711d009dcf337caffc367903505 Mon Sep 17 00:00:00 2001
 From: Pablo de Lara <pablo.de.lara.guarch at intel.com>
 Date: Tue, 14 Aug 2018 01:38:46 +0100
 Subject: [PATCH] crypto/aesni_mb: fix truncated digest size for CMAC
 
+[ upstream commit 16a3558e0bd8fce3e90def75fcfcd0a947b469c1 ]
+
 The truncated digest size for AES-CMAC is 12 and not 16,
 as the Multi-buffer library can output both 12 and 16 bytes.
 
 Fixes: 6491dbbecebb ("crypto/aesni_mb: support AES CMAC")
-Cc: stable at dpdk.org
 
 Signed-off-by: Pablo de Lara <pablo.de.lara.guarch at intel.com>
 Acked-by: Marko Kovacevic <marko.kovacevic at intel.com>
@@ -16,7 +17,7 @@
  1 file changed, 1 insertion(+), 1 deletion(-)
 
 diff --git a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
-index cc5822a82..1e297f032 100644
+index 70e9d18e5..67492c7f4 100644
 --- a/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
 +++ b/drivers/crypto/aesni_mb/rte_aesni_mb_pmd_private.h
 @@ -65,5 +65,5 @@ static const unsigned auth_truncated_digest_byte_lengths[] = {


More information about the stable mailing list