From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out4-smtp.messagingengine.com (out4-smtp.messagingengine.com [66.111.4.28]) by dpdk.org (Postfix) with ESMTP id C8B92237 for ; Tue, 21 Nov 2017 14:28:08 +0100 (CET) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 6C5B920CCC; Tue, 21 Nov 2017 08:28:08 -0500 (EST) Received: from frontend2 ([10.202.2.161]) by compute1.internal (MEProxy); Tue, 21 Nov 2017 08:28:08 -0500 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux.org; h=cc:date:from:in-reply-to:message-id:references:subject:to :x-me-sender:x-me-sender:x-sasl-enc; s=fm1; bh=l/Wph06WZXN5YwLQW oGJeyrFnRPGcY82RkSFqu4eEJA=; b=iKbXn7QtAzWIAaaOGot9EOtyJvv97hfEe MLfq8XCYzAebQ/WvdB2eSY/WNdvmaWOzOtGKqII+MMaHEiy7IDvzSu3SbR/YQ8Zk 2gZlJ1LMunyX5PllFLwvMbGQx2Ah8zUCK2Ypx6pqClWPlEeLzs8MOjZM2SfkT0UL Xjiw5N+wAD/IRJKMoSp+IqPmsiQOkKLuJO7IL/USVXmND/8FO7RM777IJAHh9SEo JPO1aGE9pGKJofiOpGuXvM29BE/9+lNhm3fwtcObLyoWUyw6ThC5XZ86RJ1a+BKx T0G4UB+Sa+MsGmQbQhtimvGNU/BdeoOs4/qGP+q8ua/+861lC6x8g== DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:date:from:in-reply-to:message-id :references:subject:to:x-me-sender:x-me-sender:x-sasl-enc; s= fm1; bh=l/Wph06WZXN5YwLQWoGJeyrFnRPGcY82RkSFqu4eEJA=; b=WUEwsNBf 3IM8i5ObtRMneHZRC0CnNOVcu6wo9gLdWmP/P8lVhq+KgD64xMAsCO3HRt06Q4vm vynSqIMZXy6WlE9cSj3FsbS9+rWDiDuO/QNyI9+//CEBqlDhGIz/f3iSOkoAYOen pRQQb5g2Zc+0Eu8nQCmGk0AhJzcQ6JlXYmEJ7XfPxHrk9eeMK1j1rgJCkmG4HvCw yImnJVy3WdyxEak3nO0CoytkyLF1AO7xJrepbXgJB9Gvklxu9PT56jsUc7lN4rDd P3f5n9Fl04kmkLI5JJHr4FvFSs1jK4N6UQ6FOdBy7kEPGNpfur/EInuBEC6UfuB+ ft3DW9HFYOd7pA== X-ME-Sender: Received: from localhost.localdomain (unknown [180.158.62.0]) by mail.messagingengine.com (Postfix) with ESMTPA id 5454124A81; Tue, 21 Nov 2017 08:28:04 -0500 (EST) From: Yuanhan Liu To: Pablo de Lara Cc: Arkadiusz Kusztal , dpdk stable Date: Tue, 21 Nov 2017 21:18:00 +0800 Message-Id: <1511270333-31002-138-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> References: <1511270333-31002-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'crypto/qat: fix HMAC supported digest sizes' has been queued to stable release 17.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: Tue, 21 Nov 2017 13:28:09 -0000 Hi, FYI, your patch has been queued to stable release 17.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/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 3fbb5918ce70830fd65c84b7c2b0e8a79a53794e Mon Sep 17 00:00:00 2001 From: Pablo de Lara Date: Mon, 23 Oct 2017 11:37:09 +0100 Subject: [PATCH] crypto/qat: fix HMAC supported digest sizes [ upstream commit 0ef45a9ae8d5b3792afbb2e32103affaad22cbe4 ] For HMAC algorithms (MD5-HMAC, SHAx-HMAC), the supported digest sizes are not a fixed value, but a range between 1 and the maximum digest size for those algorithms. Fixes: 26c2e4ad5ad4 ("cryptodev: add capabilities discovery") Signed-off-by: Pablo de Lara Acked-by: Arkadiusz Kusztal --- drivers/crypto/qat/qat_crypto_capabilities.h | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/drivers/crypto/qat/qat_crypto_capabilities.h b/drivers/crypto/qat/qat_crypto_capabilities.h index 7012007..e85fe80 100644 --- a/drivers/crypto/qat/qat_crypto_capabilities.h +++ b/drivers/crypto/qat/qat_crypto_capabilities.h @@ -48,9 +48,9 @@ .increment = 1 \ }, \ .digest_size = { \ - .min = 20, \ + .min = 1, \ .max = 20, \ - .increment = 0 \ + .increment = 1 \ }, \ .iv_size = { 0 } \ }, } \ @@ -69,9 +69,9 @@ .increment = 1 \ }, \ .digest_size = { \ - .min = 28, \ + .min = 1, \ .max = 28, \ - .increment = 0 \ + .increment = 1 \ }, \ .iv_size = { 0 } \ }, } \ @@ -90,9 +90,9 @@ .increment = 1 \ }, \ .digest_size = { \ - .min = 32, \ + .min = 1, \ .max = 32, \ - .increment = 0 \ + .increment = 1 \ }, \ .iv_size = { 0 } \ }, } \ @@ -111,9 +111,9 @@ .increment = 1 \ }, \ .digest_size = { \ - .min = 48, \ + .min = 1, \ .max = 48, \ - .increment = 0 \ + .increment = 1 \ }, \ .iv_size = { 0 } \ }, } \ @@ -132,9 +132,9 @@ .increment = 1 \ }, \ .digest_size = { \ - .min = 64, \ + .min = 1, \ .max = 64, \ - .increment = 0 \ + .increment = 1 \ }, \ .iv_size = { 0 } \ }, } \ @@ -153,9 +153,9 @@ .increment = 1 \ }, \ .digest_size = { \ - .min = 16, \ + .min = 1, \ .max = 16, \ - .increment = 0 \ + .increment = 1 \ }, \ .iv_size = { 0 } \ }, } \ -- 2.7.4