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 C141BA0C4B; Wed, 16 Jun 2021 21:45:31 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 81F0040683; Wed, 16 Jun 2021 21:45:31 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0a-0016f401.pphosted.com [67.231.148.174]) by mails.dpdk.org (Postfix) with ESMTP id E80074067A for ; Wed, 16 Jun 2021 21:45:29 +0200 (CEST) Received: from pps.filterd (m0045849.ppops.net [127.0.0.1]) by mx0a-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 15GJeJZK008691; Wed, 16 Jun 2021 12:45:28 -0700 Received: from nam11-dm6-obe.outbound.protection.outlook.com (mail-dm6nam11lp2174.outbound.protection.outlook.com [104.47.57.174]) by mx0a-0016f401.pphosted.com with ESMTP id 397auvkhjj-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Wed, 16 Jun 2021 12:45:28 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=isxGmT+gy6+Zzqscr5f47odTS++7mH5ZmDQ++Xvk5hBfpqv0oEGqX2U+4smSAJUnV5R6DY4Lqiioa/315Vcx+i0V3wbTRIloxynPqS6xobeksgfb/6NLllUPc6BGEQDlTn6t2k8XYLXptFYjVMQGP2BxOeS7ecyarmsHSA0+cmotjvMK11Gpaa9JwEaTjI1nZe1kfpVa6IVDQCO4ihXxzHGcov0DVcsTBZ1dp6DMkhLNoRte/TtT3jXlR2WQYOoPk3ukQlLpKbwb9u0o6k2E6zetOhWUL9BVzy2tBq0Znc4Cj/E3ZOjhGEEl5c8HH71unnFpGjaKxfTyBjx+cvdyKA== 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-SenderADCheck; bh=dsbxaWeCtiPbmSPIKTAEpupMlOEdiMlD3nvCf/3FdTo=; b=aH3AYdPhX3ZSaQb9bWGcU/S/i89ALkLPf3S1E3URIbe7ZF1iGpl1uQmPdAelP+y4gGmVvqPO6yL8Kg8z80D8S0nVVzTzntWg+3hjNZH3PlrNcglzo1fSuYDF1+f98O+I4kQgjbSJjRgGUatLe4kbihxtoz5Dhy3mW4b/xSN0GOgVJ9jKlNCGAVrblQqHRc8EZeAvkHfh6NEzFpNNHwlDIPOjJgq1NFjqLNwMVMYv1cD7TnoAjo/SB4e8Aq1fmuCeK/MDBKRU/RhnGqUTHRGMNRXLP94i2pAJH+jnfcYJhDKDexUOjNmWe9fes5SzIRPrqT/13TWnjen+Wa838fUPvg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=marvell.com; dmarc=pass action=none header.from=marvell.com; dkim=pass header.d=marvell.com; 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=dsbxaWeCtiPbmSPIKTAEpupMlOEdiMlD3nvCf/3FdTo=; b=nDd1UwOQtRB84t55D4hlax+0GFLgmtDa+axuPuMML2/ewuBM41droeIYGXAgixGb/7JKgqtCFe1cdSbt6NjzTsgdsMS+79KbYab8MBVCvTEr17PUx+WR6giWU1kIMSHklT0riT4RAMSEQjr50pZpJKze9ouiHHD593bPzJucV+Y= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO6PR18MB4403.namprd18.prod.outlook.com (2603:10b6:5:35d::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4219.22; Wed, 16 Jun 2021 19:45:25 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7d67:6d21:1714:c816]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::7d67:6d21:1714:c816%2]) with mapi id 15.20.4219.026; Wed, 16 Jun 2021 19:45:24 +0000 From: Akhil Goyal To: Anoob Joseph , Thomas Monjalon CC: Archana Muniganti , Jerin Jacob Kollanukkaran , Ankur Dwivedi , Tejasree Kondoj , "dev@dpdk.org" , Anoob Joseph Thread-Topic: [PATCH 13/20] crypto/cnxk: add flexi crypto cipher encrypt Thread-Index: AQHXV86uOmNFqKyik0yMRYN8r0RYYKsXHuhw Date: Wed, 16 Jun 2021 19:45:24 +0000 Message-ID: References: <1622652221-22732-1-git-send-email-anoobj@marvell.com> <1622652221-22732-14-git-send-email-anoobj@marvell.com> In-Reply-To: <1622652221-22732-14-git-send-email-anoobj@marvell.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [122.162.4.46] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: ab0c6388-70df-4cc3-e79d-08d930ff48f7 x-ms-traffictypediagnostic: CO6PR18MB4403: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8882; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: eAQ1UeGmy3byJEm+r6NQNEXJM1qLGtCLW89h9kZZogQkJ0ejQVkaMS7AgNHMPRT9lJencyAuow8BL3s+L+bR83I7fQJpKuK0y+8fiyTygFTki7UX605NYjK9yPapjybcU58tXBn4nl+d0kkAl0+jTSKTfC9zL82A73+HwMuLsbhdyI7n2mXw+DP6ioy/gtmbOFO3eNTbLs2a0iGC/aAAK6vySlXX1pbihzIhdhf0DegF7LulfLc353YfDtmVKpIKmcErvoHQC0kC+PQ8icEgpRgtGBxX7UhaGZQ2F/QXzWpmRcqYN6NdD7ZeHWLP+E2E/PKHOi6nFKVpdCZ4R5ZkYbnupd4tHHpVQuXbbXsuPHKnk6ttMFIM2Aahgh1gs6S889Bvi5DRR2HqECakRdJ6UdNY9BZRMXAKQzWf2cFDpvTdVoDmR49pJdrzPBegJVh1MZxLkoBm/Whxvr6YEgYJ3O9xMASYWS2S/sxO1aUPeXYRy794jQi/wYVrIs2ZnjauiZ0REYXPAZHwmBoAYZBum//eUZAeb3Wv/rAtZF6U0cA7XaLTO1cpreeXrhbf6vqJfWKb1m39D4AeyR0BTTC7fIbcs+43/BnbvTg1vWvkW78= 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)(39860400002)(346002)(366004)(136003)(376002)(396003)(26005)(55016002)(71200400001)(9686003)(76116006)(478600001)(6506007)(8936002)(7696005)(186003)(52536014)(107886003)(66556008)(5660300002)(64756008)(110136005)(54906003)(4326008)(83380400001)(86362001)(66446008)(2906002)(33656002)(66946007)(66476007)(8676002)(316002)(122000001)(38100700002); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?jxM29ESfcUXNnlQDUVqRlL8nDgp3es7TxLv5Dr0buf+YGLwY30QI0lAUsy0l?= =?us-ascii?Q?kZJTJ4rSOBGGe3YgFoJE/Fwr03k4qbxKGtg7xEyaSjwk/I6r42kBw4GHL6RZ?= =?us-ascii?Q?v+n8dw9X7UvbQG+5MPTQQcGvnGn8rV0iGNPKoWASFVM7c/qxtldDEECZFpbd?= =?us-ascii?Q?AeF7mgfGeb78m1iqutFZZkJUR5aTzSyM4JmdkjhHbEpDCOxAae9EjdeFzDCa?= =?us-ascii?Q?ASXZTS1c+s6b9r6iDZ4lAVB+7ABbwbuhD9YS9dCl0SDTfYZBCmRbutD3lI3C?= =?us-ascii?Q?7guWr0MkehOO0b1H3lzj2FG1AarDMd318ow8SgbLpw0yxov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MWRwKHSL30H5YlvacqcyIk0GiMHepwvvb57Bxp?= =?us-ascii?Q?YfAL0LbE92Tls268u1rGpRSpdfG/p3GHCW+meG1NfFW+iEDzhwAowVCHeV/t?= =?us-ascii?Q?t44=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: ab0c6388-70df-4cc3-e79d-08d930ff48f7 X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Jun 2021 19:45:24.6485 (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: E/GFC5yjyuvUvVED6gstUL9YxKzyGx0h9tktm1gjs91JMMzT+EP6eezlLMZrFcNdBUD+A2TrSnKSlic+9uMdQw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO6PR18MB4403 X-Proofpoint-ORIG-GUID: IYmYEWLOZegjm-iyiwz04lMqIRV_VmQb X-Proofpoint-GUID: IYmYEWLOZegjm-iyiwz04lMqIRV_VmQb X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-06-16_13:2021-06-15, 2021-06-16 signatures=0 Subject: Re: [dpdk-dev] [PATCH 13/20] crypto/cnxk: add flexi crypto cipher encrypt 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 Sender: "dev" >=20 > diff --git a/doc/guides/cryptodevs/features/cn10k.ini > b/doc/guides/cryptodevs/features/cn10k.ini > index 175fbf7..f097d8e 100644 > --- a/doc/guides/cryptodevs/features/cn10k.ini > +++ b/doc/guides/cryptodevs/features/cn10k.ini > @@ -7,6 +7,10 @@ > Symmetric crypto =3D Y > Sym operation chaining =3D Y > HW Accelerated =3D Y > +In Place SGL =3D Y > +OOP SGL In LB Out =3D Y > +OOP SGL In SGL Out =3D Y > +OOP LB In LB Out =3D Y > Symmetric sessionless =3D Y > Digest encrypted =3D Y >=20 > @@ -14,6 +18,18 @@ Digest encrypted =3D Y > ; Supported crypto algorithms of 'cn10k' crypto driver. > ; > [Cipher] > +NULL =3D Y > +3DES CBC =3D Y > +3DES ECB =3D Y > +AES CBC (128) =3D Y > +AES CBC (192) =3D Y > +AES CBC (256) =3D Y > +AES CTR (128) =3D Y > +AES CTR (192) =3D Y > +AES CTR (256) =3D Y > +AES XTS (128) =3D Y > +AES XTS (256) =3D Y > +DES CBC =3D Y >=20 It would be better to add all the algos in the .ini file along with capabil= ities patch After flexi crypto cipher decrypt(14/20) > ; > ; Supported authentication algorithms of 'cn10k' crypto driver. > diff --git a/doc/guides/cryptodevs/features/cn9k.ini > b/doc/guides/cryptodevs/features/cn9k.ini > index c22b25c..7007d11 100644 > --- a/doc/guides/cryptodevs/features/cn9k.ini > +++ b/doc/guides/cryptodevs/features/cn9k.ini > @@ -7,6 +7,10 @@ > Symmetric crypto =3D Y > Sym operation chaining =3D Y > HW Accelerated =3D Y > +In Place SGL =3D Y > +OOP SGL In LB Out =3D Y > +OOP SGL In SGL Out =3D Y > +OOP LB In LB Out =3D Y > Symmetric sessionless =3D Y > Digest encrypted =3D Y >=20 > @@ -14,6 +18,18 @@ Digest encrypted =3D Y > ; Supported crypto algorithms of 'cn9k' crypto driver. > ; > [Cipher] > +NULL =3D Y > +3DES CBC =3D Y > +3DES ECB =3D Y > +AES CBC (128) =3D Y > +AES CBC (192) =3D Y > +AES CBC (256) =3D Y > +AES CTR (128) =3D Y > +AES CTR (192) =3D Y > +AES CTR (256) =3D Y > +AES XTS (128) =3D Y > +AES XTS (256) =3D Y > +DES CBC =3D Y >=20 > ; > ; Supported authentication algorithms of 'cn9k' crypto driver. > @@ -24,3 +40,7 @@ Digest encrypted =3D Y > ; Supported AEAD algorithms of 'cn9k' crypto driver. > ; > [AEAD] > +AES GCM (128) =3D Y > +AES GCM (192) =3D Y > +AES GCM (256) =3D Y > +CHACHA20-POLY1305 =3D Y AEAD is added in 9k but not in 10k in this patch. Better to have all algos added in .ini along with capabilities after the Flexi decrypt patch ZUC/SNOW/KASUMI update in .ini file can be added in later patches As it is done in current set.