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 584D6A0352; Tue, 8 Feb 2022 15:11:36 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 086D3410FD; Tue, 8 Feb 2022 15:11:36 +0100 (CET) Received: from EUR04-DB3-obe.outbound.protection.outlook.com (mail-eopbgr60065.outbound.protection.outlook.com [40.107.6.65]) by mails.dpdk.org (Postfix) with ESMTP id EEE35410FC for ; Tue, 8 Feb 2022 15:11:34 +0100 (CET) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=cue/ZFl7ZQJHatNZ12cGKOl3NaNXYu5qM2mb9LbgS3ie54kbEKGCgudqBAupTb3FyWbYvwu6M9qkY6eNrEe+CHMzlxcbKyiOtRo4HTdpaY9GZBgp4TQqMW1IWJEj7LnWyv1SNfcG77vXhoyhW981VxDEe0qWghlK/tj0USNKu/ussWc4BpUQuGW2w9d6oyVaWI5XR2XZxSdXJxB39PvfpeLrVJ/1CbMJ/F868IMf3WsRB4W9QOHe+I5Jz+PRfqWkYyWpMudT54LouCjx7MK23yBPx12cFCREOU8cffKc4Q+dof4lUGKtlJPqCU/Qyw+iJPh1TzWBJ6qIXwW0/B2bKQ== 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=NhxSuh7l0V2BtExDml0fxU5EdimBeJxQIX1IMuyFwxU=; b=NGQDsZBu9FbKR8unwUVEM9KX3xNZUHZ5fypVm/FodP5Ep/OWeRYKt0BnZkxN6wJ7AV6t2ssw9hHE3pkMeZsvgEF0ZAOqiUqQYrMZ5VI7CJV/W2td3Z+DcRQDly+KwxYnFPVhwwb47kHrdGcvoDf37n0+RUS/4zsX8hO3HwUE9T2/WDKK1hIuYAM1QXnG933+xGgVVTLlVJnh3KO78o4Fb1AtEEQxADIvbLpLRlcWfeXR9rJbEhAJz2WOUPNN9qbTDN2GoPmP/6AQTbmELrm46LGTfNazcyqLffOz00VaoByyd6Z9KZcOGX2/sffXXbyeyvxCymQojCkE+3z7kQ7PEw== 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=NhxSuh7l0V2BtExDml0fxU5EdimBeJxQIX1IMuyFwxU=; b=VSYIFBPPZ2W8bcCyDFyIVH5ZSayCZnilf8BlSTxPzUfVK3C39GIs/89tZtNCrQX6nI6f9Wq8VBZ531/zvpGX0KAGvEWrWxR+Bf9u/mm0AykCdKnUnVg73cBWY0sdQEsgDeug1X+kLZ0H7xLTWHw8dxTZ4CtASlDPSTPEWbgYU/U= Received: from AS8PR04MB8198.eurprd04.prod.outlook.com (2603:10a6:20b:3b0::14) by PAXPR04MB8686.eurprd04.prod.outlook.com (2603:10a6:102:21d::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4951.19; Tue, 8 Feb 2022 14:11:33 +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.4951.018; Tue, 8 Feb 2022 14:11:33 +0000 From: Gagandeep Singh To: Akhil Goyal , "dev@dpdk.org" CC: Hemant Agrawal Subject: RE: [EXT] [PATCH v2 5/8] crypto/dpaa2_sec: change digest size for AES_CMAC Thread-Topic: [EXT] [PATCH v2 5/8] crypto/dpaa2_sec: change digest size for AES_CMAC Thread-Index: AQHX+8ro/6AZaz1hDEu+UykCJBzsKKxtewwAgBx4yKA= Date: Tue, 8 Feb 2022 14:11:33 +0000 Message-ID: References: <20211220102710.3083370-1-g.singh@nxp.com> <20211228091058.3620177-1-g.singh@nxp.com> <20211228091058.3620177-6-g.singh@nxp.com> In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=nxp.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 7121dd73-6304-4e04-b210-08d9eb0ce961 x-ms-traffictypediagnostic: PAXPR04MB8686:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: RIP0HEKjeyP0CJGOOHUUsT8qNJpko3ouY9VjRDD4rl2SCX3I8xYp7K9b2pQe2639LDYl5ZkzLxCSx9aDJjqEwgX6zK4ad4+h5kOGuU3ULR9BsqL0ExDrkZuQJYWevAHJ6IAw5gZ4ORVL24ar2VIBgz21IYkTO9VGrqXEpGg+Cy5rSlqnh9yZC1ujyWeqgEwEThAHTOp7Tnucpo0NyOC1aJi0cQBzYZwnVSpM8ZJimymba9KdvGFb0UhDpg8SvBCeNKlKzLBowwDLK4JvnbSFOepePMT3jxzGPTQ0tn7TNNadGN3eStrZDcsFOZZ//lk7ew/8j78n/YkG/koc+9jgJvrTtl9brPMxvGBB9n0QNjleiLRQGmLQsl6Bj3ZLnaWmnC5VTR3zGT1R1cpQijcUAoBv6Puyk2NcHCKMS97GPQ+25PQVn1urmr7lz4fK5M2kciuQpgeN2EROWytiJiZ6Nlhs3EzyamSiN+K9xWsRpdtmFzzQShcLS5RiZkI/8Aq6mjNbnjhnXSlj+/mzCM//3KMwOkJRM2s+23jw0PJ6CAK8awkSwasAhEWap1GxwS110u8Pgz7C5hpxTsQAg/erTAJgJ75K21DuxR8mzFSLHoQmAT1ZCx0CdNWQHzc0nPhdFfEmVHngRuzLQhJ7IMXTsYdv+Le7Lxx781YPz0vJR2KUrwXa9HhrxV5forCpnqXRVtURYdE1S5TYV06D+Slxlw== 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)(52536014)(316002)(26005)(5660300002)(4326008)(110136005)(7696005)(9686003)(86362001)(33656002)(71200400001)(2906002)(186003)(6506007)(55236004)(53546011)(64756008)(66446008)(76116006)(66476007)(83380400001)(66556008)(8936002)(66946007)(508600001)(122000001)(38100700002)(55016003)(8676002)(38070700005); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?CtAvzJ3JrZnqkIthpluaFuoySFo7l8qabO2uJNCsTsAUEV/Gdd/u9kXMRk2L?= =?us-ascii?Q?W1ZZqJNHwjlXL4GFoxOVWHgyMbP+Hs8uE9d0P8munUlosUcpZEUbEAHQyMJ5?= =?us-ascii?Q?KidExfdVGSxExf+lAsKrww+7kXnku7ezRUVW1OUZ1oSMIfBbgNz4H+lnFeMq?= =?us-ascii?Q?8HxO1kbVNMm38fGNkiICQZ8iLTt5isKP4gmIPK9TioTmIm0Uevlgrm8+ltz3?= =?us-ascii?Q?K8cHjZprx5i2riEKYZ6Ss92oTK5t1v5mXl+lcVjV3M12m3BVo9AJU3wN5taS?= =?us-ascii?Q?oI+kP36dBCgQw6qd7YEeoqnR8VlKjfEfiqTiaYCCy8pDkIzFmSmGekq/IRSt?= =?us-ascii?Q?o37o/ohxWONJpb9130YbH+nRexaFj0hTtpYKKAnua+95fvyompEzHeNdeO/R?= =?us-ascii?Q?lAwCatcQqzWGd4TLQtQrCMMSJGgs5A6716jwW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5DY7PPsEIcLgIfCksBpaZcTGWlUWHw37fbtAPRr03qMV/kCx358?= =?us-ascii?Q?y2VHift6VAzldqJQts/RKRHsMU0UW8qT4AvcYpEFL8eWgADBFQw3TNyZBoB1?= =?us-ascii?Q?ixTh1Q3TKF/UmXv/p58RdWsRU6d+m96Irr0gACczMBt9y1/nqlaC4XbLA/oY?= =?us-ascii?Q?u/IuD0YrfOXa4CoeGHzuRO0GuTe6tZSwyjEyVkjJrvoVHrDykpDcjuj2ytpM?= =?us-ascii?Q?oFxFe6SAFan3jkGWSOY=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: AS8PR04MB8198.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 7121dd73-6304-4e04-b210-08d9eb0ce961 X-MS-Exchange-CrossTenant-originalarrivaltime: 08 Feb 2022 14:11:33.6639 (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: WQvhftqmzJpHHpb8pU0jHLhdi7EnJ9DpvXF0P0KDV3hZBJT8wqfGf9Esy/dLvxsD X-MS-Exchange-Transport-CrossTenantHeadersStamped: PAXPR04MB8686 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 > -----Original Message----- > From: Akhil Goyal > Sent: Friday, January 21, 2022 4:54 PM > To: Gagandeep Singh ; dev@dpdk.org > Cc: Hemant Agrawal > Subject: RE: [EXT] [PATCH v2 5/8] crypto/dpaa2_sec: change digest size fo= r > AES_CMAC >=20 > > 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[] =3D { > > .increment =3D 1 > > }, > > .digest_size =3D { > > - .min =3D 4, > > + .min =3D 12, > > .max =3D 16, > > .increment =3D 4 > > }, > > - .aad_size =3D { 0 } > > + .iv_size =3D { 0 } > Digest size is changed but why is aad_size removed in this patch. Will be fixed in next version.