Home GnuPG

random: Replace RMD160 by SHA-1 for mixing the CSPRNG pool.
a9cbe2d1f6a5Unpublished

Unpublished Commit · Learn More

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

Description

random: Replace RMD160 by SHA-1 for mixing the CSPRNG pool.

* cipher/sha1.c (_gcry_sha1_mixblock_init): New.
(_gcry_sha1_mixblock): New.
* random/random-csprng.c: Include sha1.h instead of rmd.h.
(mix_pool): Use SHA-1 instead of RIPE-MD-160 for mixing.
  • Signed-off-by: Werner Koch <wk@gnupg.org>

Details

Provenance
wernerAuthored on Mar 31 2016, 7:33 PM
Parents
rC142a479a484c: cipher: Move sha1 context definition to a separate file.
Branches
Unknown
Tags
Unknown

Event Timeline