gnutls-devel
[Top][All Lists]
Advanced

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

Re: DH prime generation taking a long time


From: Nikos Mavrogiannopoulos
Subject: Re: DH prime generation taking a long time
Date: Fri, 15 Oct 2010 09:59:46 +0200

On Thu, Oct 14, 2010 at 10:34 PM, Simon Josefsson <address@hidden> wrote:

>> The nettle code shouldn't have caused multiple reads to /dev/*random. It
>> reads 32 bytes on initialization from /dev/urandom and will read some
>> more after few hours. Which test causes this delay?
> Newly committed self-test tests/gendh.c triggers it too.  Running strace
> on it reveals it is calling time() a lot, which suggests it is spending
> time in nettle/rnd.c.  This is with GnuTLS built with Nettle as backend.

But do these calls actually cause a/the delay or the prime generation?



reply via email to

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