From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id B430054AE for ; Tue, 30 Apr 2019 08:59:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gTT5HZMb377tEx94YBj6WfzZPqscWy3vwK+EAvSpxyc=; b=MWeXtwMXxkX8Wvc8sNtxgGG8HGH7DamCA3+yfw62MinKrAHn1+hJsbcATboAvmY6/fB4+oHO9P9OtuHpkmVaLTlPOMhDNJFaCISA2rjAc3Cq8on8+Y+iBUQJk6HuIHnLopCS2QURHiJiaAyBBgUEu1bKlov/L5giI/b/IsFdutQ= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4080.eurprd04.prod.outlook.com (10.171.183.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Tue, 30 Apr 2019 06:59:14 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7%3]) with mapi id 15.20.1835.018; Tue, 30 Apr 2019 06:59:14 +0000 From: Akhil Goyal To: Anoob Joseph , "shallyv@marvell.com" CC: "fiona.trahe@intel.com" , "pablo.de.lara.guarch@intel.com" , "dev@dpdk.org" , Arek Kusztal Thread-Topic: [PATCH] doc: add cryptodev gcm iv deprecation notice Thread-Index: AdT/IjH19tx8/wdFTXKfNDUNKM+iJQ== Date: Tue, 30 Apr 2019 06:59:14 +0000 Message-ID: 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: cce8c2a1-95ed-4a4d-84b3-08d6cd395aee x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB4080; x-ms-traffictypediagnostic: VI1PR04MB4080: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 00235A1EEF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(136003)(366004)(376002)(346002)(39850400004)(199004)(189003)(64756008)(229853002)(66556008)(66446008)(66946007)(316002)(9686003)(6116002)(73956011)(81166006)(3846002)(478600001)(14454004)(8676002)(81156014)(99286004)(7696005)(110136005)(97736004)(54906003)(5660300002)(6246003)(66476007)(71200400001)(71190400001)(2906002)(76116006)(53936002)(86362001)(74316002)(25786009)(66066001)(4326008)(7736002)(305945005)(15650500001)(486006)(2501003)(6506007)(476003)(186003)(14444005)(102836004)(44832011)(256004)(33656002)(68736007)(26005)(52536014)(6436002)(8936002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4080; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: e5WuVuQbDLH/ixKjHE2aVnCUSFDnUYiOarT8JpQmdP0sI1RbcMhayCIRscUKLqF1fi6VlztabhAAtc90pPBesIF2hTBTqqwzAXyTHnNbwykyl3TFtEPTD2gzcyenDK5X1w0q5EAiHAX0qflOzXf8z0jIuI20Fsvi3ci38xOFgUX0VvNpoHbJBwp9q5jkbIjR2sCJiTgctlO/duMRkE5Xbeo8oesZdjlz1cO+lQ1JgMWfXcCTzhPsvCZ+LTGeUGsPvg/wXucn36Y322Mbv8K/VYG38aS2qmDea6eCDzIUZzHOLypQju65te+2Kt5FAZv0MC7pDS//jDJKjR98ND5sE+SQnMtKqurm0MMr0jHu3YNakRzisWqxwKuZ/Q2Kq+enkRBUGPvm4O9CRK34gGm8ekWv3I1luC0jq0qqd5r7HLg= 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: cce8c2a1-95ed-4a4d-84b3-08d6cd395aee X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 06:59:14.1164 (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-Transport-CrossTenantHeadersStamped: VI1PR04MB4080 Subject: Re: [dpdk-dev] [PATCH] doc: add cryptodev gcm iv deprecation notice 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: , X-List-Received-Date: Tue, 30 Apr 2019 06:59:16 -0000 Hi Anoob/Shally, Could you please review this patch and provide Ack. Thanks, Akhil >=20 >=20 > This patch adds deprecation notice of changing iv behaviour > when using Galois Counter Mode of operation. Right now IV of > all supported sizes can be used. >=20 > Signed-off-by: Arek Kusztal > --- > doc/guides/rel_notes/deprecation.rst | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index ba39c2d..76eb166 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -87,3 +87,9 @@ Deprecation Notices > * cryptodev: the ``uint8_t *data`` member of ``key`` structure in the xf= orms > structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and > ``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``. > + > +* cryptodev: support for using IV with all sizes is added, J0 still can > + be used but only when IV length in following structs ``rte_crypto_auth= _xform``, > + ``rte_crypto_aead_xform`` is set to zero. When IV length is greater or= equal > + to one it means it represents IV, when is set to zero it means J0 is u= sed > + directly, in this case 16 bytes of J0 need to be passed. > -- > 2.1.0 From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from dpdk.org (dpdk.org [92.243.14.124]) by dpdk.space (Postfix) with ESMTP id 0649AA0679 for ; Tue, 30 Apr 2019 08:59:18 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 838285689; Tue, 30 Apr 2019 08:59:17 +0200 (CEST) Received: from EUR02-HE1-obe.outbound.protection.outlook.com (mail-eopbgr10082.outbound.protection.outlook.com [40.107.1.82]) by dpdk.org (Postfix) with ESMTP id B430054AE for ; Tue, 30 Apr 2019 08:59:15 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=nxp.com; s=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=gTT5HZMb377tEx94YBj6WfzZPqscWy3vwK+EAvSpxyc=; b=MWeXtwMXxkX8Wvc8sNtxgGG8HGH7DamCA3+yfw62MinKrAHn1+hJsbcATboAvmY6/fB4+oHO9P9OtuHpkmVaLTlPOMhDNJFaCISA2rjAc3Cq8on8+Y+iBUQJk6HuIHnLopCS2QURHiJiaAyBBgUEu1bKlov/L5giI/b/IsFdutQ= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB4080.eurprd04.prod.outlook.com (10.171.183.33) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1835.13; Tue, 30 Apr 2019 06:59:14 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::98b0:84a6:1c08:57c7%3]) with mapi id 15.20.1835.018; Tue, 30 Apr 2019 06:59:14 +0000 From: Akhil Goyal To: Anoob Joseph , "shallyv@marvell.com" CC: "fiona.trahe@intel.com" , "pablo.de.lara.guarch@intel.com" , "dev@dpdk.org" , Arek Kusztal Thread-Topic: [PATCH] doc: add cryptodev gcm iv deprecation notice Thread-Index: AdT/IjH19tx8/wdFTXKfNDUNKM+iJQ== Date: Tue, 30 Apr 2019 06:59:14 +0000 Message-ID: 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: cce8c2a1-95ed-4a4d-84b3-08d6cd395aee x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600141)(711020)(4605104)(4618075)(2017052603328)(7193020); SRVR:VI1PR04MB4080; x-ms-traffictypediagnostic: VI1PR04MB4080: x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-forefront-prvs: 00235A1EEF x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(396003)(136003)(366004)(376002)(346002)(39850400004)(199004)(189003)(64756008)(229853002)(66556008)(66446008)(66946007)(316002)(9686003)(6116002)(73956011)(81166006)(3846002)(478600001)(14454004)(8676002)(81156014)(99286004)(7696005)(110136005)(97736004)(54906003)(5660300002)(6246003)(66476007)(71200400001)(71190400001)(2906002)(76116006)(53936002)(86362001)(74316002)(25786009)(66066001)(4326008)(7736002)(305945005)(15650500001)(486006)(2501003)(6506007)(476003)(186003)(14444005)(102836004)(44832011)(256004)(33656002)(68736007)(26005)(52536014)(6436002)(8936002)(55016002); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB4080; H:VI1PR04MB4893.eurprd04.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A:1; MX:1; received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) x-ms-exchange-senderadcheck: 1 x-microsoft-antispam-message-info: e5WuVuQbDLH/ixKjHE2aVnCUSFDnUYiOarT8JpQmdP0sI1RbcMhayCIRscUKLqF1fi6VlztabhAAtc90pPBesIF2hTBTqqwzAXyTHnNbwykyl3TFtEPTD2gzcyenDK5X1w0q5EAiHAX0qflOzXf8z0jIuI20Fsvi3ci38xOFgUX0VvNpoHbJBwp9q5jkbIjR2sCJiTgctlO/duMRkE5Xbeo8oesZdjlz1cO+lQ1JgMWfXcCTzhPsvCZ+LTGeUGsPvg/wXucn36Y322Mbv8K/VYG38aS2qmDea6eCDzIUZzHOLypQju65te+2Kt5FAZv0MC7pDS//jDJKjR98ND5sE+SQnMtKqurm0MMr0jHu3YNakRzisWqxwKuZ/Q2Kq+enkRBUGPvm4O9CRK34gGm8ekWv3I1luC0jq0qqd5r7HLg= Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: cce8c2a1-95ed-4a4d-84b3-08d6cd395aee X-MS-Exchange-CrossTenant-originalarrivaltime: 30 Apr 2019 06:59:14.1164 (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-Transport-CrossTenantHeadersStamped: VI1PR04MB4080 Subject: Re: [dpdk-dev] [PATCH] doc: add cryptodev gcm iv deprecation notice 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" Message-ID: <20190430065914.snxmhULww1JrW3tD-tQ6nTeti9PuaPAaMo8AHCg0abo@z> Hi Anoob/Shally, Could you please review this patch and provide Ack. Thanks, Akhil >=20 >=20 > This patch adds deprecation notice of changing iv behaviour > when using Galois Counter Mode of operation. Right now IV of > all supported sizes can be used. >=20 > Signed-off-by: Arek Kusztal > --- > doc/guides/rel_notes/deprecation.rst | 6 ++++++ > 1 file changed, 6 insertions(+) >=20 > diff --git a/doc/guides/rel_notes/deprecation.rst > b/doc/guides/rel_notes/deprecation.rst > index ba39c2d..76eb166 100644 > --- a/doc/guides/rel_notes/deprecation.rst > +++ b/doc/guides/rel_notes/deprecation.rst > @@ -87,3 +87,9 @@ Deprecation Notices > * cryptodev: the ``uint8_t *data`` member of ``key`` structure in the xf= orms > structure (``rte_crypto_cipher_xform``, ``rte_crypto_auth_xform``, and > ``rte_crypto_aead_xform``) will be changed to ``const uint8_t *data``. > + > +* cryptodev: support for using IV with all sizes is added, J0 still can > + be used but only when IV length in following structs ``rte_crypto_auth= _xform``, > + ``rte_crypto_aead_xform`` is set to zero. When IV length is greater or= equal > + to one it means it represents IV, when is set to zero it means J0 is u= sed > + directly, in this case 16 bytes of J0 need to be passed. > -- > 2.1.0