Home GnuPG

* md.c (gcry_md_hash_buffer): Use shortcut for SHA1 * sha1.c…
68f7fa616ea3Unpublished

Unpublished Commit · Learn More

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

Description

(no title)

* md.c (gcry_md_hash_buffer): Use shortcut for SHA1 * sha1.c (_gcry_sha1_hash_buffer): New.
* random.c: Reformatted most functions.
(mix_pool): Moved the failsafe_digest from global
scope to here.
(do_fast_random_poll): Use the generic fucntions even if a fast
gathering function has been used.
(read_pool): Detect a fork and retry.
(gcry_randomize, get_random_bytes): Don't distinguish anymore
between weak and strong random.
(gcry_create_nonce): New.

Details

Provenance
wernerAuthored on Nov 4 2003, 1:02 PM
Parents
rCf13d7964c639: (USE_SHA1): Make sure it is always included. (USE_RMD160): Removed this AM…
Branches
Unknown
Tags
Unknown

Event Timeline