diff options
author | Eric Biggers <[email protected]> | 2020-05-02 11:24:21 -0700 |
---|---|---|
committer | Herbert Xu <[email protected]> | 2020-05-08 15:32:16 +1000 |
commit | ac0ad93df7136e27d2a9c5ec554547695f581d0e (patch) | |
tree | 315b2ec5ba6d42a94649271d3831a014f2eb9b28 /scripts/gdb/linux/modules.py | |
parent | 85fc78b80f15d723db3aa8f368b414ee70a1937c (diff) |
mptcp: use SHA256_BLOCK_SIZE, not SHA_MESSAGE_BYTES
In preparation for naming the SHA-1 stuff in <linux/cryptohash.h>
properly and moving it to a more appropriate header, fix the HMAC-SHA256
code in mptcp_crypto_hmac_sha() to use SHA256_BLOCK_SIZE instead of
"SHA_MESSAGE_BYTES" which is actually the SHA-1 block size.
(Fortunately these are both 64 bytes, so this wasn't a "real" bug...)
Cc: Paolo Abeni <[email protected]>
Cc: [email protected]
Signed-off-by: Eric Biggers <[email protected]>
Reviewed-by: Matthieu Baerts <[email protected]>
Signed-off-by: Herbert Xu <[email protected]>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions