Closed jturnsek closed 6 years ago
memcpy(digest.TSS_COMPAT_TMPB(buffer), hash - digestSize + hash_length, hash_length)
line of code in tpm_sign should have lenght of digestSize instead of hash_length.
Am I right?
Yes, that seems indeed like a small mistake and have been fixed with commit 0876bca
memcpy(digest.TSS_COMPAT_TMPB(buffer), hash - digestSize + hash_length, hash_length)
line of code in tpm_sign should have lenght of digestSize instead of hash_length.
Am I right?