From: "Long, Qin" <qin.long@intel.com>
To: "Zhang, Chao B" <chao.b.zhang@intel.com>,
"edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: "Yao, Jiewen" <jiewen.yao@intel.com>
Subject: Re: [PATCH] SecurityPkg: Add TCG Spec info to TCG related modules
Date: Thu, 11 May 2017 07:38:06 +0000 [thread overview]
Message-ID: <BF2CCE9263284D428840004653A28B6E53F9DB9D@SHSMSX103.ccr.corp.intel.com> (raw)
In-Reply-To: <20170511051447.123260-1-chao.b.zhang@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>
> -----Original Message-----
> From: Zhang, Chao B
> Sent: Thursday, May 11, 2017 1:15 PM
> To: edk2-devel@lists.01.org
> Cc: Long, Qin; Yao, Jiewen; Zhang, Chao B
> Subject: [PATCH] SecurityPkg: Add TCG Spec info to TCG related modules
>
> Add TCG Spec compliance info to TCG related module INFs.
>
> Cc: Qin Long <qin.long@intel.com>
> Cc: Yao Jiewen <jiewen.yao@intel.com>
> Contributed-under: TianoCore Contribution Agreement 1.0
> Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
> ---
> .../Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.inf | 5
> ++++-
> SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf | 8
> ++++++--
> SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf | 7 +++++++
> SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf | 7 ++++++-
> SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf | 9 ++++++++-
> 5 files changed, 31 insertions(+), 5 deletions(-)
>
> diff --git
> a/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.i
> nf
> b/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.i
> nf
> index a11988e..939f6fb 100644
> ---
> a/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.i
> nf
> +++
> b/SecurityPkg/Library/DxeTpm2MeasureBootLib/DxeTpm2MeasureBootLib.i
> n
> +++ f
> @@ -1,6 +1,9 @@
> ## @file
> # Provides security service for TPM 2.0 measured boot #
> +# Spec Compliance Info:
> +# "TCG PC Client Platform Firmware Profile Specification for TPM Family
> 2.0 Level 00 Revision 00.21"
> +#
> # This library instance hooks LoadImage() API to measure every image that
> # is not measured in PEI phase. And, it will also measure GPT partition.
> #
> @@ -9,7 +12,7 @@
> # This external input must be validated carefully to avoid security issues
> such # as buffer overflow or integer overflow.
> #
> -# Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2013 - 2017, Intel Corporation. All rights
> +reserved.<BR>
> # This program and the accompanying materials # are licensed and made
> available under the terms and conditions of the BSD License # which
> accompanies this distribution. The full text of the license may be found at diff
> --git a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
> b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
> index 976972d..3e619b9 100644
> --- a/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
> +++ b/SecurityPkg/Library/Tpm2DeviceLibDTpm/Tpm2DeviceLibDTpm.inf
> @@ -1,12 +1,16 @@
> ## @file
> # Provides TPM 2.0 TIS/PTP functions for DTPM -#
> +#
> +# Spec Compliance Info:
> +# "TCG PC Client Platform TPM Profile(PTP) Specification Family 2.0 Level
> 00 Revision 00.43"
> +# "TCG PC Client Specific TPM Interface Specification(TIS) Version 1.3"
> +#
> # This library implements TIS (TPM Interface Specification) and # PTP
> (Platform TPM Profile) functions which is # used for every TPM 2.0
> command. Choosing this library means platform uses and # only uses TPM
> 2.0 DTPM device.
> #
> -# Copyright (c) 2013 - 2016, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2013 - 2017, Intel Corporation. All rights
> +reserved.<BR>
> # This program and the accompanying materials # are licensed and made
> available under the terms and conditions of the BSD License # which
> accompanies this distribution. The full text of the license may be found at diff
> --git a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> index 8efc4e3..85415e8 100644
> --- a/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> +++ b/SecurityPkg/Tcg/Tcg2Dxe/Tcg2Dxe.inf
> @@ -1,5 +1,12 @@
> ## @file
> # Produces Tcg2 protocol and measure boot environment
> +#
> +# Spec Compliance Info:
> +# "TCG PC Client Platform Firmware Profile Specification for TPM Family
> 2.0 Level 00 Revision 00.21"
> +# along with
> +# "Errata for PC Client Specific Platform Firmware Profile Specification
> Version 1.0 Revision 0.21"
> +# "TCG EFI Protocol Specification" "Family 2.0" "Level 00 Revision 00.13"
> +#
> # This module will produce Tcg2 protocol and measure boot environment.
> #
> # Caution: This module requires additional review when modified.
> diff --git a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> index 3477d82..1b79ee4 100644
> --- a/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> +++ b/SecurityPkg/Tcg/Tcg2Pei/Tcg2Pei.inf
> @@ -1,9 +1,14 @@
> ## @file
> # Initializes TPM 2.0 device and measure FVs in PEI phase #
> +# Spec Compliance Info:
> +# "TCG PC Client Platform Firmware Profile Specification for TPM Family
> 2.0 Level 00 Revision 00.21"
> +# along with
> +# "Errata for PC Client Specific Platform Firmware Profile Specification
> Version 1.0 Revision 0.21"
> +#
> # This module will initialize TPM device, measure reported FVs and BIOS
> version.
> #
> -# Copyright (c) 2015 - 2016, Intel Corporation. All rights reserved.<BR>
> +# Copyright (c) 2015 - 2017, Intel Corporation. All rights
> +reserved.<BR>
> # This program and the accompanying materials # are licensed and made
> available under the terms and conditions of the BSD License # which
> accompanies this distribution. The full text of the license may be found at diff
> --git a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> index c4efa2a..c709743 100644
> --- a/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> +++ b/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.inf
> @@ -1,5 +1,12 @@
> ## @file
> -# Provides ACPI metholds for TPM 2.0 support
> +# Provides ACPI methods for TPM 2.0 support # # Spec Compliance Info:
> +# "TCG ACPI Specification Level 00 Revision 00.37"
> +# "Physical Presence Interface Specification Version 1.30 Revision 00.52"
> +# "Platform Reset Attack Mitigation Specification Version 1.00"
> +# TPM2.0 ACPI device object
> +# "TCG PC Client Platform Firmware Profile Specification for TPM Family
> 2.0 Level 00 Revision 00.21"
> #
> # This driver implements TPM 2.0 definition block in ACPI table and #
> registers SMI callback functions for Tcg2 physical presence and
> --
> 1.9.5.msysgit.1
prev parent reply other threads:[~2017-05-11 7:38 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-05-11 5:14 [PATCH] SecurityPkg: Add TCG Spec info to TCG related modules Zhang, Chao B
2017-05-11 5:35 ` Yao, Jiewen
2017-05-11 7:38 ` Long, Qin [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=BF2CCE9263284D428840004653A28B6E53F9DB9D@SHSMSX103.ccr.corp.intel.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox