coreutils / gnulib

upstream mirror
http://git.savannah.gnu.org/gitweb/?p=gnulib.git
Other
268 stars 106 forks source link

Update hmac-sha512.c #5

Closed xuebao24 closed 5 years ago

xuebao24 commented 5 years ago

modify hmac-sha512.c line 52, value from 128 to 64. Because after sha512, the length is 64.

xuebao24 commented 5 years ago

when key is longer than 128 byte, it will be hashed to length 64byte.

pixelb commented 5 years ago

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!

pixelb commented 5 years ago

What email address would you like me to use with this commit?

xuebao24 commented 5 years ago

zhangqingl@126.com thanks!

pixelb commented 5 years ago

Now pushed in commit cfc43396