Supported Hash Algorithms

Supported hash algorithms are:

  • 0x4 or sha1 for TPM_ALG_SHA1
  • 0xB or sha256 for TPM_ALG_SHA256 (default)
  • 0xC or sha384 for TPM_ALG_SHA384
  • 0xD or sha512 for TPM_ALG_SHA512
  • 0x12 or sm3_256 for TPM_ALG_SM3_256

NOTE: Your TPM may not support all algorithms.