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 EB61EA00C2; Thu, 10 Feb 2022 05:32:22 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 6FB3E41156; Thu, 10 Feb 2022 05:32:07 +0100 (CET) Received: from EUR05-VI1-obe.outbound.protection.outlook.com (mail-vi1eur05on2080.outbound.protection.outlook.com [40.107.21.80]) by mails.dpdk.org (Postfix) with ESMTP id 11C744115D for ; Thu, 10 Feb 2022 05:32:06 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LEBK+96ocbsRcoTE2hkEIlAPcQeXYyI1Fk8E/kiuil6FT8C9FSS9yvGngOgjPy69+76BUQRFXo0lGZBPjc2JmllvQr0DXsa7rsIEVYq41bMctwiML9JAvs9HcNrz2PacU+6vDWwZtUs4DFKRSeL6fi6oVtBopWGKNPCMBUz7Uv5I25DWeBDxsgI64zZtvIgS5qMtXR7xsm40aaIA0Kg8LsX5vlx0TBkeWH6b5kE3KeAoqKCWnLhmDICoy88eRbW3SSxAxclp1CmRqe/1/9mgF87EE/YAWcfWA8GA9nFsIRI71H8XajMoB2dTKyVR4qc5prDB9ZYOuzGE5+7879XPLg== 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=1cqG8ySax9Vc0SSEJibvrZhKhuzkg6WQaJhBluLpF+M=; b=UguUAJ1HxqhviXf2ghRPFkYmur161kp7pJJ0QPwracelP78nrqZeTPOlER2ckwerQWcK/Q+sU/f50CDC3SrwwMkSNOCC7tVHPsVr3/EV8Po9B7sN2BHJ2QzBy75kMaKDUZu0YWSrGi2wJY9Qc95b/ict6ydQ3iuTM6XOyiFXrmRQo4AYAYeLdeAVTyJGwJ8GcmPsKfcZclIrw/AQ9W4q8K91sSjGU0tMoMq7+NqCOzG5ZRw8sA5peP9Dg2iA4ewfwLnaR1xfLDksuO/bW2sdmcrD2x6g/NCMH8CL4CB3vZRWYvf8TC3Vw+gNRDN3gLlamCBHqyXe6aHNTREzGSf8hA== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=none; dmarc=none; dkim=none; 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=1cqG8ySax9Vc0SSEJibvrZhKhuzkg6WQaJhBluLpF+M=; b=sHxtcCsGM7i4GntB14In8jLaBy4Cya2by/eLiuDqwFQtLuC9nmYmpnMt8/w+rikJaTEMxCtOIG/pA9MHqO0lbTcpj06nt6ei2sKm1j9+YOFxPxnQFOWcCtVJzPBfNqL+1oQzu6uyTANDVXCYuIHOznaxaesZCa6VPbYEbmhoqeo= 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 DBBPR04MB6106.eurprd04.prod.outlook.com (2603:10a6:10:c5::20) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4975.11; Thu, 10 Feb 2022 04:32:04 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4146:965b:5645:9269]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::4146:965b:5645:9269%4]) with mapi id 15.20.4975.011; Thu, 10 Feb 2022 04:32:04 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Hemant Agrawal , Gagandeep Singh Subject: [PATCH v3 3/7] crypto/dpaa2_sec: change capabilities for AES_CMAC Date: Thu, 10 Feb 2022 10:01:32 +0530 Message-Id: <20220210043136.304845-4-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220210043136.304845-1-g.singh@nxp.com> References: <20211228091058.3620177-2-g.singh@nxp.com> <20220210043136.304845-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG3P274CA0003.SGPP274.PROD.OUTLOOK.COM (2603:1096:4:be::15) 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: 6e7b48d1-2287-44b9-ec80-08d9ec4e4a12 X-MS-TrafficTypeDiagnostic: DBBPR04MB6106: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: dC6QzTtdoP62nvgi7WNnviK4LKAel7113PMREy4gZM7hSRmt96qcB0WUz7hakyOZWUyg4ADX7NoSVRFLnx7ea55GTSqhpBfixunINIe6j9z+ZrdRT9/zqZFxvfnw9DkoCO2E7bMFq0sZYDs9EgKik1tGJTFXhZsJFgqJfltmTZGEQs3GC1LK9fQuHSrtGdfPQ5im4BBtEOL4Q3TZ0G+9CuRgFS/+vlEq8ihCLJV0gG01hzc8yrHCYIKGkidY/W/A2+x17w7bkMjJLQJOAKHm/1ayIDH+vAw51uySeBUr8gsAYMdMGua7QgGjLDgqHfJW63aQbISQpJPPd9A/g2ppj4Y/7ZENZYAy+iaZoBehnM274h3WrsAvgRU4sTpb3OB8z3bxIwPK+o7iG9vOgSCzDSxueAS+GvZA5tNI9CX/b3z8rA/M9V75U0Q5pTeFJPA/Is9afjqPdBFV/wf3ZvFvS3TdHUcjVu3GGIKeoou6qGPu/8YiJ6TbG/S/2yqwo02FI5Tuyb6XuTZV7R0qpnSaoMbhDwlYyvyNyYdi3FI6NSnduY2hRoABF+XQvZrJAyuyEEvnFfLpdKBIOHppyF4oCMUM84M0bHLXlNLT8jVym7Pm04hhFYulXiwvSdTCoVhFrRvbZx2/QANQjZMqWaNWWue3QVr3eG7/+AfAhElIqWP8T28kXk6q9Qw/me8QIaCQPkoam9Qn6KgISBnDr8vt1g== 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)(54906003)(66556008)(6486002)(316002)(66946007)(4326008)(66476007)(8676002)(508600001)(36756003)(86362001)(38350700002)(38100700002)(1076003)(186003)(55236004)(52116002)(6512007)(2616005)(6666004)(26005)(6506007)(83380400001)(5660300002)(8936002)(4744005)(2906002); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?TeLG7OR++NVYpouV0cuDLZ9GrhhrXnPdzpBKdF+94cfl6OHtQuVcnM18ntXj?= =?us-ascii?Q?1j/6ezbtpUPC7m0N1OjITT0Fr+AqV3LvqF/XLncFkZ2I67VYL/J0bQz9SHsy?= =?us-ascii?Q?/mLY/TVGyOwoV3iSHbETPS12lkQpfNA08zjDkxmOmg+6E9+VopgrmAYoqxQA?= =?us-ascii?Q?nIY5xLlkLCsCwATN7t9nto7rRDRj3Y/5PY+Pl7gPpKz4G5rCH1uhp1rXO3p5?= =?us-ascii?Q?Y4QufkAK57pcqM0ecueZB19nWgcwljjw34XYyn6JswNm5x83BBbtjdOevXu0?= =?us-ascii?Q?EUwb6bBlomWz1Si/I8KDtlarHRs8L2kZ58dHbZNmua+JSxMxHVEck1J0A1ze?= =?us-ascii?Q?7ND++VmBkEVpSLTZEFYCOVYT1b0sguCgkROFHtf0nIShENNfX58ujtnB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22cwAvrMVc/tkemX1YDh63e4XQl88?= =?us-ascii?Q?TCl/3N0gw4zvW3nXYtU0DcfJrEwkJTXbBbudccaZuqRoC9f63sSk+ktZjFXH?= =?us-ascii?Q?R8FKQjPZk8lV/5NUAhJtIqhMoVgF1OtvGwjJpuvL3J8sw/O6tQeRxBqSC89s?= =?us-ascii?Q?a+QvUhfqDq3d8zhi9EzGVbvhYCVWbXGA+Mak2o/vZrNHM7bd7VoPA3QoOJzf?= =?us-ascii?Q?HgpYCAYOWWQ9zJSDdS5SagkXQ0X2juI7/xP5aQafej4K02rakSjDg/Hmmv/i?= =?us-ascii?Q?WEBAYYZ69ZrWPi/qZxk=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6e7b48d1-2287-44b9-ec80-08d9ec4e4a12 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2022 04:32:04.8524 (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: 2Haql415IDnToiQTqr+lOFHSYd5YUUqZmuqoAkWNJOHu9xue101WH+B16sXdi1zq X-MS-Exchange-Transport-CrossTenantHeadersStamped: DBBPR04MB6106 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 Add IV size and change the digest size to supported value by the HW engine. Signed-off-by: Hemant Agrawal Signed-off-by: Gagandeep Singh --- drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h index 05bd7c0736..a8f9440632 100644 --- a/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h +++ b/drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h @@ -549,11 +549,12 @@ static const struct rte_cryptodev_capabilities dpaa2_sec_capabilities[] = { .increment = 1 }, .digest_size = { - .min = 4, + .min = 12, .max = 16, .increment = 4 }, - .aad_size = { 0 } + .aad_size = { 0 }, + .iv_size = { 0 } }, } }, } }, -- 2.25.1