libgcrypt/cipher (ChangeLog primegen.c)
cvs user werner
cvs at cvs.gnupg.org
Fri Oct 10 17:17:21 CEST 2003
Date: Friday, October 10, 2003 @ 16:17:21
Author: werner
Path: /cvs/gnupg/libgcrypt/cipher
Modified: ChangeLog primegen.c
* primegen.c (gen_prime): Bail out if NBITS is less than 16.
(prime_generate_internal): Initialize prime variable to suppress
compiler warning. Check pbits, initialize qbits when passed as
zero.
* primegen.c (prime_generate_internal): New arg
ALL_FACTORS. Changed all callers.
(gcry_prime_generate): Make the factors arg optional. Request
all_factors.
(gcry_prime_group_generator): New.
(gcry_prime_release_factors): New.
* global.c (_gcry_malloc): Handle the no_secure_memory option.
* gcrypt.h (gcry_prime_group_generator): New.
(gcry_prime_release_factors): New.
* prime.c (check_primes): Generate a generator and avoid printing
unless in verbose mode.
------------+
ChangeLog | 14 +++++
primegen.c | 154 +++++++++++++++++++++++++++++++++++++++++++++++++++--------
2 files changed, 148 insertions(+), 20 deletions(-)
More information about the Gnupg-commits
mailing list