Hashes bytes under one of the TPM's name algorithms.
a value of TPM_HASHES (sha1, sha256, sha384, sha512)
sha1
sha256
sha384
sha512
what is hashed (a TPMT_PUBLIC)
the digest
Error for a hash outside TPM_HASHES
Hashes bytes under one of the TPM's name algorithms.