help-gnutls
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Help-gnutls] Alternate random device for certtool


From: Nikos Mavrogiannopoulos
Subject: Re: [Help-gnutls] Alternate random device for certtool
Date: Wed, 03 Dec 2008 09:37:50 +0200
User-agent: Thunderbird 2.0.0.18 (X11/20081125)

Werner Koch wrote:
> On Sat, 29 Nov 2008 09:21, address@hidden said:
> 
>> I CC to gcrypt-devel since this might be gcrypt related.
>> Could it be that newer versions from 1.4.1 ignore the control:
>>     gcry_control (GCRYCTL_ENABLE_QUICK_RANDOM, 0);
> 
> Can you please send me the example code?  

It it the certtool program from gnutls (src/certtool.c) the
generate_private_key function. This after all calls:
pk-libgcrypt.c: _rsa_generate_params (bigint_t * resarr, int
*resarr_len, int bits)

gcry_sexp_build (&parms, NULL, "(genkey(rsa(nbits %d)))", bits);
gcry_pk_genkey (&key, parms);

regards,
Nikos




reply via email to

[Prev in Thread] Current Thread [Next in Thread]