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 0B4ACA0565; Tue, 17 Mar 2020 14:00:03 +0100 (CET) Received: from [92.243.14.124] (localhost [127.0.0.1]) by dpdk.org (Postfix) with ESMTP id C9C51292D; Tue, 17 Mar 2020 14:00:02 +0100 (CET) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by dpdk.org (Postfix) with ESMTP id 8BBFF25D9 for ; Tue, 17 Mar 2020 14:00:01 +0100 (CET) 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 02HCuZbM027373 for ; Tue, 17 Mar 2020 06:00:00 -0700 Received: from pps.reinject (localhost [127.0.0.1]) by mx0b-0016f401.pphosted.com with ESMTP id 2yrxsmkwd1-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT) for ; Tue, 17 Mar 2020 06:00:00 -0700 Received: from m0045851.ppops.net (m0045851.ppops.net [127.0.0.1]) by pps.reinject (8.16.0.36/8.16.0.36) with SMTP id 02HD00eg030149 for ; Tue, 17 Mar 2020 06:00:00 -0700 Received: from sc-exch02.marvell.com ([199.233.58.182]) by mx0b-0016f401.pphosted.com with ESMTP id 2yrxsmkwcw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Tue, 17 Mar 2020 06:00:00 -0700 Received: from SC-EXCH03.marvell.com (10.93.176.83) by SC-EXCH02.marvell.com (10.93.176.82) with Microsoft SMTP Server (TLS) id 15.0.1497.2; Tue, 17 Mar 2020 05:59:58 -0700 Received: from NAM10-MW2-obe.outbound.protection.outlook.com (104.47.55.102) by SC-EXCH03.marvell.com (10.93.176.83) with Microsoft SMTP Server (TLS) id 15.0.1497.2 via Frontend Transport; Tue, 17 Mar 2020 05:59:58 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=KGRnuXsy1tQX8MaSGfhwSFlg3ymb2yP/p9YmZ56jNTEu0GnTAGwF3g6f1bS4F6To+seWj2R+U1pB8Cas/6f8Vf2YT6KZDMGq/xWy9YQ6ausSfQd028VlB7aiTEqiu9xX9SPSmlt+aWppDGybs2nz0wjmh12WzWlqrSTNw76C5n+frwEPT1ac9dBRRhu460LpuygkikcQgoJgq11Uoz/rRvk5Fm7eUe9adFgNW30/dI2QDwsSxnIeVoCopUJj+i/4vlBtq0Doyd0RqpjduMBuRSQztscUzBWfOf/k0IoPC0gzP85/68q8BQYWp84igneTujCrA9X3K/u02dCjZQ3lQg== 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=H5qhCQQEmHEsUEYP7uX2n9j6FvmFGVglv4ERiclPfaU=; b=KigO2GJP3esy6EniL/812UbqaQgC1AdPvuQEgTSwIrjsbTpJ9xKvAiDMp6rYmTAIUvG8+F44PdmDK5P8UOrJmfuW/zASILo2mfRTVw2Mk2t53cmgTQhJOy+6n0O0NJRZ+p7om99rifOjII6Qoo//TlTLveeSca7Kh7gCcbGI4Oo2zX2IOpJ74/A86zQGsXyjiuFbU0k8RCfKaIIqVjRUfHlT1yi+t2pgccSexcoUeN66uU8eZQxHbMcxvBqAqrurzRHkaTNM1hmmchUd/aOAbXMtepNpPK7k0vrtxDuqW8a4CrFhdleWzlE17mP5EeNRDpLEjsnPr/DfOAEbFmUVzg== 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=selector1-marvell-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=H5qhCQQEmHEsUEYP7uX2n9j6FvmFGVglv4ERiclPfaU=; b=GdumOE9Qu38tbvLmoBFdecT0IfUFiuyu31FBiRTcXNP6NtJmuiQ1JJF83Y6knavc0MY6tjyApq2gJxsi/hAe6tMxDWjQVbHwktsLWCEAvgFS4oZoN1hypl5SEG/Wz9X3Bs0Cl6F8lz3anK9Vuir98+100/udPXglzScKG3xRgQ0= Received: from MN2PR18MB2877.namprd18.prod.outlook.com (2603:10b6:208:3b::26) by MN2PR18MB2512.namprd18.prod.outlook.com (2603:10b6:208:102::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.2814.22; Tue, 17 Mar 2020 12:59:57 +0000 Received: from MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::648f:e7fa:f95e:191b]) by MN2PR18MB2877.namprd18.prod.outlook.com ([fe80::648f:e7fa:f95e:191b%2]) with mapi id 15.20.2814.021; Tue, 17 Mar 2020 12:59:57 +0000 From: Anoob Joseph To: Lukasz Wojciechowski , "dev@dpdk.org" CC: Narayana Prasad Raju Athreya , "Lukas Bartosik [C]" Thread-Topic: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of parameters Thread-Index: AQHV+IFfkOn7Hx0PrUmRCIbKuvbvRahMwczQ Date: Tue, 17 Mar 2020 12:59:57 +0000 Message-ID: References: <20200312151654.7218-1-l.wojciechow@partner.samsung.com> <20200312151654.7218-2-l.wojciechow@partner.samsung.com> In-Reply-To: <20200312151654.7218-2-l.wojciechow@partner.samsung.com> Accept-Language: en-IN, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [111.125.205.94] x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: adc0417d-6347-4ea3-543e-08d7ca731834 x-ms-traffictypediagnostic: MN2PR18MB2512: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:4941; x-forefront-prvs: 0345CFD558 x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(4636009)(396003)(376002)(136003)(346002)(366004)(39860400002)(199004)(478600001)(81166006)(966005)(81156014)(26005)(186003)(55016002)(8936002)(4326008)(52536014)(107886003)(7696005)(9686003)(71200400001)(5660300002)(54906003)(110136005)(33656002)(55236004)(86362001)(64756008)(66476007)(66946007)(66556008)(316002)(15650500001)(76116006)(53546011)(66446008)(2906002)(6506007)(21314003); DIR:OUT; SFP:1101; SCL:1; SRVR:MN2PR18MB2512; H:MN2PR18MB2877.namprd18.prod.outlook.com; FPR:; SPF:None; LANG:en; PTR:InfoNoRecords; A: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: leMi8hKW1SEmz0O+EXUKLzP8H4rbJT/Z3gZXU9Y1/AyLOzXx6hdrAPzQDbUFN1D+qBe0hbu/Dd1oC8Z15aaWeoLWnZoV44A5wW+BPWIPmVRVampoYPhKtXpJF6KgfBSPCJXOp+rjuFRlcd2ElcB793lBmCjfcPzQEaqTYg8P6eax6mh8jbAX2rPok/jEVinU9D2w1Tow5F5eRaCd13h4ahYhS0S04Am1WDLbW5fNywoOvwb6fp5GpR4q5qE1mC/H+k+eYqSW9ZCDWzDXBvZCq+gPlg2sVFxsN1AlRWlo9f3a4ZpAgJjxXClw23SzwRnnvJJU60516f/xwu0iGQ7gKKZmVPHo/XE+ogh+tAT+EPAXD6tjkBE8Ju6B8DIAuBJ4N8oWPgootpQBQSVHbANnJx2KQBmz7uP5SnpP4cOCa3s2DukQdRlrgVYBweM+tbskvDxO3RM5CBZetDXlptpGlJ0cT9aRZWMaOB2Ckzz1yJXyYG7GEK4XFWWawngXDJr5qhLt6sL2I8uURq85FxBulQ8zoru6VR5eu5Ce09JfFTYVv6+DMZuHlNl5VyeP15+p x-ms-exchange-antispam-messagedata: uOBVs4HX8Ut0NMYjegPPZVYj/I9o64PkPSShabMNU2I1OfWJ4Ll3HvytadlVsFdTSgjE1RyyVBKb0Ful6PF/RgVfxVX4NIlC2EXS5ZwRn1szhRHzM71Je7P8pw8kiCnu/g/+5Qw+9Mggaf32babekA== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-Network-Message-Id: adc0417d-6347-4ea3-543e-08d7ca731834 X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Mar 2020 12:59:57.0627 (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: U2MQS5obvFBxkQf+qBkawbcAu9a3FijsEPXcreapGZzMZtFHbTz+COgmFN/7VoncYkI1F4VH0dmOiSlzYIss0Q== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MN2PR18MB2512 X-OriginatorOrg: marvell.com X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.138, 18.0.645 definitions=2020-03-17_04:2020-03-17, 2020-03-17 signatures=0 Subject: Re: [dpdk-dev] [PATCH 01/13] librte_security: fix verification of parameters 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" SGkgTHVrYXN6LA0KDQpQbGVhc2Ugc2VlIGlubGluZS4NCg0KVGhhbmtzLA0KQW5vb2INCg0KPiAt LS0tLU9yaWdpbmFsIE1lc3NhZ2UtLS0tLQ0KPiBGcm9tOiBkZXYgPGRldi1ib3VuY2VzQGRwZGsu b3JnPiBPbiBCZWhhbGYgT2YgTHVrYXN6IFdvamNpZWNob3dza2kNCj4gU2VudDogVGh1cnNkYXks IE1hcmNoIDEyLCAyMDIwIDg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