Home GnuPG

* random.c (initialize): Factored out some code to .. (initialize_basics): ..
6605a26a9139Unpublished

Unpublished Commit · Learn More

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

Description

(no title)

* random.c (initialize): Factored out some code to .. (initialize_basics): .. new function. (_gcry_random_initialize): Just call initialize_basics unless the new arg FULL is set to TRUE. (_gcry_fast_random_poll): Don't do anything unless the random system has been really initialized.
* gcrypt.h: Added GCRYCTL_FAST_POLL.
(gcry_fast_random_poll): New.
* global.c (gcry_control) <INITIALIZATION_FINISHED>: Do only basic
random subsystem init.
(gcry_control) <FAST_POLL>: New.

Details

Provenance
wernerAuthored on May 7 2004, 3:52 PM
Parents
rCa29542578cb2: 2004-05-07 Moritz Schulte <moritz@g10code.de>
Branches
Unknown
Tags
Unknown

Event Timeline