Closed xuebao24 closed 5 years ago
when key is longer than 128 byte, it will be hashed to length 64byte.
Wow, good catch! Closing this here as github is only a mirror of upstream. I'll follow up with you on the upstream mailing list and will reference the final commit here thanks!
What email address would you like me to use with this commit?
zhangqingl@126.com thanks!
Now pushed in commit cfc43396
modify hmac-sha512.c line 52, value from 128 to 64. Because after sha512, the length is 64.