Closed xiaoyuxlu closed 2 years ago
I try to enable ALG_SHA512, but I got compile error.
ALG_SHA512
error: use of undeclared identifier 'tpmHashStateImport_SHA512'
Could you see if this definition is correct? Thanks.
https://github.com/microsoft/ms-tpm-20-ref/blob/e3c585d7113bae31924d6fd483e65a166a32098f/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h#L195
It seems the #define tpmHashStateImport_SHA_512 memcpy should be #define tpmHashStateImport_SHA512 memcpy.
#define tpmHashStateImport_SHA_512 memcpy
#define tpmHashStateImport_SHA512 memcpy
This issue is fixed now.
I try to enable
ALG_SHA512
, but I got compile error.Could you see if this definition is correct? Thanks.
https://github.com/microsoft/ms-tpm-20-ref/blob/e3c585d7113bae31924d6fd483e65a166a32098f/TPMCmd/tpm/include/Ossl/TpmToOsslHash.h#L195