Koza wrote:
I try to measure time of generating a key for DH. I have a code alike:
startclk = clock();
for (i=0;inoiterDH;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
Hi,
I try to measure time of generating a key for DH. I have a code alike:
startclk = clock();
for (i=0;inoiterDH;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