Hi Renzo,

> All of this seems due to primality checking for 
> DH parameters.
I think the problem is finding the safe prime p. See
http://www.eskimo.com/~weidai/cgi-bin/fom-serve/cache/71.html

Jeff
 

> -----Original Message-----
> From: [EMAIL PROTECTED] 
> [mailto:[EMAIL PROTECTED] On Behalf Of Renzo Tomaselli
> Sent: Tuesday, January 20, 2004 1:32 PM
> To: crypto++ MailList
> Subject: very long DH param. generation
> 
> 
> Hi all,
>     next statements with Crypto++ 5.1 on WinXP, MSVC 6.0:
> 
>     RandomPool rp;
>     pDH = new DH(rp, 1024);
> 
> take more than two minutes to complete on a 2Ghz host.
> Using X917RNG instead of RandomPool seems to drop into an 
> endless loop. All of this seems due to primality checking for 
> DH parameters. Could anybody please explain me if I'm doing 
> anything wrong or this timing (al least for RandomPool) is 
> unavoidable ? Thanks,
> 
>                           Renzo Tomaselli
>   
> --------------------------------------------------------------
> ------------
> -
>   TecnoTP s.n.c. Special Information System Design
>   Maso Pelauchi I38050 Ronchi Valsugana,  Trento TN  ITALY
>   
> --------------------------------------------------------------
> ------------
> -
> 

Attachment: smime.p7s
Description: S/MIME cryptographic signature

Reply via email to