]> git.proxmox.com Git - mirror_edk2.git/blobdiff - MdePkg/Include/IndustryStandard/Tpm20.h
Add TPM2 definition in trusted computing group.
[mirror_edk2.git] / MdePkg / Include / IndustryStandard / Tpm20.h
index 5074d899d06e98f7fb6bdfa7f6505a9e68efc979..2abfc57df8fd49888345708044e0e9e0fb73414f 100644 (file)
@@ -5,7 +5,7 @@
 \r
   Check http://trustedcomputinggroup.org for latest specification updates.\r
 \r
-Copyright (c) 2013, Intel Corporation. All rights reserved. <BR>\r
+Copyright (c) 2013 - 2015, Intel Corporation. All rights reserved. <BR>\r
 This program and the accompanying materials\r
 are licensed and made available under the terms and conditions of the BSD License\r
 which accompanies this distribution.  The full text of the license may be found at\r
@@ -1806,4 +1806,13 @@ typedef struct {
 \r
 #pragma pack ()\r
 \r
+//\r
+// TCG Algorithm Registry\r
+//\r
+#define HASH_ALG_SHA1    0x00000001\r
+#define HASH_ALG_SHA256  0x00000002\r
+#define HASH_ALG_SHA384  0x00000004\r
+#define HASH_ALG_SHA512  0x00000008\r
+#define HASH_ALG_SM3_256 0x00000010\r
+\r
 #endif\r