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 01436A00C2; Thu, 10 Feb 2022 11:59:33 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 82489426DC; Thu, 10 Feb 2022 11:59:18 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60043.outbound.protection.outlook.com [40.107.6.43]) by mails.dpdk.org (Postfix) with ESMTP id 92588426DC for ; Thu, 10 Feb 2022 11:59:17 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=Km7EUVX3XpgCum+IaPHz29GJTe9lmhcPvXIBF21Kmp651Ju5dnO1KljOQE24b1nRNmrB9tKRBza84UVouEF66Yj6a/5abhgfQu2ejtmLvFpQh/xA8kAcvA0pX+VrkASpUtIFqG9TfZOoCK0HoK5syFlu2oJ7pFyhyH29Zt43oAxh43ixP8K1+18aWwO0ISafP29B56sBz0YiaQdKttQxBgYCek0kw0ke15BCVeE7YIzM/um+V//n7ifyJ5iW1APBtx6aDQ78VbucXEVj6b606fPpBM3GwEbYPgImnCefKh/zbjpsk49i6S94hS8ombOLGZAhCbUDBUHfvTM6XGcO3g== 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=esYkFa/061HvzxIlmFSil35MoQhuqWiHDrfVFBOMUiaMob4RJLeP1Ba0uKJUKKrYP8m8e8WGP5XZCMFEQ20cJHoxcsWOu8xxZvXdfZEVABbKgTtD17k9u/uOqIK/n9xhoj9LBfg+APvCsFTsuqKGWWR9M2pNj9F7HatgqkNZ0VFCwUP12o0XDQDcHUb8P0N9nrtuHH2A0+C8Vcia4YzbWdoB5r+tSRigICw3CH2Gxf8gbzbfT/ytWcJGfig949ShPJX8TxY/BMI3ivRsR0hQpKm556wSm9TBWXRxpEEkHTBvBHtVUI5PeKNnamiJ0QQZUonRz9oF2toEBuI/aKc0bQ== 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=Vtb5alBTyh1KYfJ3bYD80VEEVbBVval23HzkinxrenjRXnSb1fynBgAUom+5Li9zyOad6y2bsN8Vd95ED2+kIvbhb9e82/0S8GI1hVMHMTl2kIejmLgKs4Ye4jgDVzve7UFF9YNnV4W+yCZsA4b1tzMy0QvTR+QnGkcOgDgd460= 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 AM6PR04MB4294.eurprd04.prod.outlook.com (2603:10a6:209:4a::13) 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 10:59:16 +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 10:59:16 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Hemant Agrawal , Gagandeep Singh Subject: [PATCH v4 3/7] crypto/dpaa2_sec: change capabilities for AES_CMAC Date: Thu, 10 Feb 2022 16:28:48 +0530 Message-Id: <20220210105852.1268506-4-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20220210105852.1268506-1-g.singh@nxp.com> References: <20220210043136.304845-2-g.singh@nxp.com> <20220210105852.1268506-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR03CA0092.apcprd03.prod.outlook.com (2603:1096:4:7c::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: 59ae02ea-ec75-4aaa-88a9-08d9ec846151 X-MS-TrafficTypeDiagnostic: AM6PR04MB4294: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: FXavQvRdaW4R8AIoJ6AFt3SC65XKuqA8CPHEKjlJcy9sOJVPljXfbSrvBpQhoFiTEZlDKDTnhAxUgZui9Jb4xp4UhWWCXdGkCi9JxFq7NRnHDogzeQd99YTcj3ngY4OTzChblqK7zzts60vFFy+aWO2JxnF8B9lIeddfr81kNCDu+FLwygcAhDEqejMeYp2HE4eOO4GYWQOqccOicOIyJsR96Kb75wx37+XUTDUplge6mHGb7THSg+lRMHR1N+USRhbTTBGGT7Jt77xL7dmWyOvfE0TR1fOQiRyCzj4iUeAH/vvDA8jeM4XXbRnGqrCWgkQX1mAdso9oY7B/kdCdE6X9MMkfGpM/+hYF7l7nR3Ef45lHaTNDobT/mYtzf0wQguZH8wAgdssqX+tW4b/ci+7PPGB11nhISUGeWGQkn3ZGvtRhlnzq4Aea5BDvoXMvtmVJ74KSroTB5fvas6e40NOU/YJR9XG4FXpvA/HL3oTEL1cFuPuTdPsVRyY+8JG5JdIw0Ma3yHgy239fPq/um6vj1A/8x90fnwOhn9ktOVjsrWWeHCzO73IZ1kyu5FFgPwOL9Z8RNr6HcWDb7JpomuM6KGVQyE7K4hiqKQrZGXBtt6OjnH75AS7jYiIStVQg4QuiEfTg+3rENJZraMpFWb96DdfkIMSdmRTjGrezhhnBDQv1vcIVnUQnmFIahfuTxbGrObeGiP+Eemm2jpaiFA== 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)(6666004)(1076003)(186003)(86362001)(6486002)(26005)(316002)(508600001)(66556008)(4326008)(66476007)(4744005)(8676002)(54906003)(66946007)(2906002)(5660300002)(2616005)(8936002)(6512007)(55236004)(36756003)(83380400001)(38350700002)(38100700002)(52116002)(6506007); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?LsEYTK3NKALkpne4/5zMxN0bhnIRh7QWVr/t9HpDME/vK87Ucnp3iPEOsMtl?= =?us-ascii?Q?x8rejBHFTHx866n58fGZkMyEIbGNzGmtWWsxa8990nqOPaRKvE/rs38vBpog?= =?us-ascii?Q?BhH93mKCFVNEnf0KR2G1O7cDdsXGpavsfdWfu8QzFyrs0y0AFMRiTOvAqWOm?= =?us-ascii?Q?KrIFAjvaeohijZU7/zTduPFke0lIlvJNWjDaheOc5X07axPf9MV0g5KP3axH?= =?us-ascii?Q?mGoVMmYbRDmHvn4wkLiQdw840n/O+MWL6HSadF6haYEKKOaibW9uYZ1kvBed?= =?us-ascii?Q?sJ6sX4JXWs9fCntRhDT6id3JH7xoygo2MIP94J9j5eWQWjXDbbC2eSlnJtHF?= =?us-ascii?Q?RxBR1/Lt6tHcJyYapMEcPt0/Y3jEh8a5DSRdZ1NXAqp9LGn6WZW2GBn9wZoH?= =?us-ascii?Q?ZP2ExR9OOZDqHTggWn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iBMAyxbMiLwr794IJ8EZj71JOsMCjN8qCrE5BJ19i6/z2E9OIi9ory0/N06?= =?us-ascii?Q?q96+6GvCL/QSzSNC6WAHfFlVYQ9IxhtI41iii1goeUJYsvDfmc5qAfvvyJYu?= =?us-ascii?Q?Gj1pYpjFTqQPRz1iRk0PoparouTMypeOmDe1+xRIg9JgzMDRx616wS+HFJYJ?= =?us-ascii?Q?nS1pJl9GirIJgf9ODsJgrLoVoerHsAAKvAQinUs3uPWjU4TJep7EaNuC873H?= =?us-ascii?Q?9ggMC8dIh39L9cb7MrY=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 59ae02ea-ec75-4aaa-88a9-08d9ec846151 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 10 Feb 2022 10:59:16.6425 (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: cn3qDIPr7IZjAzX+diZqM/P/C61fEet3yDlq3KvM18aprixRSr1TFBRB0rFqxkzM X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR04MB4294 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