From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from out3-smtp.messagingengine.com (out3-smtp.messagingengine.com [66.111.4.27]) by dpdk.org (Postfix) with ESMTP id 5FE4523A for ; Sun, 6 May 2018 08:37:35 +0200 (CEST) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.nyi.internal (Postfix) with ESMTP id 0E63D213A3; Sun, 6 May 2018 02:37:35 -0400 (EDT) Received: from mailfrontend2 ([10.202.2.163]) by compute1.internal (MEProxy); Sun, 06 May 2018 02:37:35 -0400 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=fm2; bh=lZzMQu9Mn7S7Z7f3q 2DI+iKmK4qqmpl2b1FwPAXPTqs=; b=c1XCJoRav3HPJArRsyoq388469Ffo54kS vS+GBUfO54SQiZvcf3myf1W/50NFxfhksR9Mybp7Zf5h98R3AIJ7Heiw8BnOxw8G eXL3UoeP05OzPqufZzzJFjY8UUdI6ALkBtassNixECjyJN5wXf26pdtQdLku2Tth 378Korfbw1N5HJqf6i4LHS04EVuLnebgt7m3nqHplPD12nnWhC41038p6hI4Opuu LkzoH22zVg6LwyuxbsfyGC5Lo7yJ9LF/Z/HS9KfS2oJIsiCAxlPEybhdpYZZJfbq dkb32s9vboxQ3WjKNyAVE+JADiarKBj1B64zUueVPL001Oqlmk0zg== 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= fm2; bh=lZzMQu9Mn7S7Z7f3q2DI+iKmK4qqmpl2b1FwPAXPTqs=; b=nHvFIecf xpLSy95MCxM6y3achqYTLTOQDjUctlGwkLZnGIQKDKr+1HslTKjhazGhRfpgsI1w Qx6TRJ/2ST/zR/2XsMXDrB68hstvUc/2HDwvfh8THZr+2b9K7t3epslrNV1lJQd6 JBIg7lozv3sGnhtsVf667Caf6WGFiikNG9eP7nbwvNqfVqT0IpHkBlcTEy4AqSkF pzvirttg4FatDDSYUSzCU6kmsLEaUZ55za4lziFkSelEFPV8fGQtNvA90X8W0243 1RL+SxIOyGpEly+RtQtFEJI8xWSfe09ISKmOrZH6GhwWJZmZOi/HbNwyH690ZAe1 JVuCUKvWaWk5BA== X-ME-Sender: Received: from yuanhanliu-NB0.tencent.com (unknown [223.74.148.102]) by mail.messagingengine.com (Postfix) with ESMTPA id EE2A81025C; Sun, 6 May 2018 02:37:32 -0400 (EDT) From: Yuanhan Liu To: Hemant Agrawal Cc: Nipun Gupta , Akhil Goyal , dpdk stable Date: Sun, 6 May 2018 14:36:20 +0800 Message-Id: <20180506063639.23196-7-yliu@fridaylinux.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20180506063639.23196-1-yliu@fridaylinux.org> References: <20180506063639.23196-1-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'crypto/dpaa2_sec: fix HMAC supported digest sizes' has been queued to LTS release 17.11.3 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: Sun, 06 May 2018 06:37:35 -0000 Hi, FYI, your patch has been queued to LTS release 17.11.3 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 05/09/18. So please shout if anyone has objections. Thanks. --yliu --- >>From 2419984694b55d44dcda3e6cfe89203006ba9138 Mon Sep 17 00:00:00 2001 From: Hemant Agrawal Date: Thu, 19 Apr 2018 22:22:38 +0530 Subject: [PATCH] crypto/dpaa2_sec: fix HMAC supported digest sizes [ upstream commit e37effdc3d48c5f63871639c9007a10a5f57b825 ] 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: f947fd77185f ("crypto/dpaa2_sec: fix HMAC supported key sizes") Signed-off-by: Nipun Gupta Signed-off-by: Hemant Agrawal Acked-by: Akhil Goyal --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index 8e583803e..ae8c0c302 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h @@ -211,9 +211,9 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 16, + .min = 1, .max = 16, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } @@ -232,9 +232,9 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 20, + .min = 1, .max = 20, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } @@ -253,9 +253,9 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 28, + .min = 1, .max = 28, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } @@ -274,9 +274,9 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 32, - .max = 32, - .increment = 0 + .min = 1, + .max = 32, + .increment = 1 }, .iv_size = { 0 } }, } @@ -295,9 +295,9 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 48, + .min = 1, .max = 48, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } @@ -316,9 +316,9 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 64, + .min = 1, .max = 64, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } -- 2.11.0