From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) by dpdk.org (Postfix) with ESMTP id 3939F1B120 for ; Wed, 21 Nov 2018 17:06:59 +0100 (CET) Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 72790256A; Wed, 21 Nov 2018 16:06:58 +0000 (UTC) Received: from ktraynor.remote.csb (unknown [10.36.118.7]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4E9D76607B; Wed, 21 Nov 2018 16:06:57 +0000 (UTC) From: Kevin Traynor To: Pablo de Lara Cc: Marko Kovacevic , dpdk stable Date: Wed, 21 Nov 2018 16:04:37 +0000 Message-Id: <20181121160440.9014-47-ktraynor@redhat.com> In-Reply-To: <20181121160440.9014-1-ktraynor@redhat.com> References: <20181121160440.9014-1-ktraynor@redhat.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Scanned-By: MIMEDefang 2.79 on 10.5.11.13 X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.28]); Wed, 21 Nov 2018 16:06:58 +0000 (UTC) Subject: [dpdk-stable] patch 'crypto/aesni_mb: fix truncated digest size for CMAC' has been queued to stable release 18.08.1 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 21 Nov 2018 16:06:59 -0000 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 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 Acked-by: Marko Kovacevic --- 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 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@dpdk.org Signed-off-by: Pablo de Lara Acked-by: Marko Kovacevic @@ -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[] = {