Add TPM2 definition in trusted computing group.

1) TCG Physical Presence Interface Specification 1.30 at http://www.trustedcomputinggroup.org/resources/tcg_physical_presence_interface_specification
2) TCG EFI Protocol Specification for TPM 2.0 at http://www.trustedcomputinggroup.org/resources/tcg_efi_protocol_specification
3) Update TPM2.0 header file to include Hash Algo definition.
4) Update UEFI TCG platform header file to include more TCG event structure.

Test Win8/Win10 with secure boot 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@18218 6f19259b-4bc3-4df7-8a09-765794883524
This commit is contained in:
Yao, Jiewen
2015-08-13 08:22:05 +00:00
committed by jyao1
parent 26ecc55c02
commit 59b226d6d7
6 changed files with 594 additions and 19 deletions

View File

@@ -5,7 +5,7 @@
Check http://trustedcomputinggroup.org for latest specification updates.
Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>
Copyright (c) 2013 - 2015, 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
@@ -1806,4 +1806,13 @@ typedef struct {
#pragma pack ()
//
// TCG Algorithm Registry
//
#define HASH_ALG_SHA1 0x00000001
#define HASH_ALG_SHA256 0x00000002
#define HASH_ALG_SHA384 0x00000004
#define HASH_ALG_SHA512 0x00000008
#define HASH_ALG_SM3_256 0x00000010
#endif