From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg0-f47.google.com (mail-pg0-f47.google.com [74.125.83.47]) by dpdk.org (Postfix) with ESMTP id 9319E9167 for ; Mon, 21 Aug 2017 11:36:18 +0200 (CEST) Received: by mail-pg0-f47.google.com with SMTP id u191so22485477pgc.2 for ; Mon, 21 Aug 2017 02:36:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fridaylinux-org.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=PcmG6nCY+Vuxad3jxzk1rz1Gm884BqNWMwfNN+BR1Y0=; b=qWmgTbTBPYcQxavD0X+xwz1eXwLQyUgj3DrGVYtovXezzEQ7Wdr1CNjWlLSpWIm0F4 2wVCXZXBMYt1qNJd1GZ9x71Puy/9V1j4X0P3OAUBhu22VqzmADWe8mobQW67Y0guj4Bm tbryozatVGoh3qZNBE7Mjw3m7af5Q+Rn2UqN2X18oBgRgheOoRGqIHM461wcHNamRK7O LyxSd6HkcpVUhX1AfJYMDk8NqM3jEFo4R29DyL3303DqumYOYdDyi7hK4lub1ElyXXhv JhQ46Kf1Vp2GLtXdKhjaD6ljwPfSUDI/5HLRT9igM5fBFWew14f6GNz0/wyb5XKSSrXr Q/fg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references; bh=PcmG6nCY+Vuxad3jxzk1rz1Gm884BqNWMwfNN+BR1Y0=; b=MT+wb6f/GnJaelrtimADOJ7Ovpuyqmyz+72q9jndU81+8i2innpP6ls4AjiXw2aWpP dHn02VJmt1+Wd8xeb7x33UsCtv7GxpssbgD7dm/e+Z+cPSaYSdbfUca9RmhXKAVRoXJC bkLWpquRq9yJLG4JDarFGzvV2M+lKUIWBB3/HlUkAqtSDtx2wl3h66QUvJvptUNvBBZq VfrgtwF12jwA9yV0eUP/o7986EbY+GHgX4EcAUVmaJzHmeX4awkpPWdyoK9/eez4Ip3g w8N9G2xzyuzUpNXJ/v3oYrojtmgslK1lOhFbSOAM/Z1yM3t4EjIbPgRtHg2P2GOldkIP lWCQ== X-Gm-Message-State: AHYfb5ix5I8VKFODhOBTbA4581RdxCC3L1aelOe0b8UNOqPIBJmWpnto gZ98rFPIrZCfdcfF X-Received: by 10.98.147.138 with SMTP id r10mr16367904pfk.47.1503308177932; Mon, 21 Aug 2017 02:36:17 -0700 (PDT) Received: from localhost.localdomain ([45.63.61.64]) by smtp.gmail.com with ESMTPSA id 69sm23355087pfh.186.2017.08.21.02.36.13 (version=TLS1_2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Mon, 21 Aug 2017 02:36:16 -0700 (PDT) From: Yuanhan Liu To: Srisivasubramanian S Cc: Jerin Jacob , dpdk stable , Yuanhan Liu Date: Mon, 21 Aug 2017 17:30:51 +0800 Message-Id: <1503307878-16728-37-git-send-email-yliu@fridaylinux.org> X-Mailer: git-send-email 2.7.4 In-Reply-To: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> References: <1503307878-16728-1-git-send-email-yliu@fridaylinux.org> Subject: [dpdk-stable] patch 'crypto/armv8: fix HMAC supported key sizes' has been queued to stable release 17.05.2 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: Mon, 21 Aug 2017 09:36:19 -0000 Hi, FYI, your patch has been queued to stable release 17.05.2 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 08/24/17. So please shout if anyone has objections. Thanks. --yliu --- >>From 2f578a0fb234e994f35425d083329ffa222c04d2 Mon Sep 17 00:00:00 2001 From: Srisivasubramanian S Date: Sun, 30 Jul 2017 16:53:01 +0530 Subject: [PATCH] crypto/armv8: fix HMAC supported key sizes [ upstream commit 0f89def76127d694f946d1cf9bd960ebb0323ac2 ] For HMAC algorithms (SHAx-HMAC), the supported key sizes are not a fixed value, but a range between 1 and the block size. Fixes: 169ca3db550c ("crypto/armv8: add PMD optimized for ARMv8 processors") Signed-off-by: Srisivasubramanian S Signed-off-by: Jerin Jacob --- drivers/crypto/armv8/rte_armv8_pmd_ops.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/armv8/rte_armv8_pmd_ops.c b/drivers/crypto/armv8/rte_armv8_pmd_ops.c index 4d9ccbf..d171069 100644 --- a/drivers/crypto/armv8/rte_armv8_pmd_ops.c +++ b/drivers/crypto/armv8/rte_armv8_pmd_ops.c @@ -50,9 +50,9 @@ static const struct rte_cryptodev_capabilities .algo = RTE_CRYPTO_AUTH_SHA1_HMAC, .block_size = 64, .key_size = { - .min = 16, - .max = 128, - .increment = 0 + .min = 1, + .max = 64, + .increment = 1 }, .digest_size = { .min = 20, @@ -71,9 +71,9 @@ static const struct rte_cryptodev_capabilities .algo = RTE_CRYPTO_AUTH_SHA256_HMAC, .block_size = 64, .key_size = { - .min = 16, - .max = 128, - .increment = 0 + .min = 1, + .max = 64, + .increment = 1 }, .digest_size = { .min = 32, -- 2.7.4