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 87ECCA0560; Mon, 17 Oct 2022 16:59:05 +0200 (CEST) Received: from [217.70.189.124] (localhost [127.0.0.1]) by mails.dpdk.org (Postfix) with ESMTP id 35FEF4021D; Mon, 17 Oct 2022 16:59:05 +0200 (CEST) Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by mails.dpdk.org (Postfix) with ESMTP id CF03240143 for ; Mon, 17 Oct 2022 16:59:02 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1666018743; x=1697554743; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-transfer-encoding:mime-version; bh=oACg0FeGyq3xRLNY/fiF42HnriD6RlUxVRUYI+KdioE=; b=XJ/nDwjkUy5Qv5suW3NmwV+5gcP2UfpM6vT3ShNn7cc27315sbhWgB8U +ub0zm+9iZzA2xGf+t61jfkd8iLBWRH0C7NtUb4UdbI80ixgN0sCUN52h eXcGjNZAoUUMkHilbrEqK4gyZJ+ZUAYyUxoIp10fvUB9hbwrM4R0FJjP0 oMCe9HeHtACvtbZW5f/U2emdX0Z9by4n603z4rMoBAML6qVMHrQihbFfQ hNF2lftEBAkDP8m2hbn2edmiEwub7p+sY+CXmjZpkSS1ESPfpssJfIGLU QvZwRLRij0naYqdBX2S57q7MicprPZTZoGin5nokpwLCu3W2b8uySqNif A==; X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="289107544" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="289107544" Received: from fmsmga005.fm.intel.com ([10.253.24.32]) by orsmga106.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 17 Oct 2022 07:59:01 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10503"; a="957361213" X-IronPort-AV: E=Sophos;i="5.95,191,1661842800"; d="scan'208";a="957361213" Received: from fmsmsx602.amr.corp.intel.com ([10.18.126.82]) by fmsmga005.fm.intel.com with ESMTP; 17 Oct 2022 07:59:01 -0700 Received: from fmsmsx611.amr.corp.intel.com (10.18.126.91) by fmsmsx602.amr.corp.intel.com (10.18.126.82) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Mon, 17 Oct 2022 07:59:00 -0700 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) by fmsmsx611.amr.corp.intel.com (10.18.126.91) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31 via Frontend Transport; Mon, 17 Oct 2022 07:59:00 -0700 Received: from NAM12-MW2-obe.outbound.protection.outlook.com (104.47.66.46) 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.2375.31; Mon, 17 Oct 2022 07:59:00 -0700 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=QhwHBHUXKeE0FrTvC4nrVO68CMIrP2UV4tqNf7kTANuro+XCTrbkRRro/aHQSXehkMgovZRNpWYuDon+LVUg5VVH4V9+j3Zb/so4poynEPglGTUyQX+1H1ByLjeWMj12TUSCjhFZ+C5elgRaOxIpvlw3nRC3Ym7GxXjRRdtAbYFs/fDN94efe6+yLIIxyreEbKTDeJ2O/NjXzBI4L4bI/W7VHHkWnv5iabEWt1h7AF8xdPIiAalqj0WDr4KQ070jGgk3/2pR0R0ytotPM4Hnkyi1Asnj6ym+Ruv/8VDmkX0Rzr4WVnCoFkSva7ekGgw0gHG4tty+iWYx0yjD4LZ3/g== 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=iZWqjCi4PShiCP4z6ZXpG4gPs3LGZ4lo6XDsJ8wXYFk=; b=ejxYR17NQwRSRhMMwQUYP4gIZxEpht7ljpcJ7e0Vuc6UvjojiNjdpA0eM/67Tw/sPaQF6wEp97CjatFsbo4XN23UGfFTsq78PnLosUh2Dk3H2ayLU90R8o1DiNVLfB4bF3lYemH781h8oKi52NOucAcmZxpCyyVl7tkmMzhSZyKKBPhphr4KdMqbgGAabAARKCXYJ04+gAxqlRb/OiUTwLxispmsZ9s5LPTtzNvOc+E4QIhDJPKkszeJlxRhokrAU1Ba79MgqcHvLRMyEkiwpbXvhEyVv4vtQxUTzauu/RzlTgqp0b9V9UJ1g3uNp1iDtgbwUqstWTXEb0Tv+lPcwA== 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 MW3PR11MB4554.namprd11.prod.outlook.com (2603:10b6:303:5d::7) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5723.30; Mon, 17 Oct 2022 14:58:58 +0000 Received: from MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::fd53:6908:50cf:13ab]) by MN2PR11MB3821.namprd11.prod.outlook.com ([fe80::fd53:6908:50cf:13ab%7]) with mapi id 15.20.5723.026; Mon, 17 Oct 2022 14:58:58 +0000 From: "Power, Ciara" To: "Kusztal, ArkadiuszX" , "dev@dpdk.org" CC: "gakhil@marvell.com" , "Ji, Kai" , "Kusztal, ArkadiuszX" Subject: RE: [PATCH 1/3] crypto/qat: make immutable parameters constant Thread-Topic: [PATCH 1/3] crypto/qat: make immutable parameters constant Thread-Index: AQHYshAPH58GnX9uVEesPsjpdIzkdq4TDanQ Date: Mon, 17 Oct 2022 14:58:58 +0000 Message-ID: References: <20220817065536.79716-1-arkadiuszx.kusztal@intel.com> <20220817065536.79716-2-arkadiuszx.kusztal@intel.com> In-Reply-To: <20220817065536.79716-2-arkadiuszx.kusztal@intel.com> Accept-Language: en-IE, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-version: 11.6.500.17 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-traffictypediagnostic: MN2PR11MB3821:EE_|MW3PR11MB4554:EE_ x-ms-office365-filtering-correlation-id: 0b3c1477-5db5-4d72-945c-08dab0501ecf x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: h71Ku2to5MvHTVFNLUWOeMgg13OWSbKhckqBH5qSztS4DwpjsMWKDVlSYr7zBctK5XaJUUn4lDSbo+jfQIlpvgjKwlyxCq9zvqV8CVTogxyvp8eYHC9tTdZmdSc8CRaUHugCt6WCN8l0LE3snd3H+bFITeNIL7DpGTB8xIAXeTBQcWThCa+gi/K0a8rqFeMM7BlE4Tc2PQMXt+SDjBo/I/mzWYyk8WlIXzWdPpAl6JQPGdGsh3HXVEaOuTZYU4KtjNnkCgGZ8Qnt+jR3r9l7hMXaH/LnniznGIEBdEy5ozxgiO9/0bB9hvHrtu5Z/4n1zb+m7EO29z51qc78Rfc4FYndDoBOHPUGEywuuIlOV1dYcetS6TpYWyUp5MVETZxt6sgLe+9OQbMe++7PxeghtW1RSvMHmkA+59+lSxPDACfK55M4OZlUwLdcoCrhA5zTIF5n1Zr6NleFivRmdelUWBfTk5CUO75+1oa8gXAHwW2ApJci4zG9Ct5TlFaQxII8ebExND5ri3lM1YNqH6y2wts5Rc//aslb8oNkVzpoMS4Jmc6/mPgQn4xlBA22neA5F7Ts8xCUlYGouDkvKdGCKu8dYsRh39PG/FSLGjnNh2101ZglUjSjqYoLjkj5Uwc43+TIWT3R1mQFXxmW+ORHgF9M8op5wa14HLBj5kIdXJnKV3yaBq06Ek33UkscgIM5+G0OW2x7vRyRu6lV5uoKetm38r4yw8r11wtHNN1sgMb0fJkifGMGuFZBaG8LqCXUsuINgLUuZY6pXgWrw9lQxQ== 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:(13230022)(39860400002)(396003)(346002)(136003)(366004)(376002)(451199015)(4744005)(83380400001)(41300700001)(5660300002)(186003)(52536014)(8936002)(122000001)(38100700002)(82960400001)(33656002)(86362001)(55016003)(38070700005)(2906002)(7696005)(6506007)(53546011)(8676002)(66556008)(66476007)(66946007)(64756008)(71200400001)(66446008)(4326008)(54906003)(316002)(110136005)(107886003)(76116006)(9686003)(26005)(478600001); DIR:OUT; SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?us-ascii?Q?kDtcc70b+wljMwCNcEeWFC265cdcDrW50M6na5/P4cw0kb4pdW4VBBwTXUi/?= =?us-ascii?Q?YLHKZAJ8IRpun/5BEJKZWWxl4njFes3VcoSD269/cVnGFPSOAzauFcDJ2ofG?= =?us-ascii?Q?mo4W8wffE0ighh/YGY72sUQ1OVnUfUZgrM8VrzKg6aXR77K2gS2315FpJb+r?= =?us-ascii?Q?d7U82j5o+xpAZjJKZRDEugPpzaGnN6qrfZsuZj7/QmPIURFKmBBcuVHhaV52?= =?us-ascii?Q?rm8go34JhHm+z7FPfWJCs3+d4C9qobEs2tlO4rImThe5E0VXyz5mXe2g02bB?= =?us-ascii?Q?mve9H8u0pZ9JwVe9gjq5fkgG8cVfV4vgsX0+dzKdXTTV6lv6BqW4RvtYifQR?= =?us-ascii?Q?i9AFEwfEo9b3FHBNYqa9+9f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/ZuFCods4iyHr9jwVnMd1GLc5KiVPWTTinMDEg9ktTeUMPTr4+cyIdsM?= =?us-ascii?Q?I5n0tKgJKTZIoX+hkQIQaECLhrfvAX8rP8pI14W0kj1R/d89chDK7wutdnXE?= =?us-ascii?Q?opdEvbuN5fv1p4TktckuJI4g8lCmXV+dUGbbj4TpijPrPxW6qZMk/Xl01/Dq?= =?us-ascii?Q?+y7pTk3c8Qve5mJnXNQ1D2oWoOarZC7Qq1Nx2p072u7X5LFd9EflYx3yuDww?= =?us-ascii?Q?IxROk2Tn5YdH6+PG2MVDoDj6LH/1c4wNFVTjT+3VwgOPvzAqfLqylh/SIJdA?= =?us-ascii?Q?c5ruGiJs2g0nI5SKVuv5RhkYoJDA5JQAweqHRFgn?= 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: 0b3c1477-5db5-4d72-945c-08dab0501ecf X-MS-Exchange-CrossTenant-originalarrivaltime: 17 Oct 2022 14:58:58.6982 (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: zSdahYQVq4Ym6M4UMKrla1h0ZZies0rQsVx2bfLQcSZ6ns9fTzjq0uK+zMHDCLYqBImWioVZ1DGZJecmamc7tA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: MW3PR11MB4554 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 Hi Arek, > -----Original Message----- > From: Arek Kusztal > Sent: Wednesday 17 August 2022 07:56 > To: dev@dpdk.org > Cc: gakhil@marvell.com; Ji, Kai ; Kusztal, ArkadiuszX > > Subject: [PATCH 1/3] crypto/qat: make immutable parameters constant >=20 > All pointers passed to functions that are not supposed to have its data > changed should be marked as constant. > Additionally session field should be checked only in with session case. >=20 > Signed-off-by: Arek Kusztal > --- > drivers/common/qat/qat_adf/qat_pke.h | 16 ++--- > drivers/crypto/qat/qat_asym.c | 133 ++++++++++++++++++-----------= ---- > -- > drivers/crypto/qat/qat_ec.h | 2 +- > 3 files changed, 76 insertions(+), 75 deletions(-) Acked-by: Ciara Power