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 2E485A04B0; Sun, 18 Oct 2020 10:47:40 +0200 (CEST) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id 938C4AD18; Sun, 18 Oct 2020 10:47:38 +0200 (CEST) Received: from EUR05-DB8-obe.outbound.protection.outlook.com (mail-db8eur05on2068.outbound.protection.outlook.com [40.107.20.68]) by dpdk.org (Postfix) with ESMTP id 9C243AD17 for ; Sun, 18 Oct 2020 10:47:36 +0200 (CEST) ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=eWEZFzxGKCiSQNlKHLKKkwjvUleu0Cz5kUEl+ipwfh7Qs9b4TZcVSCXsxDHac4a95qR8zdD2dZnYsd0KsRakAo/KHXJmnQD4gvJRtV/lqfNudheYD6EZPKBkSKkAd/4KXfWkw8PE2vOjNv+i9m2dR+V1mq/D4JXI4wW7Bn0K0cKGre9dwwRvNr9fRhoQqtGDwgsJPVYgNxlNmx+zmQ2e3zES9qxn1WOC9D9j89aulQxfT1CDDvKhFk09bC5BN8OUQg3hJ8dYhjvDBtBQ7TuESy3C/V317ovHj308995cJgBObAqryXtGTWRjrD72ejOgziSAKZYDzD1Aud+Sqwkg5g== 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=bE3XAZnG8qH08kSECXEUdanxe5PFwbWBjzTCCXSy+jQ=; b=Qb9f1UrVTnVD9n5ZJJmjdqevrCXljku+fmnZolVz0T4wVTP6XvR4OgXVPJD0YQ5BjP7Tvzr1vJq/sZQjPHgaOcVnO9Iu81ny73w5sjChMlBH1Qu48CCfKhoMOPkKSqO/xzikBQ8cfQ4lvpd2c4KPiB/SChBG/bNyAj4TfJppmXLc82posjspgAfkCRXTZoPd4Zlt9ZSrWrqOelhHspplyUUvWXEmssamO/TWa/1R14107yas6HyRofT3EvAao1TVUyiCFQosE5LzyP6zvKwcL1p+0bE2LJyIHRitucjPxxnwYQdYNyVnseNt1H2TvGPlnuuhRYC2st8H3hqMriS3Ag== 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=bE3XAZnG8qH08kSECXEUdanxe5PFwbWBjzTCCXSy+jQ=; b=d5cl3PXNdygXkfEB6XqGBkhIbqAC0KhGGtAEg2YmRZkbmaZBGleTwIqK5qqsCoh7mAmwvWx3TV679lwCHFBOmatVkDp1NpirhISTHSaAU6lUp68n+LLFCCOCbdf5b7I/VLBbcOCfAZoUsZavf4RCZI50PPnJrT/8wEOaW6Rit1Q= Received: from VI1PR04MB3168.eurprd04.prod.outlook.com (2603:10a6:802:6::10) by VI1PR04MB4335.eurprd04.prod.outlook.com (2603:10a6:803:4e::23) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.3477.21; Sun, 18 Oct 2020 08:47:32 +0000 Received: from VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e]) by VI1PR04MB3168.eurprd04.prod.outlook.com ([fe80::9513:3b55:931f:216e%4]) with mapi id 15.20.3477.028; Sun, 18 Oct 2020 08:47:32 +0000 From: Akhil Goyal To: Lukasz Wojciechowski , "dev@dpdk.org" , "thomas@monjalon.net" , "anoobj@marvell.com" , "konstantin.ananyev@intel.com" CC: "mdr@ashroe.eu" , Hemant Agrawal , "declan.doherty@intel.com" , "radu.nicolau@intel.com" , "david.coyle@intel.com" Thread-Topic: [PATCH v4] security: update session create API Thread-Index: AQHWpHuzPsJ/bpINikmlUgzxjM1BPqmbxZuAgAFFpwA= Date: Sun, 18 Oct 2020 08:47:32 +0000 Message-ID: References: <20201014185651.31924-1-akhil.goyal@nxp.com> <20201017115010.17477-1-akhil.goyal@nxp.com> <7412297a-c289-3da9-3f15-7dfc5a818a88@partner.samsung.com> In-Reply-To: <7412297a-c289-3da9-3f15-7dfc5a818a88@partner.samsung.com> Accept-Language: en-IN, en-US Content-Language: en-US X-Mentions: thomas@monjalon.net, anoobj@marvell.com, konstantin.ananyev@intel.com X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: partner.samsung.com; dkim=none (message not signed) header.d=none;partner.samsung.com; dmarc=none action=none header.from=nxp.com; x-originating-ip: [122.180.231.103] x-ms-publictraffictype: Email x-ms-office365-filtering-ht: Tenant x-ms-office365-filtering-correlation-id: 1b0aa999-e141-4ffd-ebfc-08d873427442 x-ms-traffictypediagnostic: VI1PR04MB4335: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:9508; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 1ukorAVzgxO4zWp8CNJCNaCFcI4rbb/KPX3pa00fa4Ccfcr1V4iU2caqCatiusEj0OjU6IeYa4cGzrE/7nWQmVtIWpxh6guXtu/hIka/mnxRJhwmArpuCVd00rxpJNAjUqu4hCfFBf35ZxOFtCOOlwMKJQoI74uIXmrEAC42d6UdY9aqwDPDiHki7o+bshtcm/5GjPAS4j1oW8LjElb7g5UdUIpbtIuT6P/sN/drZxvC73/374bG26VgqK1qUjb6Oq4qJj06zWkA5HSL9sYeJ+FZBlEFtPWJp04lSiA3JOoFkKv2ntA/rcIL+GSGEYhNqw/nKvam7m1gTgicaTIrWQ== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:VI1PR04MB3168.eurprd04.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(396003)(136003)(39850400004)(366004)(55016002)(316002)(86362001)(4326008)(186003)(52536014)(83380400001)(110136005)(15650500001)(2906002)(54906003)(44832011)(26005)(6506007)(9686003)(5660300002)(76116006)(71200400001)(66446008)(66946007)(8676002)(64756008)(33656002)(7696005)(66476007)(8936002)(66556008)(478600001); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata: RzTUxhdeKBrhCkFI3jk7Ouf9L7lIvtCleVWA9dQgMyTEww2kKnPTkK8dofmwxNh3yLSE9D/sFaUCdMY2KK5MNI7EYqPO6G1mIEWaNHSaK/6W0C2hZFj04MSslmt3rx92Y1srWONSfoON4HuKe1XWqxDJpwfI797jzYZbsI5L/LOyqDcW/mpLr9hyjvBH7GX7rfKXiqYnpcKZRpcT06QeU0kMKVnzSMFyKoGSUWYIavKPDKgNvl1Hn2AFGQk6QMFchBfTA/zDKxmRJ5vptMtA7Nx7ojUsYAtja+7yGN9EqcmiHRtR0KI4WX0KT6ncrsnCsWuHriCqKUINJoV9s1YpvPzk0fV3eMDNxvUjPKl8xyuVXIyWmaG8s7reeWU+x2OHtxZ+wqPizuaJdCjjivnK9TwECP1LKkq1culLWK0cW/O/tx+twhVPKZ3KRScCYDXyrLzD2rkfo11p3fVBXUCaD6rUK167aWuLk4q94xK2uZgy9znZ0nd4pAU5OlDwfaVatYuP+vvCTblowBVEZw+c023B1ebz/i0mNejnmdyZC2PZ2KXzfbEIal+vyjhzFTZhv/oJAzR2GjGx9z6kNX2YW5PhyNekIe7nOtZ3iJyIl1f8grmu207GXMtaA7U960wY5jmjh22ZLryFE3JPqZmCwg== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-OriginatorOrg: nxp.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: VI1PR04MB3168.eurprd04.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 1b0aa999-e141-4ffd-ebfc-08d873427442 X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Oct 2020 08:47:32.7204 (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: ldvczFaEo7Pg7wsgYYy6KILDcKfUaAaL3c0dmp9lpvxRMAQgE7BTfcmOTJtKWhlYPSI4C29AxZ17+cHwneJdEw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: VI1PR04MB4335 Subject: Re: [dpdk-dev] [PATCH v4] security: update session create API 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" SGkgTHVrYXN6LA0KPiBIaSBBa2hpbCwNCj4gDQo+IGp1c3Qgb25lIG1vcmUgdGhpbmcsIHJlc3Qg bG9va3MgZ29vZA0KPiANCj4gPHNuaXA+DQo+ID4gZGlmZiAtLWdpdCBhL2FwcC90ZXN0L3Rlc3Rf c2VjdXJpdHkuYyBiL2FwcC90ZXN0L3Rlc3Rfc2VjdXJpdHkuYw0KPiA+IGluZGV4IDc3ZmQ1YWRj Ni4uNjJlNDk5MWViIDEwMDY0NA0KPiA+IC0tLSBhL2FwcC90ZXN0L3Rlc3Rfc2VjdXJpdHkuYw0K PiA+ICsrKyBiL2FwcC90ZXN0L3Rlc3Rfc2VjdXJpdHkuYw0KPiA+IEBAIC0zNjMsOCArMzkyLDEz IEBAIHN0YXRpYyBzdHJ1Y3QgbW9ja19zZXNzaW9uX2Rlc3Ryb3lfZGF0YSB7DQo+ID4gICBzdGF0 aWMgaW50DQo+ID4gICBtb2NrX3Nlc3Npb25fZGVzdHJveSh2b2lkICpkZXZpY2UsIHN0cnVjdCBy dGVfc2VjdXJpdHlfc2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