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 E997DA2EDB for ; Wed, 2 Oct 2019 13:04:41 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id DBFA61BEC4; Wed, 2 Oct 2019 13:04:40 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 333F41BEB8 for ; Wed, 2 Oct 2019 13:04:39 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id x92B0Aed002949; Wed, 2 Oct 2019 04:04:38 -0700 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=marvell.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-transfer-encoding : mime-version; s=pfpt0818; bh=NDnmOdBmT5svXMvzu9tCGa1GieiM4fWvZ4YcbDbS7Oc=; b=ZREs18wMWdN/sA2qbmtQDrgmkcsnfsmM0vGZsTWQgx6Qqpj+bidNmXutxfGG3q4jIpdt n1TROuhhFQ1GVpDRLuA1mHDv32SOlKglpTZ3DNijpVlnh+p3T6pvwrxKZKdDrGo8h15w c/CCgObf9MO/7YNlGEJ1IxBokPq9RKARMHZg1q81BQNddXM4eqSq26IivBx5wmQZ62Vj aHpEC2XnGmDq9Y6M/1IGBidgyjg81OlBeLoj0CWn8rluxcIfhTEf3gizz1/Wx3YyUMMv SDDV3Cb/WwzpswKIiQ2dg3ZvLfZ9lA7FHcMyfxAYdP2ACWJ8hWH9h1gZwdgHGb6dZyAT rg== Received: from sc-exch04.marvell.com ([199.233.58.184]) by mx0b-0016f401.pphosted.com with ESMTP id 2va71mpsb3-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 02 Oct 2019 04:04:38 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH04.marvell.com (10.93.176.84) with Microsoft SMTP Server (TLS) id 15.0.1367.3; Wed, 2 Oct 2019 04:04:36 -0700 Received: from NAM02-SN1-obe.outbound.protection.outlook.com (104.47.36.55) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1367.3 via Frontend Transport; Wed, 2 Oct 2019 04:04:36 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=mGHGs3VXnKTP7X+XeY15UlET3pC2S1PpLyBgJx3eeMgi20puPPift8hwF9QtXucyCY6oj4KT3CLdxDhP1gWOd8yVXQyfAZgZz6TfMZMzAtTqk56sa8Ys/+2HvMFPtPptMDl5DslY7eD2yEyZAj3f1ofuPvrRCvxMPM2/edcaBXSf1EnHAXkek2Vn8XWQco9Ssn7QbY1XVS+rlIuBXUxra1iFrv7I9verwqdacIkGxYS4LOaSl+LHQyki2EUVVs7E7AVGIOcV3xGGw5M9nlKDmTcKanfjj80SwU/6UzXU09mo39Mla24XyrNtOuSYV7etstCoeQaT4G3diYQ8qnk3Hg== 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=NDnmOdBmT5svXMvzu9tCGa1GieiM4fWvZ4YcbDbS7Oc=; b=UyJ8T5DkBb9AJWxNMPURSCTwflUHg7x9KixCa503QyN1RlUNjw921ATBYTCbdeU1DiNbyvrBp7Uqs3h4NCCoI8l+en5IqdYuG/8uK3QNi+tSDbflg1s7+yR94XbULHo3vIe7I/LXlGDm5EsaqzMVBBjMqJ+2iMgAR9ROv3Ng8tRypFIyeO2f3ThYOFYDN9RxkkYnkJc9CN7Q1k5APMnloEvK1shZ4LvK8ZoDKazZRI+GHdGH8KcpwIQj7paDTZV1S6xZR1MrmQBmqWSL8bEyo9LqDVQSlJJU0ZvcICrpXGaEYuYGptAQa6GaLyYuBmugIw7N8mQMBy/BB5AR+QpExA== 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=selector2-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=NDnmOdBmT5svXMvzu9tCGa1GieiM4fWvZ4YcbDbS7Oc=; b=KZvKbfig7pIe+5OxXUOunP8Qq6Qake3JFOYjFBzGsyaY8lnL1QNUHiX4N69puwlAF4RSaef2GHX2pP1l2W8oQmCJfmTUmeBWfVr0wlyR4CraTnIb+jNqkCLIugfM3GtsOnAa6Dkh3IVn54eLw0ar0pr6mqIYsWE4QWPAU/PEKBM= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (20.179.20.218) by MN2PR18MB2527.namprd18.prod.outlook.com (20.179.82.202) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2305.17; Wed, 2 Oct 2019 11:04:35 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::6d15:3367:4c9:5385]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::6d15:3367:4c9:5385%7]) with mapi id 15.20.2305.023; Wed, 2 Oct 2019 11:04:35 +0000 From: Anoob Joseph To: Akhil Goyal , 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: AQHVZxKiL+0wd5u8wUm32CDgkaTFoqdF6ecAgAFn6OA= Date: Wed, 2 Oct 2019 11:04:34 +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: x-originating-ip: [122.175.98.131] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 21c201cc-f77d-46f6-531d-08d747284f57 x-ms-traffictypediagnostic: MN2PR18MB2527: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6790; x-forefront-prvs: 0178184651 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(376002)(346002)(39860400002)(396003)(366004)(136003)(199004)(189003)(13464003)(71200400001)(25786009)(2906002)(7696005)(76176011)(14454004)(3846002)(186003)(26005)(478600001)(6116002)(102836004)(53546011)(229853002)(11346002)(6436002)(446003)(6506007)(486006)(476003)(4326008)(55016002)(5660300002)(6246003)(9686003)(110136005)(66556008)(66446008)(64756008)(66476007)(66946007)(76116006)(86362001)(15650500001)(8676002)(81166006)(81156014)(99286004)(52536014)(54906003)(71190400001)(316002)(256004)(8936002)(66066001)(33656002)(7736002)(74316002)(305945005)(14444005); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2527; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: marvell.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: LiVSBiVm15H7afIbqZTmKyALEneUqdRl7ugCaGySshacD0zN+QrF33fAmraaVK/C0B6v2oXmJdLPKd88Mk9AqHXOXoUt2kC4zw3VvksxXeYLc/6x3D4+D2IueQ/ZIySnmVMpkBu+EPZPJ34gxy7quT81UeUnqjSJew3GwHvaojA/Yd3pP/ffF3UaFeSFMeSvXJnal2mAz8SNHbgD//Bp/nPGHVMiyuTRp3Yawyecr/GODEL0Dx/EOxSm+cmcxSMbkydGY2u630mYWUBcYPw3/wzjpkUgrG0/FPOfKA7Db/x0i/imMt0wFq6V+22Fzn79+NVfHYMWoPcgCUdvB/GU8rtgAELrKmPnxena7glrBs1JTj/LPJxoqHSoGPfVTaeclcPsenrzbvhvSjXOX6rk9Ukjge3wmZDe+tzdBxCHXbA= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: 21c201cc-f77d-46f6-531d-08d747284f57 X-MS-Exchange-CrossTenant-originalarrivaltime: 02 Oct 2019 11:04:35.0082 (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: Q+VO4X1FcaWznooaOveRi050SVN42aHZP5x2QTLYP+TVy7vDcS3eyPWaNjXaJ2+EymrB2NcZLTTuWImgNDiL2w== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2527 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.95,1.0.8 definitions=2019-10-02_06:2019-10-01,2019-10-02 signatures=0 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 Akhil, Please see inline. Thanks, Anoob > -----Original Message----- > From: Akhil Goyal > Sent: Tuesday, October 1, 2019 6:58 PM > 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 > Subject: RE: [PATCH 8/8] doc: update octeontx asymmetric features >=20 > Hi Anoob, >=20 > > > > 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 > > +~~~~~~~~~~~~~~~~~~~~~~~~~~~~ >=20 > Probably you should have some heading to specify Symmetric crypto Algorit= hms > also. [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, fo= llowing is the list we are adding. Do you suggest a similar change there al= so? The OCTEON TX2 crypto PMD has support for: Cipher algorithms: * ``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`` Hash algorithms: * ``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`` AEAD algorithms: * ``RTE_CRYPTO_AEAD_AES_GCM`` =09 Asymmetric algorithms: * ``RTE_CRYPTO_ASYM_XFORM_RSA`` * ``RTE_CRYPTO_ASYM_XFORM_MODEX`` =20 >=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 0x= 2 --config > > "(1,0,0),(0,0,0)" -f ep1.cfg > > + > > +Testing > > +------- > > + > > +The symmetric crypto operations on OCTEON TX crypto PMD may be verifie= d > > 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