Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp5753952rwb; Tue, 22 Nov 2022 04:37:46 -0800 (PST) X-Google-Smtp-Source: AA0mqf48iLOJKFUEAyaNEz0GKL1xtnxGUs62VmedHKF9PdnLYVZpUnGUE70p70TpFlPSbV7rczi5 X-Received: by 2002:a17:903:260c:b0:176:ab43:a48 with SMTP id jd12-20020a170903260c00b00176ab430a48mr5769142plb.53.1669120666347; Tue, 22 Nov 2022 04:37:46 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1669120666; cv=pass; d=google.com; s=arc-20160816; b=K0eiA7f8LLonG7j8aoAoPqqG9sUnAS7BpSz5tn7RUJ4aIZ07449HDTPnV1HSXIU4cb bavZWNjP27sHjrYpI6eH25G8V/Q2DYRAR8JXcDDpYaDd9IsbHMXcMxE4AIiq+B/h34n0 RQCscSEK1LyXlUPlJyJF3z+iG/Y/8xg6iQf3PoIb2R9PluDdUr/WQGes6Z7//Wj2uy4G DvtjNiuhJrkuizKb2+1GqWB3NH07FjNNDoBI4X9F8KbKwAtjAQGJ9OTdo+tf2En/44dH 3Ew5SE9nVmVLuGkOG6LdDsHaL48Fwp7wz3d3Eq/3qkltRymQBdYRIViXDjX0mr9Qg4Fu j/8A== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:content-transfer-encoding :content-id:user-agent:content-language:accept-language:in-reply-to :references:message-id:date:thread-index:thread-topic:subject:cc:to :from:dkim-signature; bh=R2Cr7WDO9fQb8ibiNELWbCEGgjrxYddeJviO2PRVnoQ=; b=OnEcw2kNTdT2v3WNdVjK0Jfyq8vMjdFOWF/AVxQs2dVLd8B/plk3n23a8OHHRtigAk pYXwUz94emxtTYbxhqTN5SInEsBjDhY5TQOhcEIj1I00ij/9RwkgiV66KzlPd1ucLrSU w85cKoq8skJiQsXUdrEQu+isZnODJyNoa2f4VVjallD69E8cITpY7GubgmIg46xjOsqd FEImC7uGbQKYlq5U87WsX0gnzwBKX3TG9KuUDoFRkElJMGC7Uh9k0uBUZz/6cCwcq9rG 51K8us8vYxdPd6wdl0Birr6hQRcb1I3Y/th4o5zvMKR9bFE37JKFPQZ1ytwUReylrthf XZ5A== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Ky/9Pikm"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id t2-20020a170902b20200b001786b70f913si12708184plr.164.2022.11.22.04.37.34; Tue, 22 Nov 2022 04:37:46 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b="Ky/9Pikm"; arc=pass (i=1 spf=pass spfdomain=intel.com dkim=pass dkdomain=intel.com dmarc=pass fromdomain=intel.com); spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233019AbiKVLfe (ORCPT + 90 others); Tue, 22 Nov 2022 06:35:34 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:54576 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232967AbiKVLfI (ORCPT ); Tue, 22 Nov 2022 06:35:08 -0500 Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 25A535CD10; Tue, 22 Nov 2022 03:29:38 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1669116578; x=1700652578; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=R2Cr7WDO9fQb8ibiNELWbCEGgjrxYddeJviO2PRVnoQ=; b=Ky/9PikmPlEsHC2COaQNp4sfUXDOPFsaNw1GMX4s1NesPjeXE2geAB8H +IkiJN1cHXITBy4TJ89EHBFmOdsfFWLbRatr9UxvafTph2v1aUrEJDhhe Q7gz6zzkE0EW4bYwItaM1oiK9S1hotzq6GmYiYpLDkCGpVednuKmOuk2+ z2sExjLr1LCZzbpuw/dO0R1u/bxWmk64lAl3anupusQW6adl7nxsFCYIB 7jR09eSLh3PRSWq3rCf2DR+P1zNxzjAY65fUcSCmeLe6dI6aG4uQWmnlX CJK8crc7oONLp7U9JytTs6mK2vPLgGWnHG8r6AO4zUNd3EjEjYRzErAKq g==; X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="315613143" X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="315613143" Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by orsmga103.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 22 Nov 2022 03:29:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6500,9779,10538"; a="710163706" X-IronPort-AV: E=Sophos;i="5.96,183,1665471600"; d="scan'208";a="710163706" Received: from fmsmsx603.amr.corp.intel.com ([10.18.126.83]) by fmsmga004.fm.intel.com with ESMTP; 22 Nov 2022 03:29:23 -0800 Received: from fmsmsx612.amr.corp.intel.com (10.18.126.92) by fmsmsx603.amr.corp.intel.com (10.18.126.83) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 22 Nov 2022 03:29:03 -0800 Received: from fmsmsx602.amr.corp.intel.com (10.18.126.82) by fmsmsx612.amr.corp.intel.com (10.18.126.92) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2375.31; Tue, 22 Nov 2022 03:29:03 -0800 Received: from fmsedg601.ED.cps.intel.com (10.1.192.135) 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 via Frontend Transport; Tue, 22 Nov 2022 03:29:03 -0800 Received: from NAM12-BN8-obe.outbound.protection.outlook.com (104.47.55.171) 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; Tue, 22 Nov 2022 03:29:03 -0800 ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=MZftz9a6GQeTnOe7n4tuZBm0/gRxYKyAAhwH1Pbiu3D4k+uj2sqs/QDz32+nektPA2HRNjygugIbTXivSXx6CpfIRhmBqxKOq3o+9Sky0RomqYX33tUVdXQou1Q5+FLwrMNEe8obIaSVm0OhGpIvc0+cDodm5iHLlMUFSkjaRx/8Wl47Pq0sGlEzrSleghM12DVsxZEWRFsFMfZFC2bCk+dIv0Z0e0zwXbM935Y3qSw59o8nHj6T41FxwP642cZKtv6O+ylicXJxgKf+CHBXkB09rCdI+qCwFKT0q8sM3pZhP0rNhol2u5NhorHreIgXLLz5Vfw0nB/AexrFHzjb9A== 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=R2Cr7WDO9fQb8ibiNELWbCEGgjrxYddeJviO2PRVnoQ=; b=eeZcehq6ebbpEe0Qdglu5QY4i244XZrxtJ1C3Fd+W1gizR0NudTv2VFxULVrRL7cFCpVQo2bYwl/ZdbbjCaqVXQt9UspBYzMZ9THfhXp9Xciob9w0wsxMPAzV4Tuxhcl+dQmeHlkruYWVUuLJZLPr8L+CUj4K8M+LIMelX+QPyEp0EJ+RBxmddty40BKGVYqjns9bT1gnMs0Lxja4+odZgof0Ihr6Lzwur46FbTpq8pR/vfCUMiaGwl+XJDQS9y/N+XTW4mFtIcxADorjSuMHxIgWnR9Q1QgEv0QAuB38Z85QJYiDXMIl7AkGMUF2fWneJCGATPk0acZdE8TzfaWuw== 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 BL1PR11MB5978.namprd11.prod.outlook.com (2603:10b6:208:385::18) by CY5PR11MB6163.namprd11.prod.outlook.com (2603:10b6:930:28::19) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.5834.15; Tue, 22 Nov 2022 11:28:59 +0000 Received: from BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::2fb7:be18:a20d:9b6e]) by BL1PR11MB5978.namprd11.prod.outlook.com ([fe80::2fb7:be18:a20d:9b6e%8]) with mapi id 15.20.5834.015; Tue, 22 Nov 2022 11:28:59 +0000 From: "Huang, Kai" To: "kvm@vger.kernel.org" , "Hansen, Dave" , "linux-kernel@vger.kernel.org" CC: "Luck, Tony" , "bagasdotme@gmail.com" , "ak@linux.intel.com" , "Wysocki, Rafael J" , "kirill.shutemov@linux.intel.com" , "Christopherson,, Sean" , "Chatre, Reinette" , "pbonzini@redhat.com" , "linux-mm@kvack.org" , "Yamahata, Isaku" , "peterz@infradead.org" , "Shahar, Sagi" , "imammedo@redhat.com" , "Gao, Chao" , "Brown, Len" , "sathyanarayanan.kuppuswamy@linux.intel.com" , "Huang, Ying" , "Williams, Dan J" Subject: Re: [PATCH v7 02/20] x86/virt/tdx: Detect TDX during kernel boot Thread-Topic: [PATCH v7 02/20] x86/virt/tdx: Detect TDX during kernel boot Thread-Index: AQHY/T294K8swb3sVUCgXbqBp7bt565KEzkAgAC9g4A= Date: Tue, 22 Nov 2022 11:28:58 +0000 Message-ID: <9db9599fba11490cebbe59cbb7c145e9c119ab0f.camel@intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Evolution 3.44.4 (3.44.4-2.fc36) 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: BL1PR11MB5978:EE_|CY5PR11MB6163:EE_ x-ms-office365-filtering-correlation-id: ae6a8d31-20d6-4f4c-3c87-08dacc7cbf9c x-ld-processed: 46c98d88-e344-4ed4-8496-4ed7712e255d,ExtAddr x-ms-exchange-senderadcheck: 1 x-ms-exchange-antispam-relay: 0 x-microsoft-antispam: BCL:0; x-microsoft-antispam-message-info: oH5fR7cKBwF6G9a7dhNPjWA69E1aNCXsJi/+VyVTt9c6q1Ip3ReNX/+wpZtSmNM9+i6Dv7F16lmSsdD6LtZuooymE6CaXZS45cSB8viGBQtETJGYwnzEVgpu2/WL7EjAK29QJufxsrdOVBdXdRcVoCiQgD+7kWBVVFTNH+fW6sQLGhDQNSvl0Y07LsjGBdDedUfeVd1lxXXYypTv/Mt0tvf8eZjb195zwZMcL+n0OzQMca1Lz0kC9FbIkK9MxmRTTLDNvXfgmqG/odlwb+b/SOPT3P6wndxxdQ4SD4WY7y9lVF0XCL6BlT2+fkOWk9VZGwAUdMwhdKCYGZ/TZR1fjZzgNMUW0Nugn5YdgiFftP4Pp14A9cNigAi/f0p+8JqYL9PZGIrVeil3NHlgM1Ox25Ye9Cx5TDf43sUoIX13KI6C54IIgBTrie/VIKJ0WO0NcIRu1C4yBffJdwPjkSGkontHNYsEiRVI/s/v94x9AVz85DZqeFLca6xqvTjbh+Apk4C7nq//Z/6DC+0hSojon1Qe4YCPBSlbg8FSzQ9ZfuXE1xqJ56eou5w0VKytI+zTMudk7NUAFmUET3BD4rblXDPGJldhtAuDTQfBe/xc2OPwGJ+qbjJYc/UAXIrgVvg8onW+K62+r9nexYaEf2vlf+FJNIaGYUSFRUWKLTFOcO0YCQXoVEO6ZoK+OPrtEyeQZevF+ElRYAcYaKOYIVuXdqVsYmCr1/bbQN+5gKycsgwvuS4hZ715EcIUgzb5V0iC x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:BL1PR11MB5978.namprd11.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230022)(346002)(396003)(366004)(136003)(39860400002)(376002)(451199015)(2616005)(186003)(83380400001)(30864003)(82960400001)(38070700005)(122000001)(2906002)(38100700002)(7416002)(8936002)(5660300002)(6486002)(478600001)(71200400001)(41300700001)(6506007)(26005)(66556008)(66946007)(66446008)(64756008)(6512007)(76116006)(91956017)(8676002)(66476007)(4326008)(316002)(54906003)(110136005)(86362001)(36756003)(290074003)(309714004);DIR:OUT;SFP:1102; x-ms-exchange-antispam-messagedata-chunkcount: 1 x-ms-exchange-antispam-messagedata-0: =?utf-8?B?MkkzK2JkbTRBbkNYUFRDWEd3cjhlS1lqNFdQeGtiaDludG92QkpWSFB4clZt?= =?utf-8?B?V3cyU0tSdXJUbmM2TXdUczdnZ2xiSnM1VVlkWW5nMTBxSzl0ZmdJZU1GeGNn?= =?utf-8?B?d0wya0Z5VHBudzFldjhkYXdwekJGQk9tbG5LVG1vNjNpMmIrMmY3RUhxUTNm?= =?utf-8?B?VzE2a2Q4ODRTYU95aHJqckNJOUswWjVveWVkRm5KajRUUFhjWXdkU25vT3ZW?= =?utf-8?B?ZWttNGZoczJPWWN5RUVaYWtTRUpnWHExeUNmNH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2?= =?utf-8?B?T0FESkJIMkxGZzJtSUM5Ym1ua1ppNURqRCtLdzlVVFdCOFp2WGFrRi9ZOXA0?= =?utf-8?B?bFhCeXA3M1dSV3dUTE4vNFdHc3VrRTlIOSt2a2J6cFRkaVMvcFlFZi9xTjlL?= =?utf-8?B?Mmc9PQ==?= Content-Type: text/plain; charset="utf-8" Content-ID: Content-Transfer-Encoding: base64 MIME-Version: 1.0 X-MS-Exchange-CrossTenant-AuthAs: Internal X-MS-Exchange-CrossTenant-AuthSource: BL1PR11MB5978.namprd11.prod.outlook.com X-MS-Exchange-CrossTenant-Network-Message-Id: ae6a8d31-20d6-4f4c-3c87-08dacc7cbf9c X-MS-Exchange-CrossTenant-originalarrivaltime: 22 Nov 2022 11:28:58.8732 (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: akBGtKuLbGk/cgliBiT1UwiX5Wuzh56zvZ9OgLfNYGmdA0eXoDkFlNS+gbHreYSre5RK/KFNJA9knSh9FnbhiA== X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY5PR11MB6163 X-OriginatorOrg: intel.com X-Spam-Status: No, score=-4.4 required=5.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_MED, SPF_HELO_NONE,SPF_NONE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org PiA+IA0KPiA+IFRoZSBURFggbW9kdWxlIGlzIGV4cGVjdGVkIHRvIGJlIGxvYWRlZCBieSB0aGUg QklPUyB3aGVuIGl0IGVuYWJsZXMgVERYLA0KPiA+IGJ1dCB0aGUga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GVudGlmaWVyOiBHUEwtMi4wDQorLyoNCisgKiBD b3B5cmlnaHQoYykgMjAyMiBJbnRlbCBDb3Jwb3JhdGlvbi4NCisgKg0KKyAqIEludGVsIFRydXN0 ZWQgRG9tYWluIEV4dGVuc2lvbnMgKFREWCkgc3VwcG9ydA0KKyAqLw0KKw0KKyNkZWZpbmUgcHJf Zm10KGZtdCkgICAgInRkeDogIiBmbXQNCisNCisjaW5jbHVkZSA8bGludXgvdHlwZXMuaD4NCisj aW5jbHVkZSA8bGludXgvY2FjaGUuaD4NCisjaW5jbHVkZSA8bGludXgvaW5pdC5oPg0KKyNpbmNs dWRlIDxsaW51eC9wcmludGsuaD4NCisjaW5jbHVkZSA8YXNtL21zci5oPg0KKyNpbmNsdWRlIDxh c20vdGR4Lmg+DQorI2luY2x1ZGUgInRkeC5oIg0KKw0KK3N0YXRpYyB1MzIgdGR4X2tleWlkX3N0 YXJ0IF9fcm9fYWZ0ZXJfaW5pdDsNCitzdGF0aWMgdTMyIG5yX3RkeF9rZXlpZHMgX19yb19hZnRl cl9pbml0Ow0KKw0KK3N0YXRpYyBpbnQgX19pbml0IHJlY29yZF9rZXlpZF9wYXJ0aXRpb25pbmco dm9pZCkNCit7DQorICAgICAgIHUzMiBucl9ta3RtZV9rZXlpZHM7DQorICAgICAgIGludCByZXQ7 DQorDQorICAgICAgIC8qDQorICAgICAgICAqIElBMzJfTUtUTUVfS0VZSURfUEFSVElPTklORzoN CisgICAgICAgICogICBCaXQgWzMxOjBdOiAgICAgICAgTnVtYmVyIG9mIE1LVE1FIEtleUlEcy4N CisgICAgICAgICogICBCaXQgWzYzOjMyXTogICAgICAgTnVtYmVyIG9mIFREWCBwcml2YXRlIEtl eUlEcy4NCisgICAgICAgICovDQorICAgICAgIHJldCA9IHJkbXNyX3NhZmUoTVNSX0lBMzJfTUtU TUVfS0VZSURfUEFSVElUSU9OSU5HLCAmbnJfbWt0bWVfa2V5aWRzLA0KKyAgICAgICAgICAgICAg ICAgICAgICAgJm5yX3RkeF9rZXlpZHMpOw0KKyAgICAgICBpZiAocmV0KQ0KKyAgICAgICAgICAg ICAgIHJldHVybiAtRU5PREVWOw0KKw0KKyAgICAgICBpZiAoIW5yX3RkeF9rZXlpZHMpDQorICAg ICAgICAgICAgICAgcmV0dXJuIC1FTk9ERVY7DQorDQorICAgICAgIC8qIFREWCBLZXlJRHMgc3Rh cnQgYWZ0ZXIgdGhlIGxhc3QgTUtUTUUgS2V5SUQuICovDQorICAgICAgIHRkeF9rZXlpZF9zdGFy dCsrOw0KKw0KKyAgICAgICBwcl9pbmZvKCJlbmFibGVkOiBwcml2YXRlIEtleUlEIHJhbmdlIFsl dSwgJXUpXG4iLA0KKyAgICAgICAgICAgICAgICAgICAgICAgdGR4X2tleWlkX3N0YXJ0LCB0ZHhf a2V5aWRfc3RhcnQgKyBucl90ZHhfa2V5aWRzKTsNCisNCisgICAgICAgcmV0dXJuIDA7DQorfQ0K Kw0KK3N0YXRpYyB2b2lkIF9faW5pdCBjbGVhcl90ZHgodm9pZCkNCit7DQorICAgICAgIC8qDQor ICAgICAgICAqIHRkeF9rZXlpZF9zdGFydCBhbmQgbnJfdGR4X2tleWlkcyBpbmRpY2F0ZSB0aGF0 IFREWCBpcyBub3QNCisgICAgICAgICogZW5hYmxlZCBieSB0aGUgQklPUy4gIFRoaXMgaXMgdXNl ZCBpbiBURFggYm9vdC10aW1lDQorICAgICAgICAqIGluaXRpYWxpemF0aXRvbiBlcnJvciBwYXRo cyB0byB0YWtlIGl0IGZyb20gZW5hYmxlZCB0byBub3QNCisgICAgICAgICogZW5hYmxlZC4NCisg ICAgICAgICovDQorICAgICAgIHRkeF9rZXlpZF9zdGFydCA9IG5yX3RkeF9rZXlpZHMgPSAwOw0K K30NCisNCitzdGF0aWMgaW50IF9faW5pdCB0ZHhfaW5pdCh2b2lkKQ0KK3sNCisgICAgICAgaW50 IGVycjsNCisNCisgICAgICAgZXJyID0gcmVjb3JkX2tleWlkX3BhcnRpdGlvbmluZygpOw0KKyAg ICAgICBpZiAoZXJyKQ0KKyAgICAgICAgICAgICAgIHJldHVybiBlcnI7DQorDQorICAgICAgIC8q DQorICAgICAgICAqIEluaXRpYWxpemluZyB0aGUgVERYIG1vZHVsZSByZXF1aXJlcyBvbmUgVERY IHByaXZhdGUgS2V5SUQuDQorICAgICAgICAqIElmIHRoZXJlJ3Mgb25seSBvbmUgVERYIEtleUlE IHRoZW4gYWZ0ZXIgbW9kdWxlIGluaXRpYWxpemF0aW9uDQorICAgICAgICAqIEtWTSB3b24ndCBi ZSBhYmxlIHRvIHJ1biBhbnkgVERYIGd1ZXN0LCB3aGljaCBtYWtlcyB0aGUgd2hvbGUNCisgICAg ICAgICogdGhpbmcgd29ydGhsZXNzLiAgSnVzdCBkaXNhYmxlIFREWCBpbiB0aGlzIGNhc2UuDQor ICAgICAgICAqLw0KKyAgICAgICBpZiAobnJfdGR4X2tleWlkcyA8IDIpIHsNCisgICAgICAgICAg ICAgICBwcl9pbmZvKCJpbml0aWFsaXphdGlvbiBmYWlsZWQ6IHRvbyBmZXcgcHJpdmF0ZSBLZXlJ RHMgYXZhaWxhYmxlDQooJWQpLlxuIiwNCisgICAgICAgICAgICAgICAgICAgICAgICAgICAgICAg bnJfdGR4X2tleWlkcyk7DQorICAgICAgICAgICAgICAgZ290byBub190ZHg7DQorICAgICAgIH0N CisNCisgICAgICAgcmV0dXJuIDA7DQorbm9fdGR4Og0KKyAgICAgICBjbGVhcl90ZHgoKTsNCisg ICAgICAgcmV0dXJuIC1FTk9ERVY7DQorfQ0KK2Vhcmx5X2luaXRjYWxsKHRkeF9pbml0KTsNCisN CisvKiBSZXR1cm4gd2hldGhlciB0aGUgQklPUyBoYXMgZW5hYmxlZCBURFggKi8NCitib29sIHBs YXRmb3JtX3RkeF9lbmFibGVkKHZvaWQpDQorew0KKyAgICAgICByZXR1cm4gISFucl90ZHhfa2V5 aWRzOw0KK30NCmRpZmYgLS1naXQgYS9hcmNoL3g4Ni92aXJ0L3ZteC90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