From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id 267C8A0C47 for ; Tue, 10 Aug 2021 17:42:41 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 202E2411C5; Tue, 10 Aug 2021 17:42:41 +0200 (CEST) Received: from smtp-relay-canonical-0.canonical.com (smtp-relay-canonical-0.canonical.com [185.125.188.120]) by mails.dpdk.org (Postfix) with ESMTP id F255740686 for ; Tue, 10 Aug 2021 17:42:39 +0200 (CEST) Received: from mail-ej1-f71.google.com (mail-ej1-f71.google.com [209.85.218.71]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by smtp-relay-canonical-0.canonical.com (Postfix) with ESMTPS id D18253F047 for ; Tue, 10 Aug 2021 15:42:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1628610159; bh=THu9PTRQF3VEh/5RsmXzqNMBsoN+1h5noo6MpNM1yO4=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=QZW/c7lB+0VgGf1NrzUiVBRUTMZfG7hZmYsa5khf4qGNkiEDE1IC1ANUFLcu06jor 0oI699ofWxaX0FxmD2On295UwLvVz4dAqOG/BXSezB7Jt6NumYknfzzRRT4r/yYpa0 RlkPEURN9F380577TEATcQCRR9plnAsHBTMAjuOZdlmEILmMSfjtCgbpXaH6F70P4D /YkFAEwxd6zu7YoZ8G8kPCr3IQ3/DX3d2GmgjUNL1JlD72Ga4sRSfburNZzQUn0dNc ZCawTw+V8b+aDX7mYe2txfPg9rUUoR3+qjKOCudCS/ok6bMN2FoTJO8BNocizpxp+Q eXD6WcRiCfDxg== Received: by mail-ej1-f71.google.com with SMTP id v3-20020a1709063383b02905b4d1d1e27cso1121509eja.19 for ; Tue, 10 Aug 2021 08:42:39 -0700 (PDT) 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:mime-version:content-transfer-encoding; bh=THu9PTRQF3VEh/5RsmXzqNMBsoN+1h5noo6MpNM1yO4=; b=aalUb2IRUmkN8lH5d7f3fSl4wIXyieW96f2+Kkh/ezaYzDUrmCkcMY7fjc9lk2rXNT yuHRYZZX+jMgQ2KYPIOz/nx284pJqQtPP9NrsuSGEY5oE4jq7E1r9lYZXQHXlGkpJz9t eT8RLZD/iboByUnCmNRx64yUn0qX7kitTcRg4WbPLA8t+uE84tcZVdaTuP42zZZcTTWI VyciIy17dMXqFzbi0NcQHGJSNRKfvTreXFKmKAIUUDbtrdKPbS9jyhA01mztoQTJ+e5l YBNfpRtO1rZKIHbTYgculpHVbw1PIDPrv66YYncA4pWLr5xjCj7S4eL8dFUTJTUqC8rt WiOQ== X-Gm-Message-State: AOAM530T/iLd/ZNQ1XVYaCX3D0aEmBVL+rdaPKd+pjDO7aLlKwAUfsur /lKOHZsrbMIxunA3O9hToI1Ip1zMhcJMLG0sl8hrhpMgtp5LZj5zshQXGDt+dHM/+OxEik+TOYF TbRY2Eq2vknrzOW2gs1VUhdg0 X-Received: by 2002:aa7:de05:: with SMTP id h5mr5779337edv.174.1628610159595; Tue, 10 Aug 2021 08:42:39 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxg7i8yblgod2zg1k7T+93N5BixPfUAOpTSJ9aIUbfijSwxmGdlsuxOpJBbjTQ72K1dhvZSrg== X-Received: by 2002:aa7:de05:: with SMTP id h5mr5779315edv.174.1628610159387; Tue, 10 Aug 2021 08:42:39 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2001:67c:1560:8007::aac:c4ad]) by smtp.gmail.com with ESMTPSA id ck3sm9729443edb.80.2021.08.10.08.42.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 10 Aug 2021 08:42:39 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Michael Shamis Cc: Liron Himi , dpdk stable Date: Tue, 10 Aug 2021 17:39:22 +0200 Message-Id: <20210810154022.749358-42-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.32.0 In-Reply-To: <20210810154022.749358-1-christian.ehrhardt@canonical.com> References: <20210810154022.749358-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Subject: [dpdk-stable] patch 'crypto/mvsam: fix capabilities' has been queued to stable release 19.11.10 X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 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 stable release 19.11.10 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/12/21. 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/cpaelzer/dpdk-stable-queue This queued commit can be viewed at: https://github.com/cpaelzer/dpdk-stable-queue/commit/819f3a8a413a953a259af03f0b9ce7d5af5f080c Thanks. Christian Ehrhardt --- >From 819f3a8a413a953a259af03f0b9ce7d5af5f080c Mon Sep 17 00:00:00 2001 From: Michael Shamis Date: Thu, 1 Jul 2021 09:58:53 +0300 Subject: [PATCH] crypto/mvsam: fix capabilities [ upstream commit 62f7513e2a2a7677b1f335e53c44316f171511e0 ] Increased AAD max size up to 64B and allowed AAD increment step 1B according to EIP197 token HW limitation. In addition, some capabilities were found incorrect due to running FIPS tests. The patch fix the capabilities. Fixes: 8a61c83af2f ("crypto/mrvl: add mrvl crypto driver") Fixes: 2c22aa4f8f6 ("crypto/mvsam: update hash digest sizes") Fixes: a84226fc055 ("crypto/mvsam: support HMAC SHA224") Signed-off-by: Michael Shamis Reviewed-by: Liron Himi Tested-by: Liron Himi --- drivers/crypto/mvsam/rte_mrvl_pmd_ops.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c index 2dfaa0b113..bf9c1200ef 100644 --- a/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c +++ b/drivers/crypto/mvsam/rte_mrvl_pmd_ops.c @@ -111,7 +111,7 @@ static const struct rte_cryptodev_capabilities .increment = 1 }, .digest_size = { - .min = 28, + .min = 12, .max = 28, .increment = 0 }, @@ -232,7 +232,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { .min = 12, - .max = 48, + .max = 64, .increment = 4 }, }, } @@ -252,7 +252,7 @@ static const struct rte_cryptodev_capabilities }, .digest_size = { .min = 12, - .max = 48, + .max = 64, .increment = 0 }, }, } @@ -336,9 +336,9 @@ static const struct rte_cryptodev_capabilities .increment = 0 }, .aad_size = { - .min = 8, - .max = 12, - .increment = 4 + .min = 0, + .max = 64, + .increment = 1 }, .iv_size = { .min = 12, -- 2.32.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2021-08-10 15:11:14.678763501 +0200 +++ 0042-crypto-mvsam-fix-capabilities.patch 2021-08-10 15:11:13.006638012 +0200 @@ -1 +1 @@ -From 62f7513e2a2a7677b1f335e53c44316f171511e0 Mon Sep 17 00:00:00 2001 +From 819f3a8a413a953a259af03f0b9ce7d5af5f080c Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 62f7513e2a2a7677b1f335e53c44316f171511e0 ] + @@ -14 +15,0 @@ -Cc: stable@dpdk.org @@ -24 +25 @@ -index c61bdca369..527ddef0cf 100644 +index 2dfaa0b113..bf9c1200ef 100644