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 3F21BA0C48; Tue, 6 Jul 2021 21:43:33 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 165984120E; Tue, 6 Jul 2021 21:43:33 +0200 (CEST) Received: from mx0b-0016f401.pphosted.com (mx0b-0016f401.pphosted.com [67.231.156.173]) by mails.dpdk.org (Postfix) with ESMTP id A445C4067C for ; Tue, 6 Jul 2021 21:43:31 +0200 (CEST) Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.43/8.16.0.43) with SMTP id 166Jahbq017866; Tue, 6 Jul 2021 12:43:30 -0700 Received: from nam10-bn7-obe.outbound.protection.outlook.com (mail-bn7nam10lp2102.outbound.protection.outlook.com [104.47.70.102]) by mx0b-0016f401.pphosted.com with ESMTP id 39msw28xct-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Tue, 06 Jul 2021 12:43:30 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=m8HQyFkOjZKeJYMKetnAIDOIxjGkBH1N80Hh7vUuXKiSeFkzHW3V1A73rTY1RZscIGAooW8Ef14dvJiHCF71dLrNT3qyRul3bNXaCKvLC+fhhM+hrckZTZOBZ1MMIPuoxeRld6ctX+Q9BtA0tQ2wNmt4/CxWnCMfP8UCoRPQGmfj/Metyno+0bdyXSiV1rlkttw8R0yTo6CoJewGoWleNSQVMeLqly1ShaLazoMZGuH48OfCeT0gdTN/FBkBMYJAk00LGtGrNQ8gjMLoDkFXFAggzbgRxAik5Z0B+jLZyhGH7+laUVcmIYIKxcI+EnIy8LAZv9LxkKdZIzl6PzUsyg== 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=wf581N79TnkDau1LO2eTbEhcnxI3lEwl0vcQ/DDPd7k=; b=DYpOCXDPLryJUSMGM7dpT413Z+VsbJLpPc723MUKmmDNP2e/YgoD2XSqzUnXO+LguZ1x0ESqV3dlZsT6lfQoVJC4wR7ii0OSi7CUUr6WaXMjK8aWwCzgs/5BsMFo30l8+StjEUTP79EB8Tytvb+bJTvhLnJuwwzaE5hxX13o0wVSzD/BbQslSvjY8tcavAhsvoaPf+zca6cKCXdN741eHpbTENUnl/5P5oL9ZkTjUFM6WV3DvaKyifSqiE5hHaljprmp8FTz39WXdgEA9xSyxPfd2bAzDnVuj6LKOxYRAfFMthvWiobWglL8+C96AJYfLXZhX1oqtmh0yGiRpaSaPg== 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=wf581N79TnkDau1LO2eTbEhcnxI3lEwl0vcQ/DDPd7k=; b=EG2MCGb1xybEkomtz3rWJyRw0+kFvvAOZxWR/+1JqNXZYGm7CrZrzgOi3yP9gZ4KafPT4GNXtAXi4GzVDUqbcp27cVjZxCHrE/qpJxRZMKP2800SrmrPJCdKXPtNjjuRnc/+VCFXr8zfC/uCmqRmcrl905kYuxoSOwAAYnwDbPQ= Received: from CO6PR18MB4484.namprd18.prod.outlook.com (2603:10b6:5:359::9) by CO1PR18MB4617.namprd18.prod.outlook.com (2603:10b6:303:e0::11) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4287.23; Tue, 6 Jul 2021 19:43:29 +0000 Received: from CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557]) by CO6PR18MB4484.namprd18.prod.outlook.com ([fe80::1455:9a67:a6e7:e557%6]) with mapi id 15.20.4287.033; Tue, 6 Jul 2021 19:43:29 +0000 From: Akhil Goyal To: Thomas Monjalon , Jerin Jacob Kollanukkaran , Anoob Joseph CC: "dev@dpdk.org" , Ankur Dwivedi , Tejasree Kondoj , "dev@dpdk.org" Thread-Topic: [EXT] Re: [dpdk-dev] [PATCH] common/cpt: add checks for offset overflow Thread-Index: AQHXRYEKiIffs60cTk+iK/KKM8VYjareSE2AgFhqzrA= Date: Tue, 6 Jul 2021 19:43:29 +0000 Message-ID: References: <1620639840-89-1-git-send-email-anoobj@marvell.com> <9006395.vvp0iXuPjc@thomas> In-Reply-To: <9006395.vvp0iXuPjc@thomas> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: authentication-results: monjalon.net; dkim=none (message not signed) header.d=none;monjalon.net; dmarc=none action=none header.from=marvell.com; x-ms-publictraffictype: Email x-ms-office365-filtering-correlation-id: 62cb5253-a1f0-4035-41b0-08d940b65451 x-ms-traffictypediagnostic: CO1PR18MB4617: x-ms-exchange-transport-forked: True x-microsoft-antispam-prvs: x-ms-oob-tlc-oobclassifiers: OLM:6108; x-ms-exchange-senderadcheck: 1 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: 2QYIqb6i3ITiFkEGNDejRV62fJayilhJJHDhbM/MNvwNmf0JRNZbMIwuVBFLiom7VZ5B7lI8G5wXjqUAVPtvnLrMuY+EaDBoPau+e18MpUu5kUtd6eQHUZt4+g/RU/UDlwZdLQVLvkFQKPLhDRz9XVBWCmHWAjqpE436ejOOtdfgXZVCaCwsFZhqps0ioBw9xwLfZTuxHyVPGEmbtRPOYQQHwPQBJ4t2FxPHiEv2MTb0y5rkkaqmYdMScwDFDsIeu1waxGBfBzzz54ZX77dWDHI9t1J5XeKU9k6na2IU8Vt0xb6YT84mtQmnMY/DeN8+N9Vlf1/UtM0mtwnEN1DaxLe6Ih0JV1NAaConkkg+Z5imP/WIF8s/77xgOjW2VojMrePQIB9mGA6jaq42vLSGkjpNVv27VWCoTXky8WxTqG9Fv2GaubomyCnMHHIdmkD/fwTqXXt4dsR5xBGel9PzY6Q94UEeoQxmrMHDqDmL7QpUNeUfRbaMiEEj7MR1ZwlTVDQ/UO9LlPdB4/8/PfIPGqIJMHdk6mm6ebNkkfE1EFzgQbGnvFkdms1c94uHitCcBiM7gSe7Gpx7U2kT28Ilp22AORXNVwRPnoNU64sIBWHzy6/SxKUwS5mNn5z7fg88v5ofXNqd3Aqg2qUFvbTawg== x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:CO6PR18MB4484.namprd18.prod.outlook.com; PTR:; CAT:NONE; SFS:(4636009)(346002)(376002)(366004)(136003)(396003)(39860400002)(110136005)(54906003)(6636002)(316002)(186003)(71200400001)(4744005)(86362001)(52536014)(66556008)(33656002)(55016002)(26005)(66446008)(7696005)(9686003)(2906002)(6506007)(38100700002)(8676002)(8936002)(478600001)(5660300002)(76116006)(4326008)(122000001)(64756008)(66946007)(66476007); DIR:OUT; SFP:1101; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?gxETvO7T6tm7FWtazWsSJdvNEOL2Jhpq4hIhto9yE0gasSq2/hdsqg0+/n1A?= =?us-ascii?Q?NSJLyTCVc03BGIwLCboZLAuKTz6JYayMCDK9Hi3PwsW1QD1Wm9uhrTs27L8Z?= =?us-ascii?Q?yd+KhqDVeeYZO0JWbpg4l3g+qGecvls0XxqOeQkwGbdgUXIJEzADPHJrKCrH?= =?us-ascii?Q?KIKTEy7NQPFFY2Yp6999HwLytxkuw4413p17ndRkt6JyRziPWHy91oQpDc6F?= =?us-ascii?Q?GDF6/3onF8MJZ5OsB8uPIfetzq5oDNd02k++rfCNMmCrazNCS5/fj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+yxszbXv6nw1wpOpX6r3UWUBgh3BaHy6rSaoDLkU4O2QTo?= =?us-ascii?Q?zaVfFsStdF80wfq3B+uMpdg9V2pf2+ltxbfQYE47ijcA5dUlkzw+Rr036KiD?= =?us-ascii?Q?Sg4sy3zI3sDa/CS5gVdJ4RrocAnIOUw5kb0c2Vn5Cc3ajInXGGO0IM5evD5A?= =?us-ascii?Q?BWckNlxIx5HajDXpyxYhp5J+?= Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-OriginatorOrg: marvell.com X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: CO6PR18MB4484.namprd18.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: 62cb5253-a1f0-4035-41b0-08d940b65451 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Jul 2021 19:43:29.1317 (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: LroRnXotpxDv0AhOTLM5q3n59LYrfa3OVp2RGs1dA44wYeWC1Q5JYdSBIsxueSCCmQlz0ifCMm1SxsT/Kvz7kw== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CO1PR18MB4617 X-Proofpoint-GUID: JykxJT5BO1YHClfNsx55uVmVC4jhibJp X-Proofpoint-ORIG-GUID: JykxJT5BO1YHClfNsx55uVmVC4jhibJp X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.391, 18.0.790 definitions=2021-07-06_10:2021-07-06, 2021-07-06 signatures=0 Subject: Re: [dpdk-dev] [EXT] Re: [PATCH] common/cpt: add checks for offset overflow 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 Sender: "dev" > 10/05/2021 11:44, Anoob Joseph: > > Add checks to catch overflow of any offsets. Offset control word > > specifies, > > > > 1. 16 bits encryption offset > > 2. 8 bits IV offset > > 3. 8 bits auth offset > > > > Signed-off-by: Anoob Joseph Acked-by: Akhil Goyal >=20 > Should it be merged in DPDK 21.05-rc3, or wait for 21.08? >=20 >=20 Applied to dpdk-next-crypto Thanks