History log of /device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
3304abc101a19735c29d8b48a270576e72e7049e 05-Jan-2017 Zhang, Chao B <chao.b.zhang@intel.com> SecuritPkg: Tcg2: Fix coding style issue

Fix coding style issue

Cc: Bi Dandan <dandan.bi@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Bi Dandan <dandan.bi@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
a6e0e994d0e855f7f65f6fb7e113f061e0b9a242 29-Dec-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2ConfigDxe: Display TPM2 HID in Tcg2Config

Display TPM2 HID from TPM2 ACPI device object in Tcg2Config UI

Cc: Long Qin <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>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
9a9fa14e5c15d459e7f143c67d5d88f4b10be2ea 04-Jan-2017 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2Smm: Update HID patch logic

Update HID patch logic. NOOP in ASL template may cause syntax error when
disassembled and recompiled.

Cc: Long Qin <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>
Reviewed-by: Long Qin <qin.long@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
73126ac2bd9804632255b2fddd4d7633537c9620 21-Dec-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2Smm: TPM2 Vendor specific HID

Update TPM2 HID using vendor ManufacturerID & FirmwareVersion1.

Cc: Yao Jiewen <jiewen.yao@intel.com>
Cc: Star Zeng <star.zeng@intel.com>
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Star Zeng <star.zeng@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
edb0fda25ea9b2ef73db18bf5cf0798340209f28 27-Sep-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2: Fix TCG2 PP issues

Several issues exist in TCG2 PP
1. TCG2 PP use NVS PPRQ/PPRM as PP parameter as well as current
PP state cache. But it doesn't handle PP set failure case
2. TCG2 PP Submit TPM Operation Request to Pre-OS Environment forgets
to clean PPRM
3. Potential alignment issue

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Qin Long <qin.long@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
053f31e3d025f535af0626538f3d1a2415c67d2d 26-Sep-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg: New field for User Confirmation Status

Add a new field in TcgNVS for PP operation user confirmation status,
instead of previous logic overriding Request. Previous logic causes
Get Pending TPM Operation Requested sub function return wrong value.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
0c687d02c76592832de73850e1dc81115311318a 16-Jun-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2Smm: Fix type casting issue

Fix type casting issue introduced by cd64301398876d0b3700f882b3eea12657510a70

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Gao Liming <liming.gao@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
3b5624b01454ed0ce1ae2089cc5b091a9cd07ed2 12-Jun-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2Smm: Enhance TIS interface detection

TCG PC Client PTP spec defines that if InterfaceType is defined as TIS1.3. All the other fields of the FIFO Interface Identifier Register are skipped.
http://www.trustedcomputinggroup.org/pc-client-specific-platform-tpm-profile-for-tpm-2-0-v43-150126/

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
Reviewed-by: Long Qin <qin.long@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
cd64301398876d0b3700f882b3eea12657510a70 08-Jun-2016 Zhang, Chao B <chao.b.zhang@intel.com> SecurityPkg: Tcg2Smm: Make TCG2 PP version configurable

Make TCG2 PP version configurable to meet different request. Current default version is 1.3.
http://www.trustedcomputinggroup.org/physical-presence-interface_1-30_0-52/

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Chao Zhang <chao.b.zhang@intel.com>
Reviewed-by: Yao Jiewen <jiewen.yao@intel.com>
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
d967d6d96fc18d7a53d32223f5813b12cda19e8d 26-Jan-2016 Yao, Jiewen <jiewen.yao@intel.com> SecurityPkg: Add TPM PTP support in TCG2 SMM.

TPM2 hardware may support PTP FIFO/TIS interface
or PTP CRB interface. The original ACPI table only
handles PTP FIFO/TIS interface. This patch adds
PTP CRB interface support.
The current logic is that SMM driver will runtime
detect TPM device interface (CRB or FIFO/TIS) and
publish TPM2 table based on result.

It is compatible for old TPM2 FIFO/TIS device and
new TPM2 CRB device.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <jiewen.yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@19741 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c
1abfa4ce4835639c66ae82cc0d72cffcf3f28b6b 13-Aug-2015 Yao, Jiewen <Jiewen.Yao@intel.com> Add TPM2 support defined in trusted computing group.

TCG EFI Protocol Specification for TPM Family 2.0 Revision 1.0 Version 9 at http://www.trustedcomputinggroup.org/resources/tcg_efi_protocol_specification
TCG Physical Presence Interface Specification Version 1.30, Revision 00.52 at http://www.trustedcomputinggroup.org/resources/tcg_physical_presence_interface_specification

Add Tcg2XXX, similar file/directory as TrEEXXX. Old TrEE driver/library can be deprecated.
1) Add Tcg2Pei/Dxe/Smm driver to log event and provide services.
2) Add Dxe/Pei/SmmTcg2PhysicalPresenceLib to support TCG PP.
3) Update Tpm2 library to use TCG2 protocol instead of TrEE protocol.

Test Win8/Win10 with SecureBoot enabled, PCR7 shows bound.

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: "Yao, Jiewen" <Jiewen.Yao@intel.com>
Reviewed-by: "Zhang, Chao B" <chao.b.zhang@intel.com>

git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@18219 6f19259b-4bc3-4df7-8a09-765794883524
/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Tcg2Smm/Tcg2Smm.c