From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id 23C93A04A3 for ; Fri, 5 Jun 2020 20:28:00 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 199F11D538; Fri, 5 Jun 2020 20:28:00 +0200 (CEST) Received: from us-smtp-1.mimecast.com (us-smtp-delivery-1.mimecast.com [207.211.31.120]) by dpdk.org (Postfix) with ESMTP id 8EA231D52C for ; Fri, 5 Jun 2020 20:27:58 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1591381678; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=Sf64ZjYuF3S5ejtb96Z2xVTbeySaD3KLDicIjx0YYZ4=; b=CPniT4EgRf3PqCHbYJCUAFxUE4IYsGDUHNrwqrCuzJ7wZUzHV+Pr2UwG/LwB6VGxjUQ/8W M5bTTAP5BiPB7/Zqx0J8yCALJd0Qec+er2kqz9RgbU3DQ9nGM/2IUiIbrafLapwG+jYpE4 D28uN8e4uloZzhRak/hY9wv3/NYlv/I= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-493-9hWn_eCKOHmoLTgzaFfwDQ-1; Fri, 05 Jun 2020 14:27:55 -0400 X-MC-Unique: 9hWn_eCKOHmoLTgzaFfwDQ-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id 41E30107ACCA; Fri, 5 Jun 2020 18:27:54 +0000 (UTC) Received: from rh.redhat.com (unknown [10.33.36.130]) by smtp.corp.redhat.com (Postfix) with ESMTP id 0AF7460C47; Fri, 5 Jun 2020 18:27:52 +0000 (UTC) From: Kevin Traynor To: Adam Dybkowski Cc: Fiona Trahe , Anoob Joseph , Akhil Goyal , dpdk stable Date: Fri, 5 Jun 2020 19:25:15 +0100 Message-Id: <20200605182525.22483-78-ktraynor@redhat.com> In-Reply-To: <20200605182525.22483-1-ktraynor@redhat.com> References: <20200605182525.22483-1-ktraynor@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'cryptodev: fix SHA-1 digest enum comment' has been queued to LTS release 18.11.9 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: , Errors-To: stable-bounces@dpdk.org Sender: "stable" Hi, FYI, your patch has been queued to LTS release 18.11.9 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 06/10/20. 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. This will indicate if there was any rebasing needed to apply to the stable branch. If there were code changes for rebasing (ie: not only metadata diffs), please double check that the rebase was correctly done. Queued patches are on a temporary branch at: https://github.com/kevintraynor/dpdk-stable-queue This queued commit can be viewed at: https://github.com/kevintraynor/dpdk-stable-queue/commit/b4b8b0a13242bd1f1905f80777af0c010e30ef1c Thanks. Kevin. --- >From b4b8b0a13242bd1f1905f80777af0c010e30ef1c Mon Sep 17 00:00:00 2001 From: Adam Dybkowski Date: Thu, 21 May 2020 16:48:53 +0200 Subject: [PATCH] cryptodev: fix SHA-1 digest enum comment [ upstream commit e475fd853ac1cae9cf837a10e8c386503175752e ] 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") Signed-off-by: Adam Dybkowski Acked-by: Fiona Trahe Acked-by: Anoob Joseph Acked-by: Akhil Goyal --- lib/librte_cryptodev/rte_crypto_sym.h | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/lib/librte_cryptodev/rte_crypto_sym.h b/lib/librte_cryptodev/rte_crypto_sym.h index eb5afc5ef0..70038db776 100644 --- a/lib/librte_cryptodev/rte_crypto_sym.h +++ b/lib/librte_cryptodev/rte_crypto_sym.h @@ -220,7 +220,10 @@ enum rte_crypto_auth_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_length to 12 bytes in auth/aead xforms. + */ RTE_CRYPTO_AUTH_SHA224, /**< 224 bit SHA algorithm. */ -- 2.21.3 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2020-06-05 19:20:55.088187019 +0100 +++ 0078-cryptodev-fix-SHA-1-digest-enum-comment.patch 2020-06-05 19:20:50.982036906 +0100 @@ -1 +1 @@ -From e475fd853ac1cae9cf837a10e8c386503175752e Mon Sep 17 00:00:00 2001 +From b4b8b0a13242bd1f1905f80777af0c010e30ef1c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit e475fd853ac1cae9cf837a10e8c386503175752e ] + @@ -10 +11,0 @@ -Cc: stable@dpdk.org @@ -21 +22 @@ -index d9585ecd69..da961a19d2 100644 +index eb5afc5ef0..70038db776 100644 @@ -24 +25 @@ -@@ -270,7 +270,10 @@ enum rte_crypto_auth_algorithm { +@@ -220,7 +220,10 @@ enum rte_crypto_auth_algorithm {