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 4A32BA0093 for ; 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 1E2C34113E; Thu, 10 Mar 2022 10:17:57 +0100 (CET) Received: from mga12.intel.com (mga12.intel.com [192.55.52.136]) by mails.dpdk.org (Postfix) with ESMTP id D81144113E for ; Thu, 10 Mar 2022 10:17:54 +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="235152304" X-IronPort-AV: E=Sophos;i="5.90,169,1643702400"; d="scan'208";a="235152304" Received: from orsmga008.jf.intel.com ([10.7.209.65]) by fmsmga106.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 10 Mar 2022 01:17:53 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.90,170,1643702400"; d="scan'208";a="554559252" Received: from fmsmsx604.amr.corp.intel.com ([10.18.126.84]) by orsmga008.jf.intel.com with ESMTP; 10 Mar 2022 01:17:53 -0800 Received: from fmsmsx609.amr.corp.intel.com (10.18.126.89) 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; Thu, 10 Mar 2022 01:17:52 -0800 Received: from fmsmsx606.amr.corp.intel.com (10.18.126.86) by fmsmsx609.amr.corp.intel.com (10.18.126.89) 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:52 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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 via Frontend Transport; Thu, 10 Mar 2022 01:17:52 -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 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/mDR0FJWRr2CHSRCMNBA9JQTJUXkO1TyIECoN8XOIhKseixpgn4NMuUmr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3KLg50lpBAjgqFKTQ46m2XtoP4kz47PlAGlj?= =?us-ascii?Q?YOR75xMWCYvhlSUPEY6xMIwzgBno2Vl8HqqRkQ9VLoNo6hqq/B5yTiMxYvrf?= =?us-ascii?Q?0P1gUzgBicYAX/rphLZ5n77Aw9OroHz8kd7N3NmgvmM6chQCO7cTPlYn7OBc?= =?us-ascii?Q?MBFiFywQyA402ZlEYhca31aPAJVyefHb0HgJ2zgqwEQS2Oio7zAWautQEo22?= =?us-ascii?Q?K+4gHnhl2r2EBA6b0HtLPyMAghfPNElqDtt2tG+fV72ouLfThYqb+VgYnu2g?= =?us-ascii?Q?lcG00vN2MUdz8bTE3d6qGArSQ/NWSBwxR5sSPTjVTIedAv1LulEVuEu9ie7p?= =?us-ascii?Q?XUw/af0psLJ0fscJjsDrMIFKvZifJ87YG+7G?= arc-seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=ZtVRnuP3rAPoaOXnLHOhUesR1NZXUKwwkdqhUbCJGEsK7gb5ZuogjcrT6I2hiYV6/pzRB1+7JWGgUH3NTGRcPY3/8vUv/ZP+iMYPf5gAAaYR6fpan2HpVGCJa9rcr09esNdQ0pjYb7FRijxARB2G++lTB5jbklw6EZLpRs23Fc+SHFD7lSbOFeHzAZcR1Banp+t+AVkPTIMuw4iVXj5bXArYcT/gE1D22HAuHc/+nxEmnrxlk4PwQCy9RYJ6SJ5zMgKAoeZFSV72IgdDC/VwrCZJjlBG4WU40Dn9Z2sY8Sfz9xDHgH8lVjXfa/Jo30mh5yy2k1UfyjyXOwJouTtg4Q== 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=SQJ8V7IbpFQRarOlGo0q+pSM/+hb4iOR+Eu9kLPBJz0=; b=CY2hpHvwBkyk290ITYvMPjmkMvZjCeinYXa4ogwRKKrZjmjIFimHtKNRJXUOI6AgUh6SaS8PkMHuJD4Bh9Ivss4ffZfezrWD7r6ztFHhV+fjH9ipUMMPhlOAKIZPQe/xKOuPnGndK/4/ZvJyFw35TmJrp31+dbbM4NNnYq7Cs0pM0dn7pebB+c2sE/E9zQr2cZaPgPHOPhNwnaXG+9cB0ECcXcVaUj6ujcg03rztQV4GiEo1H5KhS/Ihn+JfvIshMlAKsmoHcS3ADHq5Ofqull+b1W3UUCfEEuSM17/ff4g9Nx3pwGSVrBjLrEVV49icleUWTN0DLP7X9du1SMD2ag== 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 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 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: intel.com X-BeenThere: stable@dpdk.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: patches for DPDK stable branches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: stable-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