From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wm0-f65.google.com (mail-wm0-f65.google.com [74.125.82.65]) by dpdk.org (Postfix) with ESMTP id D1A8D47CD for ; Thu, 31 May 2018 10:34:18 +0200 (CEST) Received: by mail-wm0-f65.google.com with SMTP id j15-v6so1025062wme.0 for ; Thu, 31 May 2018 01:34:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:in-reply-to:references; bh=tKM9n4MiM9ufrcuW3NFrzQlie8fFvFwXbuOuqrUiOa8=; b=eAZkywbey0iy+aP1hIIcCFs95ja1EfocXa/0ZPiZseJDCscltKhdw04Hywj/ANHC4t NQzX6rt1h9eJ6pU4CfiYXgC9WUXlEmooBeRQnuUQMDlIx+PG6Rqlpsth+G4PmBHyvzHG /3IOGolJ19xn7dZKgKiEMkNxll859ThOUVzNNwB0FX4zl4AYxYVnFVHqv8QyUhZHeDk0 L8zAcstxQUo1cUoGTVSdo5Np7my2Xetslt3zmdxCYYE4YZwIj7SagAS+FXXXs3/kLnIt JoCbkCikE0YdRM1Rd0p/QS7yX8PaGFavZSLDJ4O/SCfVfBfXmnaEGN200FknBCYyx9+K Q22g== 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=tKM9n4MiM9ufrcuW3NFrzQlie8fFvFwXbuOuqrUiOa8=; b=UF7HN2H2rdty6Y0N+NsTRbhok8SGGYinBD1Bn6dBPsq7j3mr0ql6z4J1HMC/FA0jeg Xj7PV2cn2eEl+kZ1zBAHBRmrEAocKj7g4otoWY8kt30kA3mbU9qStO83FoMykvj6ozV7 my6zzTrnCkEc88/AV+5q75VUNdvrumazr9zfOFnIZ+FjwDIAecY/WcnY+YCO4ioTihxa xaoqlXRLHmpWmbk0lVhUubeaPj096Z3GshXl5W/sMR1Vjrmo/D+t4Hnr0kIq6PywIs5l YkiCj2XegIAoKnrRyGkXt/TtoAGoRDghz0lzy3Y72Cxd+ggc+AGKWsE23Qi9hI2Qdsjc b1xg== X-Gm-Message-State: ALKqPwevsTvJvJMcrpAfi5roJ8An1bBRZhLCw1Yguh34KdGT2f322ZQt iXeRf4LKeIkmcOCFBcTx+J0= X-Google-Smtp-Source: ADUXVKLaKLOOxlfmEJ4dic73xP2VuGuGG+wWek11CJFDRIod27bFILnA8ImQN/E6Xn9qsVnh3JXqJg== X-Received: by 2002:a1c:4203:: with SMTP id p3-v6mr1561412wma.111.1527755658545; Thu, 31 May 2018 01:34:18 -0700 (PDT) Received: from localhost ([2a00:23c5:be9a:5200:ce4c:82c0:d567:ecbb]) by smtp.gmail.com with ESMTPSA id h81-v6sm1375138wmd.0.2018.05.31.01.34.17 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Thu, 31 May 2018 01:34:17 -0700 (PDT) From: luca.boccassi@gmail.com To: Anoob Joseph Cc: Sachin Saxena , Akhil Goyal , dpdk stable Date: Thu, 31 May 2018 09:34:08 +0100 Message-Id: <20180531083408.23210-2-luca.boccassi@gmail.com> X-Mailer: git-send-email 2.17.1 In-Reply-To: <20180531083408.23210-1-luca.boccassi@gmail.com> References: <20180529102553.23431-5-luca.boccassi@gmail.com> <20180531083408.23210-1-luca.boccassi@gmail.com> Subject: [dpdk-stable] patch 'crypto/armv8: fix HMAC supported digest sizes' has been queued to stable release 18.02.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: Thu, 31 May 2018 08:34:19 -0000 Hi, FYI, your patch has been queued to stable release 18.02.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 06/02/18. So please shout if anyone has objections. Thanks. Luca Boccassi --- >>From b809866cf9fb6e3170abd6d2413f9650e4dbe3b1 Mon Sep 17 00:00:00 2001 From: Anoob Joseph Date: Tue, 29 May 2018 16:15:36 +0530 Subject: [PATCH] crypto/armv8: fix HMAC supported digest sizes [ upstream commit 670c6dabca9e3f6c684af158d08a97ec05307ce7 ] For HMAC algorithms (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: 0f89def76127 ("crypto/armv8: fix HMAC supported key sizes") Signed-off-by: Anoob Joseph Signed-off-by: Sachin Saxena Acked-by: Akhil Goyal --- drivers/crypto/armv8/rte_armv8_pmd_ops.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/drivers/crypto/armv8/rte_armv8_pmd_ops.c b/drivers/crypto/armv8/rte_armv8_pmd_ops.c index 3817ad7b1..c64aef09f 100644 --- a/drivers/crypto/armv8/rte_armv8_pmd_ops.c +++ b/drivers/crypto/armv8/rte_armv8_pmd_ops.c @@ -27,9 +27,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 20, + .min = 1, .max = 20, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } @@ -48,9 +48,9 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 32, + .min = 1, .max = 32, - .increment = 0 + .increment = 1 }, .iv_size = { 0 } }, } -- 2.17.1