Skip to content

Commit

Permalink
tpm2: enable sha512 (breaks compatiblity)
Browse files Browse the repository at this point in the history
Enable SHA512. Since the TPM 2 expects to see PCR values for
the SHA512 bank in some of its structures, this breaks
compatibility with existing state files.

Signed-off-by: Stefan Berger <stefanb@linux.vnet.ibm.com>
  • Loading branch information
stefanberger committed May 22, 2018
1 parent 8371a4f commit 37f24d5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/tpm2/Implementation.h
Expand Up @@ -117,7 +117,7 @@
#define ALG_KEYEDHASH ALG_YES
#define ALG_SHA256 ALG_YES
#define ALG_SHA384 ALG_YES
#define ALG_SHA512 ALG_NO
#define ALG_SHA512 ALG_YES
#define ALG_SM3_256 ALG_NO
#define ALG_SM4 ALG_NO
#define ALG_RSASSA (ALG_YES*ALG_RSA)
Expand Down

0 comments on commit 37f24d5

Please sign in to comment.