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 8923FA0353; Fri, 21 Jan 2022 12:23:35 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 5665942750; Fri, 21 Jan 2022 12:23:35 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id 8904D40042 for ; Fri, 21 Jan 2022 12:23:33 +0100 (CET) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.1.2/8.16.1.2) with ESMTP id 20LAM3w0029289; Fri, 21 Jan 2022 03:23:32 -0800 Received: from nam04-mw2-obe.outbound.protection.outlook.com (mail-mw2nam08lp2170.outbound.protection.outlook.com [104.47.73.170]) by mx0b-0016f401.pphosted.com (PPS) with ESMTPS id 3dqj05hqvf-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Fri, 21 Jan 2022 03:23:32 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=c7ePDDJLUHI3XlBF7l0fwcuvtcBvZmhKyGDzzvVNXrJ/w0FJd8axNwUKIeKogBMureGMfINfMD2u0/ddZT5ZAqSEZcWvGbjm8fAFi/WgH4BN8NfzdsldW/4NO2fQfaasXyMuXMdO0GGAMME8vetohh0EFGOfDgGA1wSaDufd6v3RfYYQLH0n98FaVbwUm5pzOYSdaPt99tAYLQe5dxZcZ1CxiwsiUV9ZZAP1VAVWtsqMd1xXFeQtCmjZ+qlnJrFoj/OFTWcFYgH20QUJr5U3IkeRyQWeQA26K4BHy8JV3+/6nHbEJDC4LSqs3I+YV2NzzQPOtjQH9H5G10d15PVfvA== 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=M11BfhEpB3I8hwFpmnvkSATLiEkJ+6reBffR0ADBIMo=; b=Jf2iLZYiItwYeBvVbBxgYzvoFGhscA4niIP8UlM7NFKduy0PjQ7wR18biAJUkCsIpOetypzP5qhz36uYcP0ou0MLpcIvK35zW9MThOqOgCcmNnOirZX/mRMxlikfDc5YVdDJdQIuzMznKnmbSQtCbYpyMGxIdmU5f+ZYpDBSkvoztWIxBTAtuDp+sI2UvqF4sTn4q/mq05vQyC+8WxbOpbmGE8QBAd+kHhOWNLoy7yAGEHon7GGTVD3bcY5ZByhRMq7u69bu0mscIfaVAzVgx2ohypsnIFJGzeNtvO8ECQTK9HXEQaMXxZk0bMbS+jngDXFs4+7Dg1XNViFS5/FU+Q== 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=marvell.onmicrosoft.com; s=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=M11BfhEpB3I8hwFpmnvkSATLiEkJ+6reBffR0ADBIMo=; b=WGjNHupDyi6MsWZodKluxzQnmO1NhHm5F9zDLb+Xko58zvjXcFY63oa1oJkOZ/4W5Bop4NWmoZjcJ8K/+57rMkkP7vozH7+HTw9jTikqOTE5QGVzEFoOk75A5n97V0Lm3Ju73SXK+81lHauXA9c3apCTDi8QvFg1DhHd+WNKnXo= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by MW4PR18MB5034.namprd18.prod.outlook.com (2603:10b6:303:1b9::6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4909.10; Fri, 21 Jan 2022 11:23:30 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ecd1:2b8:57bd:7780]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::ecd1:2b8:57bd:7780%8]) with mapi id 15.20.4909.012; Fri, 21 Jan 2022 11:23:30 +0000 From: Akhil Goyal To: Gagandeep Singh , "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+8rs1ZAI05P1dkOijNdY3jQkYaxter8A Date: Fri, 21 Jan 2022 11:23:30 +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: <20211228091058.3620177-6-g.singh@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6c376866-d2f8-4780-f3b7-08d9dcd073e8 x-ms-traffictypediagnostic: MW4PR18MB5034:EE_ x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:5797; x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: zKwLsXrSoUE/9Q/CFL7NAzc/5A6FnziFkJmZkQMeuh23DzHL27ahHa7f/0M6NhNAa+8TOgxC1FGLjJAhLyWp/kGIBQ+taOFovpBVCWZjYAwbzHKG6aCjlIf8M3+EcUug8WjLs1zeTEJvgi1Mj+kE0GyKlmV9Xla4ZEE7XgdHTMFv82pg2LhhONJTBU6KqKPc0DuIzNEraGysXYQSvVtYGrJVf1a8EDBJrSpWTLvZ4wqIAX5k9Ga6bFuOoy0Q/Aq3XsbkUWXlsmsiO7yOowUDYm+UNmiqSa5X81MUXFcgkc0zlyfMvaSkpSV5eAV0YFCzYyxcXrI5npOu8ynC2UcO+2L2RtwtY7gf8bnWhj2q3IsnMAcKNg7Qda2AMOUbaPoIHdVPbqPzfZNJjF/nQ5MDoKHHYHEVe/BZ3x6y1irCjRP2Yfw28ROC+ucu6mLgvC8S7clNZ8+0qvdIt68qy28CD3MrLjrNgl0hoUNWcowXZ8yZ9pXnlBOLIIw5GxSdO6cXggBWL7AQ+ELgiR/FZwXCnMDqEKNEl1a6zs/4iGbcJXTGpDFywhuU55+Qb7w7hCfFFSZV772dolwXuskgV7FQBUGdbCLfzCdF9PrqSmbhljGClP+nubDwbq+C6xKFQ0V7xDirdsntobK5C2iZ9rRGeimnRAX3DKcgfn/dgAGVFL+MVwTFkkxn/P0mX7G+famEe9uExtwepAtj3rEZisBfWQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(366004)(38100700002)(33656002)(4326008)(4744005)(86362001)(52536014)(76116006)(26005)(110136005)(316002)(8676002)(9686003)(55236004)(6506007)(66446008)(83380400001)(64756008)(66556008)(66476007)(5660300002)(55016003)(186003)(8936002)(508600001)(71200400001)(122000001)(38070700005)(7696005)(2906002)(66946007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?TTRKG/gEwtDA0VR+75et+WSc0THnQEZZiDPDPbqQa03Hns5mWFsZZJQNLtNb?= =?us-ascii?Q?Cmyai729LmNH9RIgkQqgDFFru9aDbQ1pkrNg3UyYJCsP41NUfL/qSEKQcByD?= =?us-ascii?Q?gDngBwSD/ka6+EQGVBvfZANtyNTCGgDfXUW5AlvLU7codhqObqx9ReMtJaR2?= =?us-ascii?Q?ao9dnGZkV3B9N1Lr1At6H8tnX3uCXVY/fbhwA3ZsHWfpIOsr/QfT3fw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2ynC7k0WSrh8SrYgZXQIh1sfoRI9?= =?us-ascii?Q?KYYW6h6+C5hzZvK45nTgpUicNX1aqFD7s9ZJzytMfW8V1spI4bt+EUTWJbNb?= =?us-ascii?Q?tS29tCeqBnPC3Vu1RS/rPT3nk2pVpbQmaP/tbSGiCf2Jj0dk8WanxhERWCe7?= =?us-ascii?Q?WttKY/H3dnZt4zrNTSEvZyXjCYGFwpWtv2/N61w9pFB6s7ICy+kg8DD7NJy1?= =?us-ascii?Q?sRlGLub9tBrzdnouOLOMEJmiVnNF+0IA1rW1/WLsJ+B8aH7xRqfW8IME7fpz?= =?us-ascii?Q?YuMpQzyxC2wk1gmu/X4zbnqdCQwjd4RYmozbWY6zmKy1nyI8MAkAbG+0osXO?= =?us-ascii?Q?0URVxWa25oirnLcXoXbjsW2oMlsTh7B39/hcPsGTExUk6FuT/EJsogyCArzh?= =?us-ascii?Q?kb+7m3a9YbGdAyDSqlTOUNX/tbM0gEYrp26RxugUVzvzvPZqfhjatsXsk67g?= =?us-ascii?Q?3nnYeZ4vIQexQJFetyjqSGuzZkWeKM6x7XKIBFW3V4W1FG6vcHVNmoQ4yLjh?= =?us-ascii?Q?Xg=3D=3D?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6c376866-d2f8-4780-f3b7-08d9dcd073e8 X-MS-Exchange-CrossTenant-originalarrivaltime: 21 Jan 2022 11:23:30.4341 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 70e1fb47-1155-421d-87fc-2e58f638b6e0 X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: y7PuLnS8LPxoHnMhzmAfONRomuXQu0MT9C3Xcaso2RlrQ8c1gCaFyBsoSKeqzkDBcFTPp1NpEKbsRQiyuu0LBw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW4PR18MB5034 X-Proofpoint-GUID: iTvjNes1SHZO6DVi3icvnEd5C3oyXyJ2 X-Proofpoint-ORIG-GUID: iTvjNes1SHZO6DVi3icvnEd5C3oyXyJ2 X-Proofpoint-Virus-Version: vendor=baseguard engine=ICAP:2.0.205,Aquarius:18.0.816,Hydra:6.0.425,FMLib:17.11.62.513 definitions=2022-01-21_06,2022-01-21_01,2021-12-02_01 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 >=20 > Change the digest size to supported value by the HW engine. >=20 > Signed-off-by: Hemant Agrawal > --- > drivers/crypto/dpaa2_sec/dpaa2_sec_priv.h | 4 ++-- > 1 file changed, 2 insertions(+), 2 deletions(-) >=20 > 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.