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 44553432BE for ; Tue, 7 Nov 2023 00:24:34 +0100 (CET) Received: from mails.dpdk.org (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 1B1AA402A1; Tue, 7 Nov 2023 00:24:34 +0100 (CET) Received: from mgamail.intel.com (mgamail.intel.com [134.134.136.24]) by mails.dpdk.org (Postfix) with ESMTP id 5442F40299; Tue, 7 Nov 2023 00:24:32 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1699313072; x=1730849072; h=from:to:cc:subject:date:message-id:references: in-reply-to:mime-version; bh=qtuSVOUWTbmrBjUCMptoOJVcRL7fuWRVq7ZeOfCUfyE=; b=ne8lygfSXGIty91J88dRPAso7X2b196UuO6AcjhT2c4U41TieN8eOt3k W9Ak1/1wiYsGnz4QpXZW2YKCGxn7RN0HOFaZAHPkZ5C4YmHkPcoiNxXzp c3Ao6cyiwS9SRpLGzDX9tlUHASyPAqI/WCp91Jqxxo8aEL1J/v1/nf1Zi XsVTcxyM2PEOlAJyi84xFdNEscz7mGHEIdzLfMuNGCagU8a2hJIaoYq7S TDhGYa+EzCn5kgxPgbwjiRXrfO8p7SAEiDiLT6GOdsCtHU/0XBpfhTM0H /nkuzulQEx6/GwzlGDsUaaOvBD4EkevSOANW4mPN3AoOqgnyf3IoUi7ga Q==; X-IronPort-AV: E=McAfee;i="6600,9927,10886"; a="392258703" X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208,217";a="392258703" Received: from fmviesa001.fm.intel.com ([10.60.135.141]) by orsmga102.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 06 Nov 2023 15:24:31 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="6.03,282,1694761200"; d="scan'208,217";a="10616221" Received: from fmsmsx601.amr.corp.intel.com ([10.18.126.81]) by fmviesa001.fm.intel.com with ESMTP/TLS/AES256-GCM-SHA384; 06 Nov 2023 15:24:31 -0800 Received: from fmsmsx610.amr.corp.intel.com (10.18.126.90) by fmsmsx601.amr.corp.intel.com (10.18.126.81) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34; Mon, 6 Nov 2023 15:24:30 -0800 Received: from fmsedg602.ED.cps.intel.com (10.1.192.136) by fmsmsx610.amr.corp.intel.com (10.18.126.90) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2507.34 via Frontend Transport; Mon, 6 Nov 2023 15:24:30 -0800 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.41) by edgegateway.intel.com (192.55.55.71) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.1.2507.34; Mon, 6 Nov 2023 15:24:28 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=NQZLTA8yNQ83PeHQ3mhNyTaqO5/gt6TcDMXK8N1hMeomv+A2w4FnNmCYWgkJpBsyFSQW1x+kGKSZlybesV2EKGFcOJYJL2/YFwE5WMTyAY/1CSyzP884sWVXfRcE1Oijof1mFaBkp7XolRZOIX630FM4q+MXB9yPyz9TNrQI6tHTnHa5/lRLVySuGwCDLfsaVDubqQuEVtj74KeHIpNiEJDsqkun6Xyy/63E4uvd9t4zzn2QKDWSKFb6DH/CFe2YC1PDWs3K+U4apWdamxUdZc5FdP762lT15oa0K/+4J0rEXIE+yikGoT8BmTfmJBQcb2lyBXCIF7r2T4GgAGG1Jw== 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=qtuSVOUWTbmrBjUCMptoOJVcRL7fuWRVq7ZeOfCUfyE=; b=mPS7T6J5Aa2J3hyFp+JVLh7u6C8mOWmH5etGTlkoGnDZ6eHlewLovConW6MyHvUgkFHPQl+lJ/V2/BVxLxLX8c71RgLjrpXJHxlWMv9jQyE4On0tKq9LDEdm+rgYxZnRlsUoaLotY2hsUDHbR/IfFJGpIItzAqQrUvIVQIbX5BnkzTsZs9xOMfMqgPvG4E5S8s5dE9FEEiCRofMYoMZ2/5a75SCUPOHROR6ulWynW3mJVeGNrivbOuAxz4FBcRvSC1WGz5Vj/P8Ec3GEfCj0OjigrPIiWTRiROZgafUcKNgkG8ZCcqlgJuIqIEZLWDvKsMuj8GJNPgpH3nlywjONlg== 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 SN6PR11MB3408.namprd11.prod.outlook.com (2603:10b6:805:bc::22) by SN7PR11MB7438.namprd11.prod.outlook.com (2603:10b6:806:32b::14) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.6954.28; Mon, 6 Nov 2023 23:24:19 +0000 Received: from SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::53de:5700:449b:3f25]) by SN6PR11MB3408.namprd11.prod.outlook.com ([fe80::53de:5700:449b:3f25%5]) with mapi id 15.20.6954.028; Mon, 6 Nov 2023 23:24:19 +0000 From: "Ji, Kai" To: "Sivaramakrishnan, VenkatX" CC: "dev@dpdk.org" , "stable@dpdk.org" , "gakhil@marvell.com" Subject: Re: [PATCH 1/2] crypto/qat: fix block cipher misalignment for AES CBC and 3DES CBC Thread-Topic: [PATCH 1/2] crypto/qat: fix block cipher misalignment for AES CBC and 3DES CBC Thread-Index: AQHaDln8/D0ZoDIwtEqYNrHLmVpCQbBt89e6 Date: Mon, 6 Nov 2023 23:24:19 +0000 Message-ID: References: <20231103133037.782512-1-venkatx.sivaramakrishnan@intel.com> In-Reply-To: <20231103133037.782512-1-venkatx.sivaramakrishnan@intel.com> Accept-Language: en-GB, en-US, en-IE Content-Language: en-GB X-MS-Has-Attach: X-MS-TNEF-Correlator: msip_labels: authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=intel.com; x-ms-publictraffictype: Email x-ms-traffictypediagnostic: SN6PR11MB3408:EE_|SN7PR11MB7438:EE_ x-ms-office365-filtering-correlation-id: d09d58dd-9dc4-4df3-4d58-08dbdf1f8039 x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: O+zakife7Mw7eWEgnr+OMf1KUJVKQS3+rtgR8PLskDrYP++KIXj23tCSLqbfPMfaNbMgxLt97YWl50AVeAMpEx1aPnOaL7iIQhxg3jEYUx7pj0HmIun9s2Ca/o9TuTfCgbMlm3SKUuyNVerCizQ7ziPXrTm4QlV+15lmaCvmLNnoktw7YKYi39vLobIWE0wLjeggASva2PGIfNRPYfRJaxHQOjoK4vPWw+4WmJWCH4u5M7AJMqAQIDCvth71nlCURPTtVPF6NLF5S4QERRngq9zJZ0ZXp5GrZ839X0X0LU+bvxMBQrBKpygZ4FPf+sXpeC/D4zC5RRLVVN2bcBOEHUNwGaODEnz3wH5gzjIVGeTM5z4v7NkLZC+MJbml3NLV51RO6JI46/xoL1thRTc0lbadvRstpOEtQmweuqtZgzaoFb1ZbA1mfhxhSLP0JwA6wB7tj5s5Nmv62S6v5WGfFrl3i2aXgZy1s6pgdpWOkYZ8wLDS3Bz2yerqM4WXLrGFm/shMD0hbMAD4tngBMV+owMzJnkQciW14iC8DGlwwk5r79SHXhEznCexYaePCBOlTEuXa0gJYbKqHDthOaCD/cjkvpXxS4biwx2w+lCIX9VI+ncQhnQpzTN8ZKTZlK13 x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SN6PR11MB3408.namprd11.prod.outlook.com; PTR:; CAT:NONE; SFS:(13230031)(376002)(346002)(39860400002)(396003)(136003)(366004)(230922051799003)(451199024)(1800799009)(64100799003)(186009)(82960400001)(38070700009)(122000001)(76116006)(91956017)(66946007)(83380400001)(26005)(71200400001)(7696005)(6506007)(478600001)(66556008)(53546011)(9686003)(2906002)(4326008)(8676002)(8936002)(6862004)(316002)(41300700001)(55016003)(38100700002)(5660300002)(52536014)(4744005)(86362001)(64756008)(6636002)(66446008)(54906003)(66476007)(33656002)(19627405001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?iso-8859-1?Q?D/XIfc5lB8T0LvNkicIlNUZT1IkVr767hHRkcvydvOE1DzArrHN0zXWygp?= =?iso-8859-1?Q?HKkJ5wPfU2ssN+EJ4N/7id5w0koubzwoQExiX+034SOFP543aGeDc+aO63?= =?iso-8859-1?Q?o3NWWNNRRLddGzOS1dNdYNfvLGO8dMJ/BSmRId6kJA2E9XyQeWuto5tKiX?= =?iso-8859-1?Q?W63MohqQkgukIvacSDB+hRIyn4GrReP07kjSJgDPhGesMaRrODUyDVURXT?= =?iso-8859-1?Q?LtKyo0TBojifFlxAIn7SlKDbLgmwliOWR6gw9ebK7e1DVvKVHlqjS5PyVt?= =?iso-8859-1?Q?aIBvZ5Bgh9KgEb4Fv5C1LcQuFQo7RRQjrVehjMbEycLtBngA7m45HOqEwC?= =?iso-8859-1?Q?L2zqnCQ1o0qdnkZZtopZhO/nITyz0Ur21RkNf5k7mreYUjU5JfEmgkQZdk?= =?iso-8859-1?Q?svxHKiClyMbeA4fjFQO2GBGn2FmfGNgz5diOLflPI/EGXlLJD/5fPWRdgN?= =?iso-8859-1?Q?07CAxB3Y8xltBK6JTcgBn7FN1ZV5piHOfioJJ2T0erwYgoF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Ub0bw0C+IHuBrkx1/pG8cu25Tiigj0VzwpU8oD5mH6Qm+N6F?= =?iso-8859-1?Q?nqYzuUwnuRrHEqw6nvMMEmUSiIOd609cxtsiLYYZEc/wYWu1t+NGn9/xkM?= =?iso-8859-1?Q?PRSv5tcPyIYZ5ipHfrO9Ca2hfgOWbBg5JNIR+Iup8jDm5m4jWIHGzzjA0Y?= =?iso-8859-1?Q?uzA98y6CCkKG44aUecBlpuoe45n+4PeebCzoQeuwwczMvELwQKAWrJdD3k?= =?iso-8859-1?Q?QoPEvBnvHIp4s=3D?= Content-Type: multipart/alternative; boundary="_000_SN6PR11MB3408EC7B0A0E004C6FD07ABF81AAASN6PR11MB3408namp_" MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: SN6PR11MB3408.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: d09d58dd-9dc4-4df3-4d58-08dbdf1f8039 X-MS-Exchange-CrossTenant-originalarrivaltime: 06 Nov 2023 23:24:19.0733 (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: nDEADsTODKOqbNXIV5nSqWRDiOe872gEtoWYJc1XU7WjdwG/i67HkmUdg6zE/IrqSs4iA5LLlr6NfIv0h4vWWg== X-MS-Exchange-Transport-CrossTenantHeadersStamped: SN7PR11MB7438 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 --_000_SN6PR11MB3408EC7B0A0E004C6FD07ABF81AAASN6PR11MB3408namp_ Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Acked-by: Kai Ji ________________________________ From: Sivaramakrishnan, VenkatX Sent: 03 November 2023 13:30 To: Ji, Kai Cc: dev@dpdk.org ; stable@dpdk.org ; gakhil@= marvell.com ; Sivaramakrishnan, VenkatX Subject: [PATCH 1/2] crypto/qat: fix block cipher misalignment for AES CBC = and 3DES CBC check cipher length alignment for 3DES CBC and AES CBC to change it to NULL op for buffer misalignment Fixes: a815a04cea05 ("crypto/qat: support symmetric build op request") Fixes: 85fec6fd9674 ("crypto/qat: unify raw data path functions") Fixes: def38073ac90 ("crypto/qat: check cipher buffer alignment") Cc: kai.ji@intel.com Cc: stable@dpdk.org Signed-off-by: Sivaramakrishnan Venkat --- -- 2.25.1 --_000_SN6PR11MB3408EC7B0A0E004C6FD07ABF81AAASN6PR11MB3408namp_ Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable
Acked-by: Kai Ji <kai.j= i@intel.com>


From: Sivara= makrishnan, VenkatX <venkatx.sivaramakrishnan@intel.com>
Sent: 03 November 2023 13:30
To: Ji, Kai <kai.ji@intel.com>
Cc: dev@dpdk.org <dev@dpdk.org>; stable@dpdk.org <stab= le@dpdk.org>; gakhil@marvell.com <gakhil@marvell.com>; Sivaramakri= shnan, VenkatX <venkatx.sivaramakrishnan@intel.com>
Subject: [PATCH 1/2] crypto/qat: fix block cipher misalignment = for AES CBC and 3DES CBC
 
check cipher length alignment for 3DE= S CBC and AES CBC
to change it to NULL op for buffer misalignment

Fixes: a815a04cea05 ("crypto/qat: support symmetric build op request&q= uot;)
Fixes: 85fec6fd9674 ("crypto/qat: unify raw data path functions")=
Fixes: def38073ac90 ("crypto/qat: check cipher buffer alignment")=
Cc: kai.ji@intel.com
Cc: stable@dpdk.org

Signed-off-by: Sivaramakrishnan Venkat <venkatx.sivaramakrishnan@intel.c= om>
---

--
2.25.1

--_000_SN6PR11MB3408EC7B0A0E004C6FD07ABF81AAASN6PR11MB3408namp_--