Koza wrote:
> 
> I try to measure time of generating a key for DH. I have a code alike:
>       startclk = clock();
>       for (i=0;i<noiterDH;i++)
>               DH_generate_key(a);
>       stopclk = clock();
> 

I know the anser now, it was my fault since not DH_generate_key takes a long
time but DH_generate_parameters...
Best regards,
Koza
-- 
View this message in context: 
http://www.nabble.com/strange-behaviour-of-clock%28%29-with-DH_generate_key-tf4930945.html#a14172832
Sent from the OpenSSL - User mailing list archive at Nabble.com.

______________________________________________________________________
OpenSSL Project                                 http://www.openssl.org
User Support Mailing List                    openssl-users@openssl.org
Automated List Manager                           [EMAIL PROTECTED]

Reply via email to