From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mails.dpdk.org (mails.dpdk.org [217.70.189.124]) by inbox.dpdk.org (Postfix) with ESMTP id E7C4AA0093; Thu, 10 Mar 2022 10:17:57 +0100 (CET) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 440AC41143; Thu, 10 Mar 2022 10:17:57 +0100 (CET) Received: from mga02.intel.com (mga02.intel.com [134.134.136.20]) by mails.dpdk.org (Postfix) with ESMTP id 6B34741140 for ; Thu, 10 Mar 2022 10:17:55 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1646903875; x=1678439875; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=ZXn0Iqv36UTER5l+QAbpLmjAAg4DOgyhumZXCSv2a1g=; b=N0PH0r6CsFSig3ZDExSXaJnesIM+xxKOtcPryGYalT3XhvMelP1dQbuc /LZ/+CUZDMlsEx5pcAE08DjvNg8mnkQF5Vl/Mtk3oLH8Wo/M/w+kCZsrg pCSPDyhZ2R258brmCUuVTMmw0U5WsaGHwNDRwQ2IkLG+1i7gcMSC9srUb 98viSnuVekpvPecMFqoAfyVNIA6KeQ4cHasaAs3/Z/etCb2NGSwkoK6XN wbAvrR8BnM1wrdeIEtvD6wKMYJ0SrCh1CYvyGWosMDpm1H+hUvouyzQN1 8KVsEzRnk30gt3H/yPdzFFQ9djFakBJk2r19MI4Xz9vHKx1IdiKB2CtDg g==; X-IronPort-AV: E=McAfee;i="6200,9189,10281"; a="242646586" X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="242646586" Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga101.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 01:17:54 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,170,1643702400"; d="scan'208";a="642485303" Received: from fmsmsx606.amr.corp.intel.com ([10.18.126.86]) by fmsmga002.fm.intel.com with ESMTP; 10 Mar 2022 01:17:53 -0800 Received: from fmsmsx604.amr.corp.intel.com (10.18.126.84) by fmsmsx606.amr.corp.intel.com (10.18.126.86) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21; Thu, 10 Mar 2022 01:17:53 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx604.amr.corp.intel.com (10.18.126.84) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2308.21 via Frontend Transport; Thu, 10 Mar 2022 01:17:53 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.43) by edgegateway.intel.com (192.55.55.70) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2308.21; Thu, 10 Mar 2022 01:17:52 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=LgVaGa+/TBeNitzF6+E4n/c3zEg/qU0XcQcG0GSzyPz+ZCjgK7m+H9tUk3OkZfDqffwW/cTtfRuawYIBNWaKBY7MwPA5Un8LN+YL1obMcRihsZZS0M++Ld7onCLmFZUpNyBb+fTlkqgR6sPX3NetoKKhfiNJIqwJtknS7kG5qeBcFbAIO6vvPlcQgAUg0jCNM+RHXSRWzYgDD1SYMPKxOqXSf4DBzgWv26aRms60T2vLEOaTZZztC2vQWEIKeFO9DPH4iAzTn/hO5oQDDqIv9REOte7C8m9oO6A4f52NMPceTaM70xllUqyPR5OKV5U8ERiGQvATzwxD1yS27sfBgg== 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-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=ZXn0Iqv36UTER5l+QAbpLmjAAg4DOgyhumZXCSv2a1g=; b=GNhy2a+h238HEFn6rtaa7F1NSjLyOvf5KehiR5Rq3sPI2/GMO94MjEHdyVPZLnKT5C0gAKvm+2jBuBJXFf8SF/SyqzLsCRf7j2xDKRn64FVkHpw/0kK54i7N7WsBx5E/PnXyloOKGWQSXC33cAVKOa6WcdJW38tMmJ8QXOS4fI6DXS4NzyaDrSi73JOcRbHUvu3SsAp2ZXtUlVYS5LRJ3Br19pZ6tpLZ1P8CSLllI+7Y8YoaHj61Jz04AH2wHlnetkpHK0yqU4UPLNnrWmQolEN7bIDMJCflec6pX5xVeR4CuINSmzRYTjao+A3mRiCCE3waAH4qJheNoKvKH6McWg== ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=intel.com; dmarc=pass action=none header.from=intel.com; dkim=pass header.d=intel.com; arc=none Received: from MN2PR11MB3821.namprd11.prod.outlook.com (2603:10b6:208:f7::24) by PH0PR11MB5127.namprd11.prod.outlook.com (2603:10b6:510:3c::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5061.22; Thu, 10 Mar 2022 09:17:50 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::8d3a:d8fd:ea31:da29]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::8d3a:d8fd:ea31:da29%6]) with mapi id 15.20.5038.029; Thu, 10 Mar 2022 09:17:50 +0000 From: "Power, Ciara" To: "Bronowski, PiotrX" , "dev@dpdk.org" CC: "Zhang, Roy Fan" , "thomas@monjalon.net" , "gakhil@marvell.com" , "Yigit, Ferruh" , "Doherty, Declan" , "Bronowski, PiotrX" , "stable@dpdk.org" Subject: RE: [PATCH v4] crypto/ipsec_mb: fix coverity issue Thread-Topic: [PATCH v4] crypto/ipsec_mb: fix coverity issue Thread-Index: AQHYM+BfhZgWjzdzAkar5TzUtU9reqy4V1gg Date: Thu, 10 Mar 2022 09:17:50 +0000 Message-ID: References: <20220309150827.1842599-1-piotrx.bronowski@intel.com> <20220309180200.1864114-1-piotrx.bronowski@intel.com> In-Reply-To: <20220309180200.1864114-1-piotrx.bronowski@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.401.20 dlp-product: dlpe-windows dlp-reaction: no-action authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 6ab21804-921c-41e8-fba9-08da0276d997 x-ms-traffictypediagnostic: PH0PR11MB5127:EE_ x-microsoft-antispam-prvs: x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: GXb6Tm2iyR0FzzDd6DcDYKJTPfHrpHRt5YuwCPmVZ8BaWZoFm1WxjoN9Z6HqV76J90fKyccaFN+QhrkvDeSiuO3OJ7eHFgBytrXR7Vxvr5Pp3s2Ord7xodQwYJ73tFvV7jEIsNh2wv5WDt7KO9aeac6ZqD4373uYNpBEEYaAPBduIT1uQzhvKIvCOIokmexEuq5a+6opddnbtJgUTrBlyI+y1/RxTKz8+HVg5acB/tUfvwHZ1cyrAHVUkR++WQZWxEItgfjcHE3lrWG9uPJDHAt6IT7bRRxYOv/kvxyevvm526tGo4sRvmLR8KzCpeNLLUXwZAWtcFro4m7mFdp90JpVPyhirpRie7tME1xn49SNisfm8kxwRAPcqR18xEbQNGvOTlv8YthiIDLn5nKaZb09iKZxOwBf25T5Dm8MxMbPSdR690gzO73BpIxj+mLyPxAIhdaJm7U/TKxX+T7Zw0ScD1gGxU+2qxX9vlaMOq0u4VrqQwp5NACnVu0SPdEwDdqYJ230R3S6RS3kPhmCAMmt2ahltmdTgMprB9KQD+mxKBjt8Kl1Fb0GuQBuBhLxcFuEDwfFhtsRXHssmCtSyRHf7lIzzbYt4RTIh0ZP4qquavCn+56QXhfsku3Q+GfDI6hW2ThtDWFHeHh7J95TTxJWbUNZbiUlaYFe6tiQcKUMFeqSHu/VzQ9KWpOVvdWkqZAx1xxSs4JrwmzZWJTAwA== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:MN2PR11MB3821.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230001)(366004)(38100700002)(6506007)(66946007)(76116006)(7696005)(8676002)(66556008)(66476007)(4744005)(66446008)(64756008)(2906002)(55016003)(9686003)(83380400001)(38070700005)(186003)(122000001)(82960400001)(508600001)(5660300002)(4326008)(8936002)(71200400001)(52536014)(54906003)(33656002)(110136005)(86362001)(316002); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?JC2iBFNDodgwi4j7uDBOIuTKBO1vDKmLYpJez7Xw/tPZu9Zcy9YgRjFPJ9xi?= =?us-ascii?Q?eV9icSeEWa0V9jf9bInyImTfXjN3CE+jr604LsR1tgSjwdSPKj6SQHZ4wYgH?= =?us-ascii?Q?U6BTR5czKmG7/uivzu8sVXqokPFFEjf2OUrm7lqY8+cndx+CT1XbVgn1fo+w?= =?us-ascii?Q?fuK1/XlFPokj5qGDYIv0HWPid7tLIkDKrhP3wd+ZGYs14GBQq/MKore18RJa?= =?us-ascii?Q?DF/mDR0FJWRr2CHSRCMNBA9JQTJUXkO1TyIECoN8XOIhKseixpgn4NMuUmrw?= =?us-ascii?Q?Y2UX1rYwYp7SxtjeZh5Qy4ZnXMkcG1u629Wi49FqZFw13F2Y7Y0jL2EI2RKd?= =?us-ascii?Q?/jP7zL3uOah3CGaQFPEunTfWiV/ezy3Q0x0oEPXgNPcDhSIX1F5cMFy++kpo?= =?us-ascii?Q?DG6mY1KO2ABFVcxE73YwunSB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us-ascii?Q?MBFiFywQyA402ZlEYhca31aPAJVyefHb0HgJ2zgqwEQS2Oio7zAWautQEo22?= =?us-ascii?Q?K+4gHnhl2r2EBA6b0HtLPyMAghfPNElqDtt2tG+fV72ouLfThYqb+VgYnu2g?= =?us-ascii?Q?lcG00vN2MUdz8bTE3d6qGArSQ/NWSBwxR5sSPTjVTIedAv1LulEVuEu9ie7p?= =?us-ascii?Q?XUw/af0psLJ0fscJjsDrMIFKvZifJ87YG+7G?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: MN2PR11MB3821.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 6ab21804-921c-41e8-fba9-08da0276d997 X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2022 09:17:50.2765 (UTC) X-MS-Exchange-CrossTenant-fromentityheader: Hosted X-MS-Exchange-CrossTenant-id: 46c98d88-e344-4ed4-8496-4ed7712e255d X-MS-Exchange-CrossTenant-mailboxtype: HOSTED X-MS-Exchange-CrossTenant-userprincipalname: iTmnmKximuqaLuoUmXII1RECrXI8B9PAdb+40W/BR2ex+eSdsoyVqKRCLOkq6Av5B/96VHR4/6KUtVuLbOL2ww== X-MS-Exchange-Transport-CrossTenantHeadersStamped: PH0PR11MB5127 X-OriginatorOrg: intel.com X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org >-----Original Message----- >From: Piotr Bronowski >Sent: Wednesday 9 March 2022 18:02 >To: dev@dpdk.org >Cc: Zhang, Roy Fan ; thomas@monjalon.net; >gakhil@marvell.com; Yigit, Ferruh ; Doherty, Decla= n >; Bronowski, PiotrX >; stable@dpdk.org >Subject: [PATCH v4] crypto/ipsec_mb: fix coverity issue > >This patch removes coverity defect CID 375828: >Untrusted value as argument (TAINTED_SCALAR) > >Coverity issue: CID 375828 > >Fixes: ceb863938708 ("crypto/aesni_gcm: support all truncated digest sizes= ") > >Signed-off-by: Piotr Bronowski > >Cc: stable@dpdk.org > >--- >v4: commit message corrected >--- > drivers/crypto/ipsec_mb/pmd_aesni_gcm.c | 8 ++++++-- > 1 file changed, 6 insertions(+), 2 deletions(-) > Acked-by: Ciara Power