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 C953AA0093; Thu, 17 Mar 2022 09:56:34 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 149B041158; Thu, 17 Mar 2022 09:56:27 +0100 (CET) Received: from EUR05-AM6-obe.outbound.protection.outlook.com (mail-am6eur05on2062.outbound.protection.outlook.com [40.107.22.62]) by mails.dpdk.org (Postfix) with ESMTP id 6095D40151; Thu, 17 Mar 2022 09:56:25 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=AQhNI+hp20iVAA+h2R464JdqS8/tUYectQbdIAeHsSZb73AOzF+VpD3ohip7DN1CmKdzIQNS7Y38pW+YVQ5/UpixSn3wtoTyc+oeyLqHKq2ne7wgh4OxKd5dvG1FsqyUaujpwCVjkAqvwsUUNa5TZ74UNtV/mmGG9phFtsfjmdtkf1sGOtc5t9eLQQzmhhVfyjlm/nMyHEB6NCRgYjTXka/JKsLKtwv30lu+7o9Fi38oGd0kKI4yKBpG+VII2fNAnMFbxOMeCTGOSMi4TRvOqH2RUMbcYYYcWDdZyEqD9DCWScQ4gjSE7IXaNdM06z+DqUrNeBlZADMtfGBTRQLbqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZLsSbcQW4ba8l6sAH0jSvkHftRtV/HM5cuVfXrdYIsk=; b=iTQsCtSafz4aZqtlrs0hn7qnGiEG++wnxREZYEXWSCZaNUgNK24Kt29o+2+sulPza6cYcrBhxXZcjHkOTr5lBUayeCAsHjduqOyJg0+idkMO/EwwlegZwbL9TKgzfD9jgkWou/umB+ny9xM47XpdVKoPhqu5vItrufF7L6GrucMDMBYpHYesZ0EUm1yfarBb5bFqNVV2UQKfPRl54Z8LHJeOzXiSLO032a8dIE5EvtZtrT1QOqdYsDUEPDcMPU1UzB6GmrxuKyMtLwlAtbTPSY+GSCs5JDl9M0e0lCpxmkZJNOIKisBnnjSSYjcNT72mB7FPhUnD4Mr946qp0s5ObA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=nxp.com; dmarc=pass action=none header.from=nxp.com; dkim=pass header.d=nxp.com; arc=none DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ZLsSbcQW4ba8l6sAH0jSvkHftRtV/HM5cuVfXrdYIsk=; b=lmLz7lQnHr93+1FqdNB4SspDjifb1caHHwmo1Bn9240/ZSH/iYFYzHMWJc+Ao2TyZFHD7Af9MKbTjcoFSSqAVDJpMRoKlbcIIZS+uhpDVrLAkQRpMoDWazXARuRndQ0VZMV4fJEovG7Yj1zhJph5brebQQsEDrTPT7hzg4OEhHg= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by AM0PR04MB5458.eurprd04.prod.outlook.com (2603:10a6:208:110::25) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5081.17; Thu, 17 Mar 2022 08:56:24 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::c99e:702:9368:f27a]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::c99e:702:9368:f27a%2]) with mapi id 15.20.5081.017; Thu, 17 Mar 2022 08:56:24 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Gagandeep Singh , stable@dpdk.org Subject: [PATCH 2/2] crypto/dpaa_sec: fix digest size Date: Thu, 17 Mar 2022 14:25:58 +0530 Message-Id: <20220317085558.2575554-2-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220317085558.2575554-1-g.singh@nxp.com> References: <20220317085558.2575554-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SI2PR04CA0004.apcprd04.prod.outlook.com (2603:1096:4:197::22) To AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-Office365-Filtering-Correlation-Id: 1a0b5935-58ba-47a1-431a-08da07f40393 X-MS-TrafficTypeDiagnostic: AM0PR04MB5458:EE_ X-Microsoft-Antispam-PRVS: X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: wB+nKmzdh92g+GbLfDeUxFON1YUIcAwP7E5sxgu6Mk3mrESHbYzoamTp3TqGrjYmEP43Jp29Zdu41VT9UVLIPuVtHN6XjbpUL1uBxPlOxthn+wvZDMoNAXeQuCuKPS6NleryuR5IpWJBNNSe07pdxtSjlGTXTpZ2yoy81XJTU2R4CcWJeMe8yI71n3Q36sTp5HWSEOexaHjlmmdhuw61gqTv3eaFwZtaRnYfgxYnjOb1z/dLlXh0VuqfYgkA3J8mdXEkt/QsJYpxl/X6l5/zYE3QFXvYhzDZAFy9H405cG6fT+OwBYSjWEYKXJ60pdXCQDuzWwCcACMv2NXaZP/XwyObsk5l+VHNy9/F0y3RQXBklTy5eoIFul/Ty8KSiHGRpefo4dFKqplyVCa067Td542L2MBCngssnxdzSLOBXDhnxVGStHs/5YCx0S0dL9PGtgc0QeXKt9vbGmKGFXoRfH9xRD++N0PqTFdlprD0X++XJqLhwfMZcDp7OvCqtVIXR42iCKY6LBYDjWMgT8HdtTTFRX4P6mFmqZ5qQXEALkq6iBD3eJ2PFlCd21uFZCv0vN/VR0quvFT89Zt28b8SbuQLdzgkw695lssAMUElCmelzke6/wE9Krpf4yLJ9ofnINNeCUayK9dW61DMOg7xEXRoU5NJCKLOTVJ9tl2LgKNvEtn4GKGdfNrOASgcuszKq1IlVMospDTCwz79b6PS/g== X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8PR04MB8198.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(4636009)(366004)(8936002)(4744005)(5660300002)(52116002)(8676002)(4326008)(186003)(1076003)(2616005)(2906002)(26005)(316002)(66946007)(83380400001)(66476007)(66556008)(55236004)(6512007)(6666004)(6506007)(38100700002)(36756003)(38350700002)(6486002)(86362001)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ttN7XumfixGNwovvvy6HwJmX4KMI49HxUFDQu+pFiLW88KC+Y3rFiAKiMntT?= =?us-ascii?Q?d/dKz8ARO1aTQcWVx959nY4HBZZpu8RAhxoURD+Zqh6FicT06WxpfjAUQf3I?= =?us-ascii?Q?LgB1FhKzpS3T5NVkc/fnNszJei4B1M323R6FNWTST5HnpYWyJB2EBeH6vpQl?= =?us-ascii?Q?nSPN2aRGzN6Q/TZAugs8AUoLz4+n3sQivUzrtSUBo3fj1079cOniHZ9zwbX2?= =?us-ascii?Q?yb+L0p+8P9W+5+J0cXAt0KZXjSJ8FLbOrEBBZF1dI8bFRnRn0nCbNU6QuMGI?= =?us-ascii?Q?NwpAZipD6K+0BUq1fA4aH8TB9X0a3gFwQnpc/+kyBz1hKl7sk8T+QN3NkGJV?= =?us-ascii?Q?1KLkEgOtdlV5DUDNKNMWsMRUf6NGyqn2PBtT1RBNYLWNZzoUF++T0IHXagYJ?= =?us-ascii?Q?Y1yD6JiqimUGsvug4eBiVKSbD9USa76eg5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Cd3sFxINwPUDx2rOhtGK0Jt2KIEM4l29EA5V+kgc8rW48?= =?us-ascii?Q?ZRPkwApRW48VNIfFbd6Ih74tpX59DhGQitTfKsSrxGKXC+KE4WRg/IlHeb10?= =?us-ascii?Q?wS5lvG0aBT43pp7KMAiTDpGZd2EwdByu?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1a0b5935-58ba-47a1-431a-08da07f40393 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 17 Mar 2022 08:56:24.5055 (UTC) X-MS-Exchange-CrossTenant-FromEntityHeader: Hosted X-MS-Exchange-CrossTenant-Id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-CrossTenant-MailboxType: HOSTED X-MS-Exchange-CrossTenant-UserPrincipalName: gDcQXeoHhz/EwuopMbyC62Hh9vO28FWB6B4r+CBb5G+zHOr9D9VKq3tUS02R2y/2 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM0PR04MB5458 X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org 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") Cc: stable@dpdk.org 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 7890687828..b3f2258ead 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-2021 NXP + * Copyright 2016-2022 NXP * */ @@ -231,7 +231,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; union { -- 2.25.1