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 EED3BA00E6 for ; Fri, 22 Mar 2019 12:53:46 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id B3BCA1B5B8; Fri, 22 Mar 2019 12:53:46 +0100 (CET) Received: from EUR01-DB5-obe.outbound.protection.outlook.com (mail-eopbgr150089.outbound.protection.outlook.com [40.107.15.89]) by dpdk.org (Postfix) with ESMTP id A5E431B3EB for ; Fri, 22 Mar 2019 12:53:45 +0100 (CET) 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=Yg6Ct10jWWW+egS0Il5tnhQIyAtyZzJNimpDpSqCOEE=; b=ea04DVtU+6W7H5fhMEuSTGCIUsaHzwYDcjdAkeRh+QrTCVngCAlF1EONJ2uUFDk3p9v9Rxrd7X3GLafg8k2cCymiW86QCwzLRv4ToPUYWqSZ85clOODNVom4OyQu5SW2bIqTlRXBlcains/FyO3dorGvMP5wixhgMdx6hLNLiLY= Received: from VI1PR04MB4893.eurprd04.prod.outlook.com (20.177.49.154) by VI1PR04MB3165.eurprd04.prod.outlook.com (10.170.229.27) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.1730.18; Fri, 22 Mar 2019 11:53:43 +0000 Received: from VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb]) by VI1PR04MB4893.eurprd04.prod.outlook.com ([fe80::d81a:c2cb:6bce:30bb%4]) with mapi id 15.20.1730.017; Fri, 22 Mar 2019 11:53:43 +0000 From: Akhil Goyal To: Fan Zhang , "dev@dpdk.org" CC: "konstantin.ananyev@intel.com" Thread-Topic: [dpdk-dev] [PATCH v5 1/5] ipsec: support AES-CTR Thread-Index: AQHU3zNbqpEvkI8AOEONg+9G5gONfqYXjVwA Date: Fri, 22 Mar 2019 11:53:43 +0000 Message-ID: <2f17fba4-38ff-97bb-f77c-e8cdbfba09c3@nxp.com> References: <20190320135108.50909-1-roy.fan.zhang@intel.com> <20190320153838.60419-1-roy.fan.zhang@intel.com> <20190320153838.60419-2-roy.fan.zhang@intel.com> In-Reply-To: <20190320153838.60419-2-roy.fan.zhang@intel.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-clientproxiedby: BM1PR01CA0132.INDPRD01.PROD.OUTLOOK.COM (2603:1096:b00:40::26) To VI1PR04MB4893.eurprd04.prod.outlook.com (2603:10a6:803:56::26) authentication-results: spf=none (sender IP is ) smtp.mailfrom=akhil.goyal@nxp.com; x-ms-exchange-messagesentrepresentingtype: 1 x-originating-ip: [92.120.1.65] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 1ffed17c-f002-47ce-309f-08d6aebd086c x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: BCL:0; PCL:0; RULEID:(2390118)(7020095)(4652040)(8989299)(4534185)(4627221)(201703031133081)(201702281549075)(8990200)(5600127)(711020)(4605104)(4618075)(2017052603328)(7153060)(7193020); SRVR:VI1PR04MB3165; x-ms-traffictypediagnostic: VI1PR04MB3165: x-microsoft-antispam-prvs: x-forefront-prvs: 09840A4839 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(376002)(346002)(39860400002)(396003)(136003)(366004)(189003)(199004)(386003)(53546011)(110136005)(14454004)(31696002)(6506007)(102836004)(76176011)(4326008)(8676002)(31686004)(25786009)(86362001)(6486002)(44832011)(26005)(2906002)(99286004)(52116002)(2501003)(186003)(97736004)(229853002)(6116002)(486006)(3846002)(6436002)(305945005)(476003)(68736007)(478600001)(66066001)(2616005)(106356001)(105586002)(36756003)(71200400001)(71190400001)(6512007)(256004)(446003)(53936002)(81156014)(81166006)(7736002)(11346002)(8936002)(6246003)(5660300002)(316002)(30864003); DIR:OUT; SFP:1101; SCL:1; SRVR:VI1PR04MB3165; H:VI1PR04MB4893.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-message-info: AMlOvXpuGg+nQgX6npXdR33RwBExoojI0SZkP16FnGZMoFqDyA38bkfwwb7KwlLZiMbzTIj8478rrXAFA5asMHJZVFazBBNKfalbOP4GLvakH6CsPuVHJV0IUWy2EphDqWqs3V6mxvXaaPd1G9xFfV76AOkdqjIY57CAjWsLL4PHrTswrOYKHvnCEZxa2TLikj968VsELecNlm7u96cRfVcef08tYRZt24uuYfXOGFCdbLQKaC4HKp76rPrIRdogAZAArhV7UC69lu2Aj3t6lyhtP1n7d3hAHH2KxUeAl8HzI1wNBofwIuoonB08sNDH5nvfSJijQ6AAKrf7iPc97Jc5z0/h7+/smaGanyOf8OS9qD0NiB5RhAL9VLlOSTz77IcVM9sAj7i2TUxkTS/1Fnm/d7mz2SK8eGC0nOPu++o= Content-Type: text/plain; charset="UTF-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1ffed17c-f002-47ce-309f-08d6aebd086c X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Mar 2019 11:53:43.8327 (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: VI1PR04MB3165 Subject: Re: [dpdk-dev] [PATCH v5 1/5] ipsec: support AES-CTR 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: <20190322115343.2bDMgnFEdPBjgxOJsdaTRvUAVrK9Q-02SI40xhUo46A@z> SGkgRmFuLA0KDQpPbiAzLzIwLzIwMTkgOTowOCBQTSwgRmFuIFpoYW5nIHdyb3RlOg0KPiBUaGlz IHBhdGNoIGFkZHMgQUVTLUNUUiBjaXBoZXIgYWxnb3JpdGhtIHN1cHBvcnQgdG8gaXBzZWMNCj4g bGlicmFyeS4NCj4NCj4gU2lnbmVkLW9mZi1ieTogRmFuIFpoYW5nIDxyb3kuZmFuLnpoYW5nQGlu dGVsLmNvbT4NCj4gQWNrZWQtYnk6IEFraGlsIEdveWFsIDxha2hpbC5nb3lhbEBueHAuY29tPg0K PiBBY2tlZC1ieTogS29uc3RhbnRpbiBBbmFueWV2IDxrb25zdGFudGluLmFuYW55ZXZAaW50ZWwu Y29tPg0KPiAtLS0NCj4gICBsaWIvbGlicnRlX2lwc2VjL2NyeXB0by5oIHwgIDE3ICsrKysrKw0K PiAgIGxpYi9saWJydGVfaXBzZWMvc2EuYyAgICAgfCAxMzMgKysrKysrKysrKysrKysrKysrKysr KysrKysrKysrKysrKysrKystLS0tLS0tLQ0KPiAgIGxpYi9saWJydGVfaXBzZWMvc2EuaCAgICAg fCAgMTggKysrKysrKw0KPiAgIDMgZmlsZXMgY2hhbmdlZCwgMTQ3IGluc2VydGlvbnMoKyksIDIx IGRlbGV0aW9ucygtKQ0KPg0KPiBkaWZmIC0tZ2l0IGEvbGliL2xpYnJ0ZV9pcHNlYy9jcnlwdG8u aCBiL2xpYi9saWJydGVfaXBzZWMvY3J5cHRvLmgNCj4gaW5kZXggYjVmMjY0ODMxLi40ZjU1MWUz OWMgMTAwNjQ0DQo+IC0tLSBhL2xpYi9saWJydGVfaXBzZWMvY3J5cHRvLmgNCj4gKysrIGIvbGli L2xpYnJ0ZV9pcHNlYy9jcnlwdG8uaA0KPiBAQCAtMTEsNiArMTEsMTYgQEANCj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