* random.c (initialize): Factored out some code to ..
authorWerner Koch <wk@gnupg.org>
Fri, 7 May 2004 13:52:11 +0000 (13:52 +0000)
committerWerner Koch <wk@gnupg.org>
Fri, 7 May 2004 13:52:11 +0000 (13:52 +0000)
commit6605a26a913935f692c4ce270a13b2fc11bad67d
treecbf19438e496228b6a5f1545ad87d7322c14dc6c
parenta29542578cb24fd6608586e87a42a9acef3b46dc
* 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.
ChangeLog
NEWS
cipher/ChangeLog
cipher/random.c
cipher/random.h
configure.ac
libgcrypt.txt
src/ChangeLog
src/gcrypt.h
src/global.c