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 91794A0540 for ; Thu, 7 Jul 2022 09:55:50 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 8CF6A427F0; Thu, 7 Jul 2022 09:55:50 +0200 (CEST) Received: from smtp-relay-internal-1.canonical.com (smtp-relay-internal-1.canonical.com [185.125.188.123]) by mails.dpdk.org (Postfix) with ESMTP id E3902410D3 for ; Thu, 7 Jul 2022 09:55:49 +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-internal-1.canonical.com (Postfix) with ESMTPS id 9477A40274 for ; Thu, 7 Jul 2022 07:55:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=canonical.com; s=20210705; t=1657180549; bh=lqCWcEh2QH1RPGzYEUm7am0THt6M80DO7/cIQuBs2Dw=; h=From:To:Cc:Subject:Date:Message-Id:In-Reply-To:References: MIME-Version; b=tOH9hiRPPtS/qN+NOpJEH2tAolsZC4pZgHA3kWk6CZ8ufS7W5NhiekkeS50sB96US CZ7BugZ87K8WQMxNCwfCqqOP4/QzS//CR7YYfV7l09JH5xEGZWVzVWoOgLFj8lkUws qHG2V7piBMdgWaNFNZHbVSm0DCqhCm0qzPu6MN/xtrgxY5S900mKKa/BK727vhYu64 edaITuBniOfcr3RkHaMgaRO5epvuR/smYkkD0hzlLLIS0811OaHHjphVuSqtdHTt7E bUYlEmrnOJl3xAffmEu/rE1Nj+6o7BjqnOzGt4y8daBcBmY7v28pwY7dp4vNQATocp wZPa4eva/mn1w== Received: by mail-ej1-f71.google.com with SMTP id sd14-20020a1709076e0e00b0072a7c5a08f4so4462788ejc.21 for ; Thu, 07 Jul 2022 00:55:49 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=lqCWcEh2QH1RPGzYEUm7am0THt6M80DO7/cIQuBs2Dw=; b=fxdHlbDAboUNEPnp9brPuDfWv1QEDK9ewcxSiPI9lw0ISZBKyPefycr01DWEMYWs86 eyeOce48VfOGSi4xkzE+rsF2qGZ30R3xpm7fG6ApCaqVaPCws+Il5r+5GonSmt2Ls6HF UKTYf7MSPo1WpfAO8Ctpzz1FpWpEWya/wI7BjuJ1U5fhQ9OV/qb1uROtjC2CKluBEUUM ImFRlKKHvrT95m+EV4UxvQoxFXbn0TyPCJZHh/cs2FoDs3Mv5xMtS16OpuR8ylkrHgfJ gTGY5corF6QZuu+KxSV8/mO+AO3QL+BNtyg/GD99Sy4rh3WHLVBp/Zc+d9MSA8xlhUP7 9HIA== X-Gm-Message-State: AJIora/gNAwDkGiRsologIe1g6oSzX+lEed3+7JIynCXdjYWjWBx7JlJ 4To5XeHX/so12bT3n6XKg5eyUOOlmYD7ID9lHGtM2Br7iIiv50UnfmWnjdAfow8A67kemqMOQz7 GKsILqY2+900GLB4u3pF7Wm8v X-Received: by 2002:a17:907:9686:b0:71b:6f0a:c724 with SMTP id hd6-20020a170907968600b0071b6f0ac724mr42165781ejc.138.1657180548475; Thu, 07 Jul 2022 00:55:48 -0700 (PDT) X-Google-Smtp-Source: AGRyM1tFfggHMy4pPShKbQz/pO/Zg4l0KM6oXt6g2PUMS0/gfAJOBE1N+F53bS5sCsTwETIbZOoRQA== X-Received: by 2002:a17:907:9686:b0:71b:6f0a:c724 with SMTP id hd6-20020a170907968600b0071b6f0ac724mr42165761ejc.138.1657180548077; Thu, 07 Jul 2022 00:55:48 -0700 (PDT) Received: from Keschdeichel.fritz.box ([2a02:6d40:3a4f:7b00:c19b:938e:7c97:afe2]) by smtp.gmail.com with ESMTPSA id c12-20020a170906d18c00b00727c6da69besm11731855ejz.38.2022.07.07.00.55.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 07 Jul 2022 00:55:47 -0700 (PDT) From: christian.ehrhardt@canonical.com To: Gagandeep Singh Cc: dpdk stable Subject: patch 'crypto/dpaa_sec: fix digest size' has been queued to stable release 19.11.13 Date: Thu, 7 Jul 2022 09:54:03 +0200 Message-Id: <20220707075522.194223-8-christian.ehrhardt@canonical.com> X-Mailer: git-send-email 2.37.0 In-Reply-To: <20220707075522.194223-1-christian.ehrhardt@canonical.com> References: <20220707075522.194223-1-christian.ehrhardt@canonical.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 Hi, FYI, your patch has been queued to stable release 19.11.13 Note it hasn't been pushed to http://dpdk.org/browse/dpdk-stable yet. It will be pushed if I get no objections before 07/09/22. 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/69e05f69da5630d54d60783a10f4660188c69fda Thanks. Christian Ehrhardt --- >From 69e05f69da5630d54d60783a10f4660188c69fda Mon Sep 17 00:00:00 2001 From: Gagandeep Singh Date: Thu, 17 Mar 2022 14:25:58 +0530 Subject: [PATCH] crypto/dpaa_sec: fix digest size [ upstream commit 841147ef973b415e8e21b6521e93361001ee2fc1 ] DPAA crypto driver can support 64 bytes size digest size for SHA512-HMAC. This patch changes the value of macro max supported digest size to 64. Fixes: c3e85bdcc6e6 ("crypto/dpaa_sec: add crypto driver for NXP DPAA platform") Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa_sec/dpaa_sec.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa_sec/dpaa_sec.h b/drivers/crypto/dpaa_sec/dpaa_sec.h index 3ecc7eae51..4b07b7d5e7 100644 --- a/drivers/crypto/dpaa_sec/dpaa_sec.h +++ b/drivers/crypto/dpaa_sec/dpaa_sec.h @@ -1,6 +1,6 @@ /* SPDX-License-Identifier: BSD-3-Clause * - * Copyright 2016 NXP + * Copyright 2016-2022 NXP * */ @@ -207,7 +207,7 @@ struct dpaa_sec_job { struct qm_sg_entry sg[MAX_JOB_SG_ENTRIES]; }; -#define DPAA_MAX_NB_MAX_DIGEST 32 +#define DPAA_MAX_NB_MAX_DIGEST 64 struct dpaa_sec_op_ctx { struct dpaa_sec_job job; struct rte_crypto_op *op; -- 2.37.0 --- Diff of the applied patch vs upstream commit (please double-check if non-empty: --- --- - 2022-07-07 09:54:11.544509912 +0200 +++ 0008-crypto-dpaa_sec-fix-digest-size.patch 2022-07-07 09:54:10.789823530 +0200 @@ -1 +1 @@ -From 841147ef973b415e8e21b6521e93361001ee2fc1 Mon Sep 17 00:00:00 2001 +From 69e05f69da5630d54d60783a10f4660188c69fda Mon Sep 17 00:00:00 2001 @@ -5,0 +6,2 @@ +[ upstream commit 841147ef973b415e8e21b6521e93361001ee2fc1 ] + @@ -12 +13,0 @@ -Cc: stable@dpdk.org @@ -20 +21 @@ -index 7890687828..b3f2258ead 100644 +index 3ecc7eae51..4b07b7d5e7 100644 @@ -26 +27 @@ -- * Copyright 2016-2021 NXP +- * Copyright 2016 NXP @@ -31 +32 @@ -@@ -231,7 +231,7 @@ struct dpaa_sec_job { +@@ -207,7 +207,7 @@ struct dpaa_sec_job { @@ -39 +40 @@ - union { + struct rte_crypto_op *op;