libgcrypt/cipher (ChangeLog random.c random.h)
cvs user werner
cvs at cvs.gnupg.org
Fri May 7 15:52:11 CEST 2004
Date: Friday, May 7, 2004 @ 15:52:11
Author: werner
Path: /cvs/gnupg/libgcrypt/cipher
Modified: ChangeLog random.c random.h
* 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 | 9 ++++++++
random.c | 65 ++++++++++++++++++++++++++++++++++++------------------------
random.h | 2 -
3 files changed, 49 insertions(+), 27 deletions(-)
More information about the Gnupg-commits
mailing list