Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2152114ybg; Thu, 30 Jul 2020 11:36:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxYyD7/I1XB69p+EWbgiUAydDqsnU3TDMwxtxX1YiqJL1OYYJa426+E95Oec4yeQno648Hc X-Received: by 2002:a17:906:6ad8:: with SMTP id q24mr441668ejs.192.1596134217676; Thu, 30 Jul 2020 11:36:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596134217; cv=none; d=google.com; s=arc-20160816; b=XGsxSUV+g56vj+nDBc8Oo0507ai+lnZyZwTrfQSDEE3v7qOkD1TXpK7noQTAXohhx7 z9YUp3UWR+Ey8MHusWqCEgSeXX8dAMunMTDec3IDgnFdqEJh9g5LaTbDLuueQp3PxEjz qSHLx18AyUTvmIxrVAqFeU8Em2usI/heY1T3an5WVOCuSoS3OTAkVBPGKYCvZz1aTxxY WAS3hX7E2Cmx4GqsdlgswlMNf+FL/F9PiT62I+gN8U9emyYItsM80BJ9BREewxfykeu2 t7kyNUFmWuIpF27+pDarHVGC03UK4VLI9BLReWBGIUCc/O8Pc1MaOAJKxY5KiXQagCuz 25tw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:mime-version:content-transfer-encoding :dlp-version:dlp-reaction:dlp-product:content-language :accept-language:in-reply-to:references:message-id:date:thread-index :thread-topic:subject:cc:to:from:ironport-sdr:ironport-sdr; bh=cF92f20IoZQwi2iuKfUXMO8ns7sAwgO97uLBbQOy4R4=; b=Xt95Y8BEmPn3TmCgS6UBRHg8UNn/UMvtu3c2ldodFpnUmU5OzR7jWL85cMSIs4vAqi VjZtZkAUVrCiZFbxI4TbR02K9o17R6duyMuwl6EEe3dVg+h9I3D6OekrUstHOQr9Onht xEUT60Rx4jOfIeF496DsCAtJ52wjcdzMvOwCY4QPRKsUGcwMCsmEVC9Q8873RuKsDj+T +QTbO48MC/AJoDj+o3Ni9RXKuvfSD3s+PEjG2EePFeH03puRwpAeHM88Ax5TV2rtjjLI hkI89N0deOMdYeF82iOi7QfnKQSWcTangWt5Dmw52pCTpX4O4fBGgXV26h8YVUy9siBe LLjw== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id n4si3143554edo.294.2020.07.30.11.36.31; Thu, 30 Jul 2020 11:36:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727945AbgG3SgL (ORCPT + 99 others); Thu, 30 Jul 2020 14:36:11 -0400 Received: from mga03.intel.com ([134.134.136.65]:22245 "EHLO mga03.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726275AbgG3SgL (ORCPT ); Thu, 30 Jul 2020 14:36:11 -0400 IronPort-SDR: nrPRqev7whKHfj5ZqWhp5bKNTO+v9wfsU5j7lTCTb0e7CvRu6CC9pCR4zwGbPmrGV7sDVmIFd7 tLVEaLo/4zqw== X-IronPort-AV: E=McAfee;i="6000,8403,9698"; a="151640033" X-IronPort-AV: E=Sophos;i="5.75,415,1589266800"; d="scan'208";a="151640033" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga008.fm.intel.com ([10.253.24.58]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 11:36:09 -0700 IronPort-SDR: xy3i0RKfOri4g/7K2MD/fVD1dvUQmXvgUtVdjFJok1grsM/0yWvJOptwTKHEPstyChA2D9qWGC uxlUYnFejZQg== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,415,1589266800"; d="scan'208";a="274295426" Received: from fmsmsx103.amr.corp.intel.com ([10.18.124.201]) by fmsmga008.fm.intel.com with ESMTP; 30 Jul 2020 11:36:09 -0700 Received: from bgsmsx604.gar.corp.intel.com (10.67.234.6) by FMSMSX103.amr.corp.intel.com (10.18.124.201) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 30 Jul 2020 11:36:09 -0700 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by BGSMSX604.gar.corp.intel.com (10.67.234.6) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.1713.5; Fri, 31 Jul 2020 00:06:05 +0530 Received: from hasmsx602.ger.corp.intel.com ([10.184.107.142]) by HASMSX602.ger.corp.intel.com ([10.184.107.142]) with mapi id 15.01.1713.004; Thu, 30 Jul 2020 21:36:03 +0300 From: "Winkler, Tomas" To: "Gustavo A. R. Silva" , Greg Kroah-Hartman CC: "Usyskin, Alexander" , "linux-kernel@vger.kernel.org" , "C, Ramalingam" , "Gustavo A . R . Silva" Subject: RE: [char-misc-next V2] mei: hdcp: fix mei_hdcp_verify_mprime() input paramter Thread-Topic: [char-misc-next V2] mei: hdcp: fix mei_hdcp_verify_mprime() input paramter Thread-Index: AQHWZj+AeNrJc/C6xECcUY2K3Gkftqkf47mAgACNfHA= Date: Thu, 30 Jul 2020 18:36:03 +0000 Message-ID: References: <20200730070258.3361503-1-tomas.winkler@intel.com> <787ef32c-b10d-5fb7-786f-2825180e1b88@embeddedor.com> In-Reply-To: <787ef32c-b10d-5fb7-786f-2825180e1b88@embeddedor.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: dlp-product: dlpe-windows dlp-reaction: no-action dlp-version: 11.2.0.6 x-originating-ip: [10.184.70.1] Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: base64 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiBIaSBUb21hcywNCj4gDQo+IE9uIDcvMzAvMjAgMDI6MDIsIFRvbWFzIFdpbmtsZXIgd3JvdGU6 DQo+ID4gd2lyZWRfY21kX3JlcGVhdGVyX2F1dGhfc3RyZWFtX3JlcV9pbiBoYXMgYSB2YXJpYWJs ZSBsZW5ndGggYXJyYXkgYXQNCj4gPiB0aGUgZW5kLiB3ZSB1c2Ugc3RydWN0X3NpemUoKSBvdmVy ZmxvdyBtYWNybyB0byBkZXRlcm1pbmUgdGhlIHNpemUgZm9yDQo+ID4gdGhlIGFsbG9jYXRpb24g YW5kIHNlbmRpbmcgc2l6ZS4NCj4gPg0KPiANCj4gTXkgY29tbWVudHMgaGVyZToNCj4gaHR0cHM6 Ly9sb3JlLmtlcm5lbC5vcmcvbGttbC82NmM5OTUwYy1lZjU0LTQyM2UtNDY3Zi0NCj4gMzhhOWY3 YWZiMzg0QGVtYmVkZGVkb3IuY29tLw0KU3RyYW5nZSwgIGl0IGhhdmVuJ3QgbGFuZGVkIGluIG15 IG1haWxib3ggDQoNCg0KPiBzdGlsbCBzdGFuZC4uLg0KDQoNCjEuIEkgZG9uJ3QgdGhpbmsgaXQg c2hvdWxkIGdvIHRvIHN0YWJsZSwgdHJ1ZSAgdGhlcmUgd2FzIGJ1ZyBidXQgaXQgd2Fzbid0IHRy aWdnZXJlZCBiZWNhdXNlIHRoZXJlIGlzIG9ubHkgb25lIHN0cmVhbS4NCjIuIEluIGFueSBjYXNl IGlmIHdlIHdhbnQgdG8gYmFja3BvcnQgdG8gc3RhYmxlLCB0aGFuIGFsbCB0aG9zZSBmYW5jeSBv dmVyZmxvdyBtYWNyb3MgYX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