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 BB4734555B; Wed, 3 Jul 2024 12:28:20 +0200 (CEST) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 7631242E1D; Wed, 3 Jul 2024 12:27:35 +0200 (CEST) Received: from DB3PR0202CU003.outbound.protection.outlook.com (mail-northeuropeazon11011053.outbound.protection.outlook.com [52.101.65.53]) by mails.dpdk.org (Postfix) with ESMTP id DF9E342E02 for ; Wed, 3 Jul 2024 12:27:33 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=fBYraNjMS5H3O4YQrMO/FVbR8XJgQKel0EXNx/xrvQXmaqE4tNm2TZg2D/XPxpHACbEAnz7Ia1F6Tihj7gg7/DAo0pm2XU65HGwBklJQ8LQxAWc7kvT0/VFshFqcbTqK7yBU6Y8+cUomZrr6MQ2FoKoJG49umfibms78GuntokxM+GeA2ojNaD39uPBlWoCdIpN178NJvvERPashbGzK3GJDZmSDZ+y7T7lelgIwD8t/RpedWwMvwfhdz1IL37Da+lwaRzq4LPcvC3Pg+VTGpBRkHDOn87FYt71Y+YCtooAn5UzItTNeyS+bQMYfkk3Nb0cgsbMREnVO3afZGSwwwA== 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=VIbi+gj7pdNZr+cALrYwG1euzs6G+t2NJrXHK3W4Wd4=; b=Wjx3ucAOR2nyxwIJNTwQYlNLWis0B2d2ynx7fBaxcy05vkSJxSO3MKUafsbPUS/5ICFIRYjnHc5lpE8omK8/fq5a04kiHIuKO6k5WmRTQFzRGhvg+vp+1AFTjI+Y+icFDQtF94gnmqtvzwBjCE0DJLKl9p5ZIEr/BX2xwVy6w7cxnUUu+C4UaUbd+iPTh3MoNANlLBtwLUnGLee7cbkncwCNl+rgEQX05LBwktZIjhDgYBVkM8Ef/FNi5kzWUBxrLekOtxYzcJrhk+czOwnkM8hA6uU2IvRKgaUcqUM6QPGBwbKBL2rxgy+fb9vFVGegXFwGdxQsYEIcZ7SGGqs65A== 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=VIbi+gj7pdNZr+cALrYwG1euzs6G+t2NJrXHK3W4Wd4=; b=p/WwbovuCipa1dmqniJAwvXdnz/67eCdcp7MGoqA+EptScZ7LkRbQGAG2jFVzVqSn7QoFhvmSC4YBTDufb0rpW0IxaWdIZA8eV0RsX8v2l++ToY0/2zBP3eQOrkxiLiEzM4jH9RquUlWXLaK//VvS3iEHOmOZEJDQ4a1ZPIicfc= Authentication-Results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) by PA2PR04MB10238.eurprd04.prod.outlook.com (2603:10a6:102:404::21) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.7741.25; Wed, 3 Jul 2024 10:27:32 +0000 Received: from AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325]) by AS8SPR01MB0024.eurprd04.prod.outlook.com ([fe80::c634:479e:8f8a:a325%4]) with mapi id 15.20.7741.017; Wed, 3 Jul 2024 10:27:32 +0000 From: Gagandeep Singh To: dev@dpdk.org, Hemant Agrawal Subject: [PATCH 09/11] crypto/dpaa2_sec: initialize the authdata Date: Wed, 3 Jul 2024 15:56:47 +0530 Message-Id: <20240703102649.3096530-10-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20240703102649.3096530-1-g.singh@nxp.com> References: <20240703102649.3096530-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SGBP274CA0010.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:b0::22) To AS8SPR01MB0024.eurprd04.prod.outlook.com (2603:10a6:20b:3d0::24) MIME-Version: 1.0 X-MS-PublicTrafficType: Email X-MS-TrafficTypeDiagnostic: AS8SPR01MB0024:EE_|PA2PR04MB10238:EE_ X-MS-Office365-Filtering-Correlation-Id: 7c4a0f46-b84b-4c64-6923-08dc9b4abf98 X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; ARA:13230040|1800799024|376014|52116014|366016|38350700014; X-Microsoft-Antispam-Message-Info: =?us-ascii?Q?0eXS3Krzxd30MG15n0TBwmBiKQOLRa3J+WqP9FEgCiTzcH8xg93WGRcuQqMV?= =?us-ascii?Q?oA8HsSiR/6mhCPU8RxCNcU9RxI45aZxF6fuLjmDKWwR45tKSy4eYLcQggFr7?= =?us-ascii?Q?b3faILToPlenL/uE7YobipW+WwzUPp7VR5MLKtwc51AI347cBUdNXCkjW24V?= =?us-ascii?Q?JZGXh+JPDTYB1enH6RrOxLEbuA1/T1gkhrS4TSovusTQByF00AzQuWz+tC93?= =?us-ascii?Q?4rlZZ0Un5nrvcFcWJ2aZoaPiVGfSLw5jUD8hCmikkvPzfCw97GSixGStFNvF?= =?us-ascii?Q?K2nnC6ER/dlNLR46HFoJ239wiTcO20rVSW4DhBu2wuIiR3wRs23MRWdrV/uv?= =?us-ascii?Q?AP+MMEGyeSEA5zcjFJ6rNYzyhCGUvqX46SoXqOSea9ONI1qK1tHu1RQZgTb0?= =?us-ascii?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U4wczECg+20Lr+c7RaNV5?= =?us-ascii?Q?2PRVjq4Lnu5XO/CLevVngqb4Rgwo8tLBtlPe4EpLSqItYBrmcTz6zPH2YbV2?= =?us-ascii?Q?jai3Ss3msxkImqz6yvjAySWMZPFWJlD2hmRKw9WSnFhjIDgHuQ=3D=3D?= X-Forefront-Antispam-Report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:AS8SPR01MB0024.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230040)(1800799024)(376014)(52116014)(366016)(38350700014); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?big/KUjBeP69zhRtLRljYWeeQiJwE3RLvcpOEItOB/O9Z9l8FPZt3A+hNnyL?= =?us-ascii?Q?kbpE0JCiVtTc2icZZ8Esnly+K1A7pVdJ0+VGRCs6mZ83ufbRKatMHJe4SIuw?= =?us-ascii?Q?FE6IMlBfcIdAg7HHu2uMUiNeSnn2kcEj+qmyUXJ8AtTkli1JnyyM9R8ZTxDD?= =?us-ascii?Q?hLIfK3Nw4l0LnUUVRHvtl/8WJUe21H4/iGvGt9JkacmoA3c/GSYzf9DOXCs4?= =?us-ascii?Q?moFSrGXZsWuFhzb2+428PMHea1tEDMcCcNuIFfasDc2rOLZjDcq2bIrgmoRp?= =?us-ascii?Q?q55JVqebvKppjoKeLQj49T/KYgOEnmDhhAe0XWxi05AET9/anWB3oMMs9llQ?= =?us-ascii?Q?m0NxiH3KS7LEdhw7PNeLXDnxN168Nqeaj2MmGqGpwmX0K5TK6FFOac/bxtwJ?= =?us-ascii?Q?KcQxWFb6DZJpj1now6trAxmtxgs9W4wSd+9g9iVthuus2VUXZpXbEptL5Vta?= =?us-ascii?Q?VU2d0tMQVYndp+1XXSqJIJKwOQTMWKXqlmPVTOQTyptyNDSL1Eml7ulWi5nk?= =?us-ascii?Q?bR/3DHPP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86C+T/HY?= =?us-ascii?Q?lLsviZstWVyykPI65FMdL09pBoI2Q4deDR+NQ85KoaiWfljQzf3fmHTv9C51?= =?us-ascii?Q?JYILWaZJyP6SRdTlssiK0xBdMuVVzNmsEi8YlJ+GjIs0JASh743VQZ+91B+S?= =?us-ascii?Q?3chte3EHrOI6/B8Nzyiy0hKs1s6u/keUpYLzE8Ds?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7c4a0f46-b84b-4c64-6923-08dc9b4abf98 X-MS-Exchange-CrossTenant-AuthSource: AS8SPR01MB0024.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Jul 2024 10:27:32.8099 (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: GYTatHtkslRYIPQr61Aw6ejeW9SodmO2gYIZj11IJcY9hBpr5ftJqwofLoZDM+Om X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA2PR04MB10238 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 From: Hemant Agrawal This patch memset the authdata to 0. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c index 88cca1b429..e115007cfd 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_dpseci.c @@ -2218,6 +2218,8 @@ dpaa2_sec_auth_init(struct rte_crypto_sym_xform *xform, PMD_INIT_FUNC_TRACE(); + memset(&authdata, 0, sizeof(authdata)); + /* For SEC AUTH three descriptors are required for various stages */ priv = (struct ctxt_priv *)rte_zmalloc(NULL, sizeof(struct ctxt_priv) + 3 * -- 2.25.1