mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-19 03:51:02 -05:00
Expose blocklen in the ssh_hash structure.
Keeping that information alongside the hashes themselves seems more sensible than having the HMAC code know that fact about everything it can work with.
This commit is contained in:
@ -252,7 +252,7 @@ static void sha256_final(ssh_hash *hash, unsigned char *output)
|
||||
}
|
||||
|
||||
const ssh_hashalg ssh_sha256 = {
|
||||
sha256_new, sha256_copy, sha256_final, sha256_free, 32, "SHA-256"
|
||||
sha256_new, sha256_copy, sha256_final, sha256_free, 32, 64, "SHA-256"
|
||||
};
|
||||
|
||||
#ifdef COMPILER_SUPPORTS_SHA_NI
|
||||
|
Reference in New Issue
Block a user