X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=blobdiff_plain;f=MdePkg%2FInclude%2FIndustryStandard%2FTpm20.h;h=2abfc57df8fd49888345708044e0e9e0fb73414f;hp=a159953cf822e9cdd6503f64a0aac1885835f81c;hb=59b226d6d7e2b9e6ea8751abb366dd1a7d643a4c;hpb=2e61fb38b6aaa17d22f1bf72332ccd4bc2f780eb diff --git a/MdePkg/Include/IndustryStandard/Tpm20.h b/MdePkg/Include/IndustryStandard/Tpm20.h index a159953cf8..2abfc57df8 100644 --- a/MdePkg/Include/IndustryStandard/Tpm20.h +++ b/MdePkg/Include/IndustryStandard/Tpm20.h @@ -5,7 +5,7 @@ Check http://trustedcomputinggroup.org for latest specification updates. -Copyright (c) 2013, Intel Corporation. All rights reserved.
+Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved.
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 @@ -22,7 +22,7 @@ WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. #include -#pragma pack (push, 1) +#pragma pack (1) // Annex A Algorithm Constants @@ -1804,6 +1804,15 @@ typedef struct { TPM_RC responseCode; } TPM2_RESPONSE_HEADER; -#pragma pack (pop) +#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