Hi, 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(); And for 512 bits I see the time is about 20 seconds but from stopclk-startclk I see around 0.02 sec. Can someone help with explaining that behaviour? I had in my code two lines //a->flags &= ~DH_FLAG_NO_EXP_CONSTTIME; //b->flags |= DH_FLAG_NO_EXP_CONSTTIME; but I commented them out but the result is the same.
Thank you for your help in advance!! Best regards, Koza -- View this message in context: http://www.nabble.com/strange-behaviour-of-clock%28%29-with-DH_generate_key-tf4930945.html#a14113620 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]