From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by inbox.dpdk.org (Postfix) with ESMTP id DB21EA2F18 for ; Thu, 3 Oct 2019 10:01:27 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 2E3061BFD9; Thu, 3 Oct 2019 10:01:27 +0200 (CEST) Received: from EUR03-VE1-obe.outbound.protection.outlook.com (mail-eopbgr50065.outbound.protection.outlook.com [40.107.5.65]) by dpdk.org (Postfix) with ESMTP id A35B01BFD8 for ; Thu, 3 Oct 2019 10:01:26 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MgIagd3YUfNdoyBfo9N68gR5WAhOIvPhEVKd/2x2Rxh7crflGQsukX+37EfXUW+zM6KOKzcT8/oHLJCQTGT8qAzRo+1io+7TpzaMu2fAlOxktOqaVde0LQovzMtWslgcb4SXXz7O+U/0M/YBuGiPpWXc0T+mcUmzHuh6hAT9+tsoh5xfjiBpWuPP0xKkLX8XImNC9Wgb6afGfrfJaoBpv8PtOtDrcLU8AIypmAPIjTy65a17pvRCvi51OrI4n52oNcMzItRuZudA9OsRAQnz2hpo4GbUl5/KNz8C0uUZP00gzcyuDDDRM+KD31ExDd3ADqYIXtVZRSHaonrqD9eR1w== 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=0+Q/0nkvdzsiR8AiqKJyYDg0XCIJoTcxhndbWgcrwPE=; b=Ekh0Jj8cP6FOAHchXz0Lz0+ZpHZPi3vRhzHprxYor+ESCIqH2x+BZ2RZs4P4Q3rvtIH+uNvIxXo/15xDF1PGdPL3toAk3DXh2pQ2FAPrB0WQTXKql9kgYxel0b/wdbXyTT2Oe0fV6xZqWoxkPifIcgP/O55V+40za2k3PIlC7U3gmDgQpxvbPeLEICopMcaxopDCuaingLeu508nnMROzsosHV1siQlBxY0MaWrrH0aykK1es6Rx6rKBWD5VnjP6WmZiOHlQfw6g15qZnvtS2mVRiVo+XsWjNuePN/S6YL2qdxaFynnKsu+s9tsEmo1yiiSvf5SllIaJGrTpW2pyUA== 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=0+Q/0nkvdzsiR8AiqKJyYDg0XCIJoTcxhndbWgcrwPE=; b=V0hJKoMY03P4JY8+c53E+HRN1c7IOHWl/DGb99QQ6/W3iQFTAz6ce06//eKm5rtTM6xIykfmirFBT2bV1krR1J4kHWHCKXQcKZgozkPsft4gDfwlVXukomQzQQ8xCm11V8E+QQGy7I7GtTuGrv8vczrxTV/6juWjSZtJbF/jghc= Received: from VE1PR04MB6639.eurprd04.prod.outlook.com (10.255.118.11) by VE1PR04MB6624.eurprd04.prod.outlook.com (20.179.234.138) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.20; Thu, 3 Oct 2019 08:01:25 +0000 Received: from VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee]) by VE1PR04MB6639.eurprd04.prod.outlook.com ([fe80::c045:5df2:ba1f:c3ee%5]) with mapi id 15.20.2305.023; Thu, 3 Oct 2019 08:01:25 +0000 From: Akhil Goyal To: Anoob Joseph , Pablo de Lara CC: Sunila Sahu , Jerin Jacob Kollanukkaran , Narayana Prasad Raju Athreya , Fiona Trahe , Kanaka Durga Kotamarthy , Shally Verma , "dev@dpdk.org" Thread-Topic: [PATCH 8/8] doc: update octeontx asymmetric features Thread-Index: AQHVZxKmAYvsRnAFy02NB74zBu1VjKdF6OpAgAFrSQCAAVGrcA== Date: Thu, 3 Oct 2019 08:01:25 +0000 Message-ID: References: <1568035687-25492-1-git-send-email-anoobj@marvell.com> <1568035687-25492-9-git-send-email-anoobj@marvell.com> In-Reply-To: Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: d737f22b-1286-4bc8-6e06-08d747d7e37f x-ms-office365-filtering-ht: Tenant x-ms-traffictypediagnostic: VE1PR04MB6624: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:8273; x-forefront-prvs: 01792087B6 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(346002)(136003)(366004)(39860400002)(376002)(396003)(189003)(199004)(81166006)(76176011)(8676002)(102836004)(6506007)(7696005)(446003)(7736002)(81156014)(186003)(11346002)(26005)(305945005)(4326008)(8936002)(54906003)(256004)(110136005)(316002)(2906002)(14444005)(74316002)(52536014)(99286004)(5660300002)(15650500001)(229853002)(478600001)(6116002)(3846002)(33656002)(6246003)(66066001)(25786009)(55016002)(66946007)(76116006)(66556008)(6436002)(66476007)(66446008)(9686003)(64756008)(44832011)(86362001)(476003)(486006)(14454004)(71200400001)(71190400001); DIR:OUT; SFP:1101; SCL:1; SRVR:VE1PR04MB6624; H:VE1PR04MB6639.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; MX:1; A:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: aL2ZzbLXjIHQ/puc6kkGnr43UtXQDrUSzGSgJJR1iiu8fwoW1f5wqlm3PxbBbE7kEW0IieqA2aHI12aNLkHz3J9br0naGzN/OCnDxspKWxD16sdAK/sjUn+0FUQN2Q5WQQuFhzyYWlZPlxZqhixFpFvOOzWaqOEq+i1BBVEX6IDNy4ZWRhINXUs/hXjUhD2Z4Q+M2fa5cNbeQYlpUoVdtKgwDbfUeXdftYUCYn6yTj4SbsHkmU+qxB77s+f1f+HozNqHEPmABgC1hRiAwFQwPzW/S5zxzNspbk0gZaWRVLnnQFBXeBEJd5oTl4in5S57w/7XWmLP4b7TUWI4u2+rnDyMIApzdxcG2HFdZGCd9ob84hdbfM+8cbRXdHmS9MrsUPHnH7SUas23NOGQ/vZygs0ZIFSnzdpgEDuwd3zZ3oc= x-ms-exchange-transport-forked: True Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: d737f22b-1286-4bc8-6e06-08d747d7e37f X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Oct 2019 08:01:25.4265 (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: SfwHLwE0IRia8Zope4EnQcu6HSMCp4RKt6uCwD/OVv92IX86mYCbR/VmkQ9B5/QdRiC2LV8zG2SG/FYBSHnzkw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VE1PR04MB6624 Subject: Re: [dpdk-dev] [PATCH 8/8] doc: update octeontx asymmetric features X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 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" > > > > Hi Anoob, > > > > > > > > From: Sunila Sahu > > > > > > Update documentation with supported asymmetric features for octeontx > > > > > > Signed-off-by: Anoob Joseph > > > Signed-off-by: Kanaka Durga Kotamarthy > > > Signed-off-by: Sunila Sahu > > > --- > > > doc/guides/cryptodevs/features/octeontx.ini | 6 +++++- > > > doc/guides/cryptodevs/octeontx.rst | 25 > +++++++++++++++++++++++++ > > > 2 files changed, 30 insertions(+), 1 deletion(-) > > > > > > diff --git a/doc/guides/cryptodevs/features/octeontx.ini > > > b/doc/guides/cryptodevs/features/octeontx.ini > > > index 1735b8f..1c036c5 100644 > > > --- a/doc/guides/cryptodevs/features/octeontx.ini > > > +++ b/doc/guides/cryptodevs/features/octeontx.ini > > > @@ -5,11 +5,13 @@ > > > ; > > > [Features] > > > Symmetric crypto =3D Y > > > +Asymmetric 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 > > > +RSA PRIV OP KEY QT =3D Y > > > > > > ; > > > ; Supported crypto algorithms of 'octeontx' crypto driver. > > > @@ -64,4 +66,6 @@ AES GCM (256) =3D Y > > > ; > > > ; Supported Asymmetric algorithms of the 'octeontx' crypto driver. > > > ; > > > -[Asymmetric] > > > \ No newline at end of file > > > +[Asymmetric] > > > +RSA =3D Y > > > +Modular Exponentiation =3D Y > > > diff --git a/doc/guides/cryptodevs/octeontx.rst > > > b/doc/guides/cryptodevs/octeontx.rst > > > index 1600a56..a26882b 100644 > > > --- a/doc/guides/cryptodevs/octeontx.rst > > > +++ b/doc/guides/cryptodevs/octeontx.rst > > > @@ -53,6 +53,12 @@ AEAD Algorithms > > > > > > * ``RTE_CRYPTO_AEAD_AES_GCM`` > > > > > > +Asymmetric Crypto Algorithms > > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > > > Probably you should have some heading to specify Symmetric crypto > Algorithms > > also. >=20 > [Anoob] Do you recommend adding that change also in this patch or should = I > submit a separate patch for redesigning that. FYI. For crypto_octeontx2, > following is the list we are adding. Do you suggest a similar change ther= e also? You can refer to qat.rst. I believe it will not be a big change and is totally relevant in this patch= set, so you can have That in this patchset. Yes you should do this in octeontx2 as well. >=20 > The OCTEON TX2 crypto PMD has support for: >=20 > Cipher algorithms: >=20 > * ``RTE_CRYPTO_CIPHER_NULL`` > * ``RTE_CRYPTO_CIPHER_3DES_CBC`` > * ``RTE_CRYPTO_CIPHER_3DES_ECB`` > * ``RTE_CRYPTO_CIPHER_AES_CBC`` > * ``RTE_CRYPTO_CIPHER_AES_CTR`` > * ``RTE_CRYPTO_CIPHER_AES_XTS`` > * ``RTE_CRYPTO_CIPHER_DES_CBC`` > * ``RTE_CRYPTO_CIPHER_KASUMI_F8`` > * ``RTE_CRYPTO_CIPHER_SNOW3G_UEA2`` > * ``RTE_CRYPTO_CIPHER_ZUC_EEA3`` >=20 > Hash algorithms: >=20 > * ``RTE_CRYPTO_AUTH_NULL`` > * ``RTE_CRYPTO_AUTH_AES_GMAC`` > * ``RTE_CRYPTO_AUTH_KASUMI_F9`` > * ``RTE_CRYPTO_AUTH_MD5`` > * ``RTE_CRYPTO_AUTH_MD5_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA1`` > * ``RTE_CRYPTO_AUTH_SHA1_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA224`` > * ``RTE_CRYPTO_AUTH_SHA224_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA256`` > * ``RTE_CRYPTO_AUTH_SHA256_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA384`` > * ``RTE_CRYPTO_AUTH_SHA384_HMAC`` > * ``RTE_CRYPTO_AUTH_SHA512`` > * ``RTE_CRYPTO_AUTH_SHA512_HMAC`` > * ``RTE_CRYPTO_AUTH_SNOW3G_UIA2`` > * ``RTE_CRYPTO_AUTH_ZUC_EIA3`` >=20 > AEAD algorithms: >=20 > * ``RTE_CRYPTO_AEAD_AES_GCM`` >=20 > Asymmetric algorithms: >=20 > * ``RTE_CRYPTO_ASYM_XFORM_RSA`` > * ``RTE_CRYPTO_ASYM_XFORM_MODEX`` >=20 > > > > > + > > > +* ``RTE_CRYPTO_ASYM_XFORM_RSA`` > > > +* ``RTE_CRYPTO_ASYM_XFORM_MODEX`` > > > + > > > Config flags > > > ------------ > > > > > > @@ -120,3 +126,22 @@ OCTEON TX crypto PMD. > > > > > > ./build/ipsec-secgw --log-level=3D8 -c 0xff -- -P -p 0x3 -u = 0x2 --config > > > "(1,0,0),(0,0,0)" -f ep1.cfg > > > + > > > +Testing > > > +------- > > > + > > > +The symmetric crypto operations on OCTEON TX crypto PMD may be > verified > > > by running the test > > > +application: > > > + > > > +.. code-block:: console > > > + > > > + ./test > > > + RTE>>cryptodev_octeontx_autotest > > > + > > > +The asymmetric crypto operations on OCTEON TX crypto PMD may be > > verified > > > by running the test > > > +application: > > > + > > > +.. code-block:: console > > > + > > > + ./test > > > + RTE>>cryptodev_octeontx_asym_autotest > > > -- > > > 2.7.4