public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed.
@ 2016-12-20  7:56 Eric Dong
  2016-12-20  7:57 ` Yao, Jiewen
  2016-12-20  8:02 ` Zeng, Star
  0 siblings, 2 replies; 3+ messages in thread
From: Eric Dong @ 2016-12-20  7:56 UTC (permalink / raw)
  To: edk2-devel; +Cc: Jiewen Yao, Star Zeng

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed.
  2016-12-20  7:56 [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed Eric Dong
@ 2016-12-20  7:57 ` Yao, Jiewen
  2016-12-20  8:02 ` Zeng, Star
  1 sibling, 0 replies; 3+ messages in thread
From: Yao, Jiewen @ 2016-12-20  7:57 UTC (permalink / raw)
  To: Dong, Eric, edk2-devel@lists.01.org; +Cc: Zeng, Star

Reviewed-by: Jiewen.yao@intel.com

> -----Original Message-----
> From: Dong, Eric
> Sent: Tuesday, December 20, 2016 3:57 PM
> To: edk2-devel@lists.01.org
> Cc: Yao, Jiewen <jiewen.yao@intel.com>; Zeng, Star <star.zeng@intel.com>
> Subject: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation
> changed.
> 
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Eric Dong <eric.dong@intel.com>
> Cc: Jiewen Yao <jiewen.yao@intel.com>
> Cc: Star Zeng <star.zeng@intel.com>
> ---
>  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



^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed.
  2016-12-20  7:56 [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed Eric Dong
  2016-12-20  7:57 ` Yao, Jiewen
@ 2016-12-20  8:02 ` Zeng, Star
  1 sibling, 0 replies; 3+ messages in thread
From: Zeng, Star @ 2016-12-20  8:02 UTC (permalink / raw)
  To: Dong, Eric, edk2-devel@lists.01.org; +Cc: Yao, Jiewen, Zeng, Star

Reviewed-by: Star Zeng <star.zeng@intel.com>

-----Original Message-----
From: Dong, Eric 
Sent: Tuesday, December 20, 2016 3:57 PM
To: edk2-devel@lists.01.org
Cc: Yao, Jiewen <jiewen.yao@intel.com>; Zeng, Star <star.zeng@intel.com>
Subject: [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Eric Dong <eric.dong@intel.com>
Cc: Jiewen Yao <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
---
 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



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2016-12-20  8:02 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-12-20  7:56 [Patch] SecurityPkg Tcg2ConfigDxe: Force reset when PCR Allocation changed Eric Dong
2016-12-20  7:57 ` Yao, Jiewen
2016-12-20  8:02 ` Zeng, Star

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox