summaryrefslogtreecommitdiff
path: root/NEWS
diff options
context:
space:
mode:
authorWerner Koch <wk@gnupg.org>2013-09-07 10:06:46 +0200
committerWerner Koch <wk@gnupg.org>2013-09-10 21:20:17 +0200
commit0a28b2d2c9181a536fc894e24626714832619923 (patch)
tree6a533bbafd2afc76f40ad707f67eb40d84749f54 /NEWS
parent0fb7c2cd345f3d3e9715c7fbc7a3e91d3c5c150d (diff)
downloadlibgcrypt-0a28b2d2c9181a536fc894e24626714832619923.tar.gz
md: Fix Whirlpool flaw.
* cipher/whirlpool.c (whirlpool_add): Remove shortcut return so that byte counter is always properly updated. -- Using the forthcoming gcry_md_hash_buffers() and its test suite, I found that a message of size 62 won't yield the correct hash if it is fed into Whirlpool into in chunks. The fix is obvious. The wrong code was likely due to using similar structure as SHA-1 but neglecting that bytes and not blocks are counted.
Diffstat (limited to 'NEWS')
0 files changed, 0 insertions, 0 deletions