From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga03.intel.com (mga03.intel.com [134.134.136.65]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id C02E78217F for ; Mon, 19 Dec 2016 23:56:52 -0800 (PST) Received: from orsmga005.jf.intel.com ([10.7.209.41]) by orsmga103.jf.intel.com with ESMTP; 19 Dec 2016 23:56:52 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.33,377,1477983600"; d="scan'208";a="44514338" Received: from shwde7156.ccr.corp.intel.com ([10.239.158.34]) by orsmga005.jf.intel.com with ESMTP; 19 Dec 2016 23:56:51 -0800 From: Eric Dong To: edk2-devel@lists.01.org Cc: Jiewen Yao , Star Zeng Date: Tue, 20 Dec 2016 15:56:49 +0800 Message-Id: <1482220609-16280-1-git-send-email-eric.dong@intel.com> X-Mailer: git-send-email 2.6.4.windows.1 Subject: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed. X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 20 Dec 2016 07:56:52 -0000 Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Eric Dong Cc: Jiewen Yao Cc: Star Zeng --- SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr b/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr index 48e9943..57f37be 100644 --- a/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr +++ b/SecurityPkg/Tcg/Tcg2Config/Tcg2Config.vfr @@ -154,7 +154,7 @@ formset questionid = KEY_TPM2_PCR_BANKS_REQUEST_0, prompt = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA1), help = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA1_HELP), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, default = 1, endcheckbox; endif; @@ -164,7 +164,7 @@ formset questionid = KEY_TPM2_PCR_BANKS_REQUEST_1, prompt = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA256), help = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA256_HELP), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, default = 0, endcheckbox; endif; @@ -174,7 +174,7 @@ formset questionid = KEY_TPM2_PCR_BANKS_REQUEST_2, prompt = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA384), help = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA384_HELP), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, default = 0, endcheckbox; endif; @@ -184,7 +184,7 @@ formset questionid = KEY_TPM2_PCR_BANKS_REQUEST_3, prompt = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA512), help = STRING_TOKEN(STR_TCG2_PCR_BANK_SHA512_HELP), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, default = 0, endcheckbox; endif; @@ -194,7 +194,7 @@ formset questionid = KEY_TPM2_PCR_BANKS_REQUEST_4, prompt = STRING_TOKEN(STR_TCG2_PCR_BANK_SM3_256), help = STRING_TOKEN(STR_TCG2_PCR_BANK_SM3_256_HELP), - flags = INTERACTIVE, + flags = INTERACTIVE | RESET_REQUIRED, default = 0, endcheckbox; endif; -- 2.6.4.windows.1