From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01on0084.outbound.protection.outlook.com [104.47.0.84]) by dpdk.org (Postfix) with ESMTP id BAD627CBE; Wed, 16 Aug 2017 17:40:14 +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; bh=fEgkwIHVfiKPYZuQTTIRoQK8hWc6AG7NbFuiUiPNBBE=; b=eNc5Oaqr8fwLtUyJlg2BtUtK56SSKSqiEssAvbpRrgnYTlGTFBaYZs+X+LXAt61tJbGzqI9gukq33oRSsJr2ztIyNYHXahIdU3eSzpg6a/etbp/z/2AfyGrIquNsAFXLvgzxZCW++KACwQJhYItoku01fJA28IzEPsQS7epaAbw= Received: from AM2PR04MB0753.eurprd04.prod.outlook.com (10.160.56.141) by DB5PR04MB1384.eurprd04.prod.outlook.com (10.162.221.18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.1.1341.21; Wed, 16 Aug 2017 15:40:13 +0000 Received: from AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::d1ef:6411:d794:495c]) by AM2PR04MB0753.eurprd04.prod.outlook.com ([fe80::d1ef:6411:d794:495c%18]) with mapi id 15.01.1341.020; Wed, 16 Aug 2017 15:40:12 +0000 From: Hemant Agrawal To: Akhil Goyal , Radu Nicolau , "dev@dpdk.org" , "declan.doherty@intel.com" , "thomas@monjalon.net" , "aviadye@mellanox.com" , "borisp@mellanox.com" , "pablo.de.lara.guarch@intel.com" , "sergio.gonzalez.monroy@intel.com" CC: Sandeep Malik , "techboard@dpdk.org" Thread-Topic: [RFC PATCH 1/4] rte_security: API definitions Thread-Index: AQHTFZDyklZvs2l6NkSoVAaRpa+7aKKFQW+AgAFZGwCAAIW7UA== Date: Wed, 16 Aug 2017 15:40:12 +0000 Message-ID: References: <20170725112153.29699-1-akhil.goyal@nxp.com> <20170815063505.22032-1-akhil.goyal@nxp.com> <20170815063505.22032-2-akhil.goyal@nxp.com> <152bc1a3-b959-adf7-99d7-4ee552e72271@intel.com> <4cee6900-f886-6997-6911-6c9ca1735e65@nxp.com> In-Reply-To: <4cee6900-f886-6997-6911-6c9ca1735e65@nxp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: spf=none (sender IP is ) smtp.mailfrom=hemant.agrawal@nxp.com; x-originating-ip: [122.176.10.131] x-ms-publictraffictype: Email x-microsoft-exchange-diagnostics: 1; DB5PR04MB1384; 6:DrobNXBwU0pA33EIO0jY5ujk5IZTlvIJLMhSyQF3KQXXuBxpMKWgkjHsrfX36sNktPh3Mzz5shoiAcdM67bx1/19tPplBSNG5IkiWavUWfE0s9bYRx6BKZLoBHuC5zVGJMOes3L7+G3Dr2PYJ2+el2QTlSVS6bAd87NNGqiNGYpKqrxPCp0+JjkMCp+GrSoJrRm0ZBZ1nU+mGqQJHY0H7lQPlaOzI52eCaUz0D5mSdmAiWw6xLIBfJ01mhIKSiL3o0JdeqKOd6y6NKL5UMaUPviQBqO4KTlTmurd/Lyha+xtwcz9A7jLi7j1lxIp0MM/xDImeoU71M7a2hJYLN1j7g==; 5:Yjte77N2WBBRjCZkmFROwhTl+R5cCfDWu5VZosNDz5lGNdjcFogJJz2wX2YW3B1bbyIhpS8L9LkZ2MtAflOoLMmTpwdLsusZz/XQIYRrFhxgg1hp/2Yd5gh7KfbU/cA1iP4g//hzw/v0JePdhVYXcg==; 24:haIdYzRsn7rKcAPJ4vkdZi5NgDd7Frjk+aJ+5xXrbgGJQqxtMLbbl0q+R1l3o+rilNccICfIvhTHmYDU3yY36vVL9JW8jhEo1UskN/9GChw=; 7:OGPXHjNlxARtSkvs+3zqOYFECW3FqCRY3Qc+fQQxoQNVFbZJtX06+0TEIo7C5d2Lc46zxHgjRp2FPyC+sRBkZThJf+kFNZJ1kSaoVX9iCoBZOt3kmrtQ3IU4E3FHw+MW4OMCVZp1x+XLY1xA5/AP5CGOckn4r+XpZGDlHKFYhlOEcR7hibFlalZcCWHcdqfh72sddX3RmmmpLos4rESiwV+HaAwa24bzzae3uP3tCOk= x-ms-exchange-antispam-srfa-diagnostics: SSOS;SSOR; x-forefront-antispam-report: SFV:SKI; SCL:-1; SFV:NSPM; SFS:(10009020)(6009001)(39860400002)(199003)(189002)(377454003)(13464003)(24454002)(5660300001)(561944003)(3846002)(6116002)(86362001)(305945005)(33656002)(53546010)(97736004)(7736002)(3280700002)(6436002)(81156014)(81166006)(478600001)(2900100001)(105586002)(6506006)(189998001)(68736007)(7696004)(106356001)(66066001)(102836003)(54356999)(2950100002)(8676002)(101416001)(25786009)(53936002)(2501003)(50986999)(55016002)(76176999)(54906002)(229853002)(99286003)(4326008)(74316002)(2906002)(9686003)(14454004)(8936002)(3660700001)(5250100002)(93886004)(6246003)(2201001)(217873001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR04MB1384; H:AM2PR04MB0753.eurprd04.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; A:1; MX:1; LANG:en; x-ms-office365-filtering-correlation-id: 945e6f20-ef2c-443e-4548-08d4e4bd154f x-ms-office365-filtering-ht: Tenant x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(300000500095)(300135000095)(300000501095)(300135300095)(22001)(300000502095)(300135100095)(2017030254152)(300000503095)(300135400095)(48565401081)(2017052603031)(201703131423075)(201703031133081)(201702281549075)(300000504095)(300135200095)(300000505095)(300135600095)(300000506095)(300135500095); SRVR:DB5PR04MB1384; x-ms-traffictypediagnostic: DB5PR04MB1384: x-exchange-antispam-report-test: UriScan:(192374486261705)(185117386973197)(228905959029699); x-microsoft-antispam-prvs: x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(601004)(2401047)(5005006)(8121501046)(100000703101)(100105400095)(93006095)(93001095)(10201501046)(3002001)(6055026)(6041248)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123560025)(20161123558100)(20161123562025)(20161123564025)(20161123555025)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB5PR04MB1384; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB5PR04MB1384; x-forefront-prvs: 0401647B7F received-spf: None (protection.outlook.com: nxp.com does not designate permitted sender hosts) spamdiagnosticoutput: 1:99 spamdiagnosticmetadata: NSPM Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-originalarrivaltime: 16 Aug 2017 15:40:12.1988 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 686ea1d3-bc2b-4c6f-a92c-d99c5c301635 X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR04MB1384 Subject: Re: [dpdk-dev] [RFC PATCH 1/4] rte_security: API definitions 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: Wed, 16 Aug 2017 15:40:15 -0000 SGkgVGhvbWFzLA0KCUNhbiB3ZSBnZXQgYSBuZXh0LXNlY3VyaXR5IHRyZWUgdG8gZG8gZGV2ZWxv cG1lbnQgYXJvdW5kIHRoaXMgcHJvcG9zYWw/DQoNCkFsc28sIHdlIGNhbiBkaXNjdXNzIGFib3V0 IHRoaXMgcHJvcG9zYWwgaW4gZ2VuZXJhbCBpbiBuZXh0IHRlY2hib2FyZCBtZWV0aW5nLg0KDQpS ZWdhcmRzLA0KSGVtYW50DQoJDQoNCj4gLS0tLS1PcmlnaW5hbCBNZXNzYW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KTsNCj4gICAgICAgICAgICAgICAgICBpbmRleCA9IGNkZXYt PmRyaXZlcl9pZDsNCj4gICAgICAgICAgICAgICAgICBpZiAoc2Vzcy0+c2Vzc19wcml2YXRlX2Rh dGFbaW5kZXhdID09IE5VTEwpIHsNCj4gLSAgICAgICAgICAgICAgICAgICAgICAgcmV0ID0gY2Rl di0+c2VjX29wcy0+c2Vzc2lvbl9jb25maWd1cmUoY2RldiwNCj4gY29uZiwgc2VzcywgbXApOw0K PiArICAgICAgICAgICAgICAgICAgICAgICByZXQgPSBjZGV2LT5zZWNfb3BzLT5zZXNzaW9uX2Nv bmZpZ3VyZSgodm9pZCAqKWNkZXYsDQo+ICsgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICAgICAgICAgICAgICAgICAgY29uZiwgc2VzcywgbXApOw0KPiAgICAgICAgICAgICAg ICAgICAgICAgICAgaWYgKHJldCA8IDApIHsNCj4gICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgQ0RFVl9MT0dfRVJSKA0KPiAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgICJjZGV2X2lkICVkIGZhaWxlZCB0byBjb25maWd1cmUNCj4gc2Vzc2lvbiBkZXRhaWxz IiwNCj4gQEAgLTEwMSw3ICsxMDIsOCBAQCBydGVfc2VjdXJpdHlfc2Vzc2lvbl9pbml0KHVpbnQx Nl90IGRldl9pZCwNCj4gICAgICAgICAgICAgICAgICBkZXYgPSAmcnRlX2V0aF9kZXZpY2VzW2Rl dl9pZF07DQo+ICAgICAgICAgICAgICAgICAgaW5kZXggPSBkZXYtPmRhdGEtPnBvcnRfaWQ7DQo+ ICAgICAgICAgICAgICAgICAgaWYgKHNlc3MtPnNlc3NfcHJpdmF0ZV9kYXRhW2luZGV4XSA9PSBO VUxMKSB7DQo+IC0vLyAgICAgICAgICAgICAgICAgICAgIHJldCA9IGRldi0+c2VjX29wcy0+c2Vz c2lvbl9jb25maWd1cmUoZGV2LCBjb25mLA0KPiBzZXNzLCBtcCk7DQo+ICsvLyAgICAgICAgICAg ICAgICAgICAgIHJldCA9IGRldi0+c2VjX29wcy0+c2Vzc2lvbl9jb25maWd1cmUoKHZvaWQgKilk ZXYsDQo+ICsvLyAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg ICAgICAgY29uZiwgc2VzcywgbXApOw0KPiANCj4gVGhhbmtzLA0KPiBBa2hpbA0K