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 746C7A00BE; Mon, 20 Dec 2021 11:28:10 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id AD92941155; Mon, 20 Dec 2021 11:27:49 +0100 (CET) Received: from EUR02-AM5-obe.outbound.protection.outlook.com (mail-eopbgr00067.outbound.protection.outlook.com [40.107.0.67]) by mails.dpdk.org (Postfix) with ESMTP id A5A5B41152 for ; Mon, 20 Dec 2021 11:27:48 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=CKsPMax9caFnh1c0rngd4Hr+Tp4r2gDfTsDarb3jO94rspaq5FN33zSdvmCjSLSOB/7+ylIxGN+KO0CXrr7jqWt7Tk6ewGdRerN3YNfb4ssWf54x5BWCL09nUMFBSHZZmjRBJLnDfXd8TudD1XJjIMAGSGaGvBT2NCSINxDvIVw842qcDVXORUw3LnguymdpHiV2eg5fuNvMb1KiglU2qKoy+7jr7wQz1Mqkv+pu6tV/UziIWVPuRqmrYPAEIycBrXAikJ9+5SOKAlLTgLuTaL2Khoq6Q/3gPyq2AvldiDbSspryGBnV/AvyYnfOQT/GBi3deloAZD5JbXj6q1VTkg== 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=kROkX2E3Sy20FtFKR80hThrF54u28VzdTUJ8ONtAyGvDg6/HOEibkGCsGV02YrQMsFMoNOHBoa9FwPbQWnMTWUxdtK0c24oLy8qUja4yMBncGwgRvzd/RFO6AATK6Ja5WpmLF1uY5XzQkTeMIcan8n1grM96Zv0JT4rBfPa3IuA0Oi2BETkhQwT/Mss7/5DJldlMW0Ke+VqDIi5SdLLJ4EQzJyB2+6xU3UZSsvwPwrVQzhKKfJlZ5RKSgzymWSjKA/XdgjmPXjUppzlTWHRdRvIT4ExvzjqweDmKGAqUjsCnfEDSYV98keME5dCIUkjNbZbi276A6D8joOSGAQGCjQ== 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=jnXBvDWeCDDGVTrAHeLIY3zbcxQQDooBFMk+YTSoBJjqfrx3jAtcufeVnl6BY84lVe5o+FUmXZMLgV2jJ1thBrSLVa8UpxfVPSKa3Azh4/yGeS1i+MHUgML2NbHx6fHVo79AZzEgn8XKYOCfPwKirPDu5ixW1KQoNj9AJKv6hWg= 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 AM6PR0402MB3703.eurprd04.prod.outlook.com (2603:10a6:209:19::30) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4801.20; Mon, 20 Dec 2021 10:27:47 +0000 Received: from AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::71ab:27ce:856d:5aac]) by AS8PR04MB8198.eurprd04.prod.outlook.com ([fe80::71ab:27ce:856d:5aac%4]) with mapi id 15.20.4801.020; Mon, 20 Dec 2021 10:27:47 +0000 From: Gagandeep Singh To: gakhil@marvell.com, dev@dpdk.org Cc: Hemant Agrawal Subject: [PATCH 5/8] crypto/dpaa2_sec: change digest size for AES_CMAC Date: Mon, 20 Dec 2021 15:57:07 +0530 Message-Id: <20211220102710.3083370-5-g.singh@nxp.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20211220102710.3083370-1-g.singh@nxp.com> References: <20211220102710.3083370-1-g.singh@nxp.com> Content-Transfer-Encoding: 8bit Content-Type: text/plain X-ClientProxiedBy: SG2PR06CA0205.apcprd06.prod.outlook.com (2603:1096:4:68::13) 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: ad622267-c1f2-4598-50eb-08d9c3a35dd3 X-MS-TrafficTypeDiagnostic: AM6PR0402MB3703: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: +SyW0jJExope4aRCfVWC2LGnzEgsDr3h1fh6WeedM14+L3ckLIBgGQu2yWMEaIovMC3K6F03NFfH5H7u2BaCDTL2NmimQm0Gs6ChwBjnWc9eOlhycEMqsDAinCkZMSUZx5gSOtKdNtUPu+pABSGo4hxGiK2ju+sfkG1pumwJmoMC6paNJUGMYTA7Jzs0OwnO/MLK3aBTYJbr1nKbgWI9tY79rrbKaqU50KipaJkYvnXhGamV+nXFIwF+NhqnrTLqL2KXg8M+XOsqXBUoud8F/WKOr18byadYYuR14swxEg8cN9tL6wxyJpM2lbyF9cRNT3uja8MXVzhnstfR3C1joC9VaAqkzScewXmDPM9FFntDe99kDT73J89JjE+ciWqQZ6SAVkbPxLQaQQ8kd522pp4YPOXfmbzTyCi7cn5+i7XDCcOOyMcL59xYRQvSGWN/H2dtdQwo21b23P48x5ZbymMclbjQBmuBWdso5a3NaVBI/2lQNnYBuaGJ62LB8IEwkogTh5WcRzyX9fY7XSTfJwV3/9wYZqaQPHZNm7xJ4dVJRdOVwjDhX5eLaTMNwrFB3knKhNuD+xYuL/M7a7N7HJRGxv+wPd5nC8z04khn3wyASYRzOPWRoxJu1t3f4md96W203B/jWehO351X6Uoga+hH2M1p4p7beeYnyF1hw5U7oL94KMs8FkgFOsz2ELPhlHv+InefVfTKHBCWh/yF5A== 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)(83380400001)(5660300002)(38350700002)(8676002)(6666004)(38100700002)(316002)(55236004)(66556008)(186003)(66476007)(66946007)(2906002)(52116002)(26005)(6506007)(8936002)(86362001)(4744005)(4326008)(6486002)(1076003)(2616005)(6512007)(508600001)(36756003); DIR:OUT; SFP:1101; X-MS-Exchange-AntiSpam-MessageData-ChunkCount: 1 X-MS-Exchange-AntiSpam-MessageData-0: =?us-ascii?Q?1jwrzAITTC16OLzjtex8LaIURnYGl6Cdx7CUdYVWIL6UjF+I8q1or92Uoxiy?= =?us-ascii?Q?rpEdd2aefQLxEKFYIEE+yWnvxv1JKO8mh6yXWoniwanUndZB9LIQdylubpRf?= =?us-ascii?Q?FqDb7yVpPUg9o4tCnO3+w/LLukiBCvBwxItFo6ooB04cHdYtTd2IM+ahA6gr?= =?us-ascii?Q?PmXDZnvLp/SDJ4HgjO7enBXCRjtcfm87q8/H1jbmQq2Nvh3CbztqVFX8/taE?= =?us-ascii?Q?/dCQnlmjYjQKTFxnoLb4BV2lQppN9xkAWI4Mr+dhtx222IcQLDc9G2VkWI+j?= =?us-ascii?Q?vmN48+4EBkAK7o1vwwhmGh4P5tDV9JYfoofJL21a6+Yo2rWvwLOoO1prZuk5?= =?us-ascii?Q?i91d5AHv+xBly+iP/Rsn030PDAZBebr65FgBYgu7E+f0Cl9HpP+YJtAHyicr?= =?us-ascii?Q?Sd9Y14Fr6aJ/q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ascii?Q?dxb/2wpc29VYkKRAv6egQS6Vcevm4R1i+TmVDn2hG2xCTuQ/VImdIbN1kuyA?= =?us-ascii?Q?feY5iz9eZ4Jrn0YA6r/pvGiGaylmvHItrxXs/nNQo0ErQK1+9oXXsffvLgsa?= =?us-ascii?Q?NTZz1SB8/Ud/HK0yGqLsrCPAQJfyzLDkHZMPuLh4b8KijRZZtHU2pgtugXb8?= =?us-ascii?Q?FP3B4OS8UySC4+T8c52ZGzv75y7AqLx5CFXOgcM16Q+aR3jN/KpsK4RKfLez?= =?us-ascii?Q?qYzID/MMDj2wAY/Dge8=3D?= X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: ad622267-c1f2-4598-50eb-08d9c3a35dd3 X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-OriginalArrivalTime: 20 Dec 2021 10:27:47.5693 (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: jLNKvAJGSCQ6jEblFoSXuJn3Mk2v49/wXnbHW0V4GZKYL2X3N02GawgWijnGSsSq X-MS-Exchange-Transport-CrossTenantHeadersStamped: AM6PR0402MB3703 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