Home GnuPG

cipher: Remove specialized rmd160 functions.
fcce0cb6e8afUnpublished

Unpublished Commit · Learn More

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

Description

cipher: Remove specialized rmd160 functions.

* cipher/rmd160.c: Replace rmd.h by hash-common.h.
(RMD160_CONTEXT): Move from rmd.h to here.
(_gcry_rmd160_init): Remove.
(_gcry_rmd160_mixblock): Remove.
(_gcry_rmd160_hash_buffer): Use rmd160_init directly.
* cipher/md.c: Remove rmd.h which was not actually used.
* cipher/rmd.h: Remove.
* cipher/Makefile.am (libcipher_la_SOURCES): Remove rmd.h.
* configure.ac (USE_RMD160): Allow to build without RMD160.

Those functions are not anymore required because random-csprng.c now
uses SHA-1.

  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 31 2016, 8:16 PM
Parents
rCa9cbe2d1f6a5: random: Replace RMD160 by SHA-1 for mixing the CSPRNG pool.
Branches
Unknown
Tags
Unknown

Event Timeline

Werner Koch <wk@gnupg.org> committed rCfcce0cb6e8af: cipher: Remove specialized rmd160 functions. (authored by Werner Koch <wk@gnupg.org>).Mar 31 2016, 8:33 PM