libgcrypt/tests (ChangeLog prime.c)
cvs user werner
cvs at cvs.gnupg.org
Fri Oct 10 17:17:20 CEST 2003
Date: Friday, October 10, 2003 @ 16:17:20
Author: werner
Path: /cvs/gnupg/libgcrypt/tests
Modified: ChangeLog prime.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 | 5 +++++
prime.c | 30 +++++++++++++++++++++++++-----
2 files changed, 30 insertions(+), 5 deletions(-)
More information about the Gnupg-commits
mailing list