libgcrypt/cipher (ChangeLog md.c random.c rndw32.c sha1.c)

cvs user werner cvs at cvs.gnupg.org
Tue Nov 4 13:02:54 CET 2003


    Date: Tuesday, November 4, 2003 @ 13:02:53
  Author: werner
    Path: /cvs/gnupg/libgcrypt/cipher

Modified: ChangeLog md.c random.c rndw32.c sha1.c

* 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.


-----------+
 ChangeLog |   22 +
 md.c      |   12 
 random.c  |  947 +++++++++++++++++++++++++++++++++++-------------------------
 rndw32.c  |    6 
 sha1.c    |   18 +
 5 files changed, 609 insertions(+), 396 deletions(-)



More information about the Gnupg-commits mailing list