Home GnuPG

Fix number of blocks passed used in _gcry_rmd160_mixblock
5d23e7b9a774Unpublished

Unpublished Commit · Learn More

Not On Permanent Ref: This commit is not an ancestor of any permanent ref.

Description

Fix number of blocks passed used in _gcry_rmd160_mixblock

* cipher/rmd160.c (_gcry_rmd160_mixblock): pass 1 to transform

Currently _gcry_rmd160_mixblock() passes 64 as nblocks to transform()
function, while passing only one block of data. This causes acess after
the allocated data and tons of errors on each valgrind invokation.

This fixes commit 50b8c834.

  • Signed-off-by: Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>

Details

Provenance
lumagAuthored on Jan 24 2014, 12:02 PM
wernerCommitted on Jan 27 2014, 2:21 PM
Parents
rCf7df90617185: Small Windows build tweaks.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rC5d23e7b9a774: Fix number of blocks passed used in _gcry_rmd160_mixblock (authored by Dmitry Eremin-Solenikov <dbaryshkov@gmail.com>).Jan 27 2014, 2:21 PM