Received: by 2002:a25:ca44:0:0:0:0:0 with SMTP id a65csp2159578ybg; Thu, 30 Jul 2020 11:50:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz5BfrxCEeMJFRN0TOK/rODSNJfRNAlWUAzP+wEL0ivnrNWAhV+j0RTQ/69su0Tijgb6jTA X-Received: by 2002:a50:8305:: with SMTP id 5mr415458edh.174.1596135022969; Thu, 30 Jul 2020 11:50:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1596135022; cv=none; d=google.com; s=arc-20160816; b=uChLgNqv1zSyJzP+ZIqxvLByZOBei8uxOvli87zlOcubu/AL6ACy4Z9x+fs6Y3u2ih 35H93tyZKJF44iJbITIbGDNhwpLuYD522F1YyvXf9LtgZeGTk34HHdbHBDSbIBBTeJhH ybD6VnUQShSMEev8f7TdKYn0pfLKPuc/lFiAG5awMLrmUI7QuEyjBOBRGXwbes0egseH 9n71xSholuyjKfuhzjwlK0kzhuj3EKQWrIBc0tfot+6BTNAUYHM7xHeQI3VSzXMCJbGM Ra6gIVT0lCedmz727gKgo+uGQrZiFNeLQaz52tf+gJjXgJ23S9BTMFXROkNGl/HW2kAK Pgcg== 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=nz4Z84c1Y87jhATwZJpgv1Aqr3rwo94827iPAlOjCcs=; b=cfYpX5Br8A19mkHFxOwOpeTYISkECsBp3F7/r0ifx8hxgoJ6BHupWw9lu92IdJvZ8D nXJQeDBeMMoVcsU9uLN0fKMXptIQ/VxNeY9mhFMRAoGzCP0/sfKzLT+UvqQHu0ojKnh0 Rwk8yb+Ny8SWqLbhndLL6VhKiVK+SwtlZ4zAvq262UC9Pa24sppDJ8VO2KcSm/sNLx7j mGtXBFbFTB9ib5a8WCkSQxnsFwz1uGvnLheq6ur++sakD90x+gE7BFQepydhYmDCmd/4 YUlZvdHIzauXY5pDkIUrh7y2lzvMyrEW/ECB5XivyDqhsNL81Bvh0KJqOTYN6lp7bmvh R6jQ== 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 b31si3907062edf.456.2020.07.30.11.49.54; Thu, 30 Jul 2020 11:50:22 -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 S1730279AbgG3Srq (ORCPT + 99 others); Thu, 30 Jul 2020 14:47:46 -0400 Received: from mga14.intel.com ([192.55.52.115]:18465 "EHLO mga14.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1728653AbgG3Srp (ORCPT ); Thu, 30 Jul 2020 14:47:45 -0400 IronPort-SDR: 9kXpmd0Ma2jrHnN8nXkY51O0jdhlpdBQlJUsEzcbuvAuLjK1ueHMCl33pUn0Cr9PL3AFhm6wnN As1viLWr4cGQ== X-IronPort-AV: E=McAfee;i="6000,8403,9698"; a="150867136" X-IronPort-AV: E=Sophos;i="5.75,415,1589266800"; d="scan'208";a="150867136" X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga006.fm.intel.com ([10.253.24.20]) by fmsmga103.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 30 Jul 2020 11:47:37 -0700 IronPort-SDR: X0Nk7gZeqlbu/6fBMYsNRreBKQToDHfLl6lnSFVd2vH/b0D9O8N2oWStMXoC7nuL7uL7SD6w7C nTGlppexixog== X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.75,415,1589266800"; d="scan'208";a="490764404" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by fmsmga006.fm.intel.com with ESMTP; 30 Jul 2020 11:47:37 -0700 Received: from bgsmsx606.gar.corp.intel.com (10.67.234.8) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.439.0; Thu, 30 Jul 2020 11:47:37 -0700 Received: from hasmsx602.ger.corp.intel.com (10.184.107.142) by BGSMSX606.gar.corp.intel.com (10.67.234.8) 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:17:33 +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:47:32 +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/C6xECcUY2K3Gkftqkf47mAgACNfHCAAAV/kA== Date: Thu, 30 Jul 2020 18:47:32 +0000 Message-ID: <1c5bc674286a4f52afd78b1248945fd6@intel.com> References: <20200730070258.3361503-1-tomas.winkler@intel.com> <787ef32c-b10d-5fb7-786f-2825180e1b88@embeddedor.com> In-Reply-To: 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 DQo+ID4gSGkgVG9tYXMsDQo+ID4NCj4gPiBPbiA3LzMwLzIwIDAyOjAyLCBUb21hcyBXaW5rbGVy IHdyb3RlOg0KPiA+ID4gd2lyZWRfY21kX3JlcGVhdGVyX2F1dGhfc3RyZWFtX3JlcV9pbiBoYXMg YSB2YXJpYWJsZSBsZW5ndGggYXJyYXkgYXQNCj4gPiA+IHRoZSBlbmQuIHdlIHVzZSBzdHJ1Y3Rf c2l6ZSgpIG92ZXJmbG93IG1hY3JvIHRvIGRldGVybWluZSB0aGUgc2l6ZQ0KPiA+ID4gZm9yIHRo ZSBhbGxvY2F0aW9uIGFuZCBzZW5kaW5nIHNpemUuDQo+ID4gPg0KPiA+DQo+ID4gTXkgY29tbWVu dHMgaGVyZToNCj4gPiBodHRwczovL2xvcmUua2VybmVsLm9yZy9sa21sLzY2Yzk5NTBjLWVmNTQt NDIzZS00NjdmLQ0KPiA+IDM4YTlmN2FmYjM4NEBlbWJlZGRlZG9yLmNvbS8NCj4gU3RyYW5nZSwg IGl0IGhhdmVuJ3QgbGFuZGVkIGluIG15IG1haWxib3gNCj4gDQo+IA0KPiA+IHN0aWxsIHN0YW5k Li4uDQo+IA0KPiANCj4gMS4gSSBkb24ndCB0aGluayBpdCBzaG91bGQgZ28gdG8gc3RhYmxlLCB0 cnVlICB0aGVyZSB3YXMgYnVnIGJ1dCBpdCB3YXNuJ3QNCj4gdHJpZ2dlcmVkIGJlY2F1c2UgdGhl cmUgaXMgb25seSBvbmUgc3RyZWFtLg0KDQoNCkknbSBjaGFuZ2luZyBteSBtaW5kIG9uIHRoYXQs IHRoaXMgaXMgYSBwcm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