Tspi_Hash_SetHashValue sets the hash value of
a hash object. If the object was created with the flag TSS_HASH_OTHER,
then the hash identifier has to be set by calling Tspi_SetAttribData
to perform the sign operation.
The handle to the hash object instance whose hash value should be signed.
Indicates the length of the hash value data provided at the parameter
A pointer to the hash value data.
Tspi_Hash_SetHashValue returns TSS_SUCCESS on success, otherwise
one of the following values is returned:
hHash is not a valid handle.
An internal SW error has been detected.
One or more parameters is bad.
Hash length is inconsistent with hash algorithm.
Hash object has no internal hash value.
Tspi_Hash_SetHashValue conforms to the Trusted Computing Group
Software Specification version 1.1 Golden