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 DEB1DA034F; Tue, 28 Dec 2021 10:11:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 9C1EC4115F; Tue, 28 Dec 2021 10:11:36 +0100 (CET) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10087.outbound.protection.outlook.com [40.107.1.87]) by mails.dpdk.org (Postfix) with ESMTP id 0FE694114E for ; Tue, 28 Dec 2021 10:11:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Ik3i+d60rEgkkfiLAU0DRvJC1VaFfuiAU9ZEPYvUBTC8wH0m6BVEdW93qXzCsmq17UPHExJpFJjIk5ahamHSHTGWy/ml8qA3LQoniwXsIEPRTOrUM6nx8ClOeHD6tcf+cNjDV0jWIsyngkMY6JRxs0ChomsaC4e/yRuerRD9wSbXSNT7VFGEO5tRNqvXq2yuqU+Uzozr2IEzgQzb1/sfoFB9MwFq5D6bpXeTx6R/jQRgi98DW2oRQTwTWHnnL99D+n55Jnmn6hUya8UnVcbGMuLv75NVssTeGWvjZKCqjK4yXU+4McMXEMy5WMNe8We66va/8a0iWL+oJr1X8ZuYGQ== 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=AgI5YXBXPY68zMzTA5gZ6jlg7wrOCevFG6WcniVJHak=; b=gTZNlBQ48+hx0fEClhNydoduI4lA0/KyeO5/QjgkIYvqkX+1wxe792ZYsLYnlgKHTTLqa1aKf1EveNIgw462hjNGl1AMEi63LQvZ/1OONtPsLro0Bt8WPr3spfr5OmTN/49nwI/Xzh6dXHZtc28ms+j6oURT0og+zm83+vNRcpC92kCgWYzYd0RbQ21jmcppKjwKMyukiCKAzgHGRMJfrm4Hl2QtwPEbUgYciuEg86iIKUsYveW4jfSKV6efCMRguT1oeHXBjYYwIbA7jr38Iw61xRcvhgu4ztF1sywHNKAx2nOYGUe/33iDvzq/xZRVgYrNiHFFVuhpaltE1VgEDA== 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=AgI5YXBXPY68zMzTA5gZ6jlg7wrOCevFG6WcniVJHak=; b=mo60p1HJ6zRNPZYI3KNFCSo2nJIdbdZoSuv7yXaT/e8hnhy8Br7NKwkZFLphmKe/Rm2MYMZTzZv6ngMYQ8+tSjdWbi9auiB9J9l9f8RYyx3uxaTCD2SgenVmyvkJAg58PDymFB0NTu/qw0LKVrU0TVjWnk8Jzr5johsTjq0kMwM= 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 AM6PR04MB6135.eurprd04.prod.outlook.com (2603:10a6:20b:bf::22) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4823.21; Tue, 28 Dec 2021 09:11:33 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4c23:c171:682e:9085]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4c23:c171:682e:9085%4]) with mapi id 15.20.4823.023; Tue, 28 Dec 2021 09:11:33 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Hemant Agrawal Subject: [PATCH v2 5/8] crypto/dpaa2_sec: change digest size for AES_CMAC Date: Tue, 28 Dec 2021 14:40:55 +0530 Message-Id: <20211228091058.3620177-6-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211228091058.3620177-1-g.singh@nxp.com> References: <20211220102710.3083370-1-g.singh@nxp.com> <20211228091058.3620177-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0118.apcprd06.prod.outlook.com (2603:1096:1:1d::20) 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: 90784d39-b43e-4c35-b1dd-08d9c9e20a9d X-MS-TrafficTypeDiagnostic: AM6PR04MB6135:EE_ X-Microsoft-Antispam-PRVS: X-MS-Oob-TLC-OOBClassifiers: OLM:1107; X-MS-Exchange-SenderADCheck: 1 X-MS-Exchange-AntiSpam-Relay: 0 X-Microsoft-Antispam: BCL:0; X-Microsoft-Antispam-Message-Info: P5En7XieqEtj9IbOdAofpRiBfyPu8FwlLzAoy7XendYlST3kHJEx0Ao+tI/4xECa60yaHEvnt7xuVyklDS0j9kXBc3TThm1hI8+S+ckEj+1kmRkOwEWyflVkMTprtGkNlj9ppZABLA8TxruGrXL73cHyEl7UNv9e72GTrmeKpcBhdz4qA5q7pcVddqKJ8LQrlJ1Sl5ELDQ7+3YdVF9TJGe8fxUdSZ7L46Dv9BThFgjKfV4yFZcxlHTDlPK7ws7kuxnqoFpX3J0aNd/7dETqWWhbuJj11QfYi6n1OQREr5+YqDK0zRXNjPCbfOlLTzrJ/nvynCCaBDdcZJnrHHYA0DnnmApSyJo0M6S9ng9z9PlgCq0lPdco4B/CdYi6IYkAPwqyqyWSnVdH/EpzxErWPgzZhyOT2irqZ83wKmmk0K9nKQDqEYFCjiTbi6dnM09e9SxX3N60Qyx0ONEYM/WjAK0FUC+vrOOYnV26L5ljuyxAOhrsX3yIBNn3Ani4S1UJ8UPiB+wA5EPBgDX16tXWrbFuY5LZzII1UFS1xEDlvACRYVkddiMINEcM9VCQ/LLxe8g5JT+GfaM5CK1Mu+jePaqL2BV/G/fR/JuzNbNRn8Wiad9JIlZK/Z//H5PiGLEDSQQlWuwJRdoVBDMCDkd3iCvmFC9ZoQ2XDjBUoeQJGViwXrvQbTiAuHdIrrAJQKuXuyf2cJLNOnrA+peQBkj9GRw== 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:(4636009)(366004)(316002)(8676002)(2616005)(4744005)(6486002)(4326008)(6506007)(66556008)(66476007)(6512007)(6666004)(55236004)(38100700002)(38350700002)(36756003)(52116002)(83380400001)(2906002)(1076003)(66946007)(86362001)(26005)(5660300002)(8936002)(186003)(508600001); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?ARNgsuzvG/l4Hp61lkaSXvF4Z1UjChrkP6YiaOCP/BjKH+vh3fBBztE4U5c5?= =?us-ascii?Q?T+QRZ/WtOymnRr1RtbWxDakfibzj586SCA+3hWai0DTIKTOkwmyugpkFthPb?= =?us-ascii?Q?AhtoYH5MhoSifbY/Zn4Pa1SRE8Q1HbrbGx74pY25B+dVHT/BoSNEU+HjNwzy?= =?us-ascii?Q?t9DvgZCOkruQ8f9aBkmymD8Imv1kZ8GBNoKeiSFPr5tYovUUEA2CAjE7929O?= =?us-ascii?Q?rtqucitoZe830HMXtkQifBrIyAyF588kRDSVW/sFeXEXvnwksBohPJrMH3av?= =?us-ascii?Q?l7XGwNkpI7Ma1hAdjhy0SZRXHesyScffVITvIFW2Ttlccx1rjkvZvmb+pqVr?= =?us-ascii?Q?8a/7f13Tny+a7xM6pY18tfBcgHz92J9S4qe5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fuB5T1eYmVUT7FlNDEbx69/0Bj9O22cxpbdnSvjsOqiCWX9fHHsHX?= =?us-ascii?Q?r3gNZMhJH4a2cFT9118VVVdqU9a3D0Cmc4Y5nk2mY9alt9oWb6mhH8JLKyyv?= =?us-ascii?Q?n9FQ1lld0LZWyQzJB8DiPurCI7EVe5mquSxV6Z216F0cjYzVwUI7YyM6pg0C?= =?us-ascii?Q?SHgwClDTLJqbTBRbIzITAKlAV4B6RiEUYlne3lpFodfyUAQFDgM7XTbdqX2V?= =?us-ascii?Q?KUDrw+Hj4R2oFsvk82czQS6iRXfhnSGV0+tLON3yZYPLhq4ZR9o4aHEHBTks?= =?us-ascii?Q?FTFKBYrreLHwfuMG13I=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 90784d39-b43e-4c35-b1dd-08d9c9e20a9d X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 28 Dec 2021 09:11:33.1452 (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: RK7GjBlGBf2XX9rE7bWGiEnjw4uyH3i84b2ytww9zsoUG6Fe5eNoRdGTVmubJEt7 X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB6135 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 Change the digest size to supported value by the HW engine. Signed-off-by: Hemant Agrawal --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index 6aa1c01e95..ab652936bc 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h @@ -579,11 +579,11 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 4, + .min = 12, .max = 16, .increment = 4 }, - .aad_size = { 0 } + .iv_size = { 0 } }, } }, } }, -- 2.25.1