md5-sparcv9.pl: more accurate performance result.
This commit is contained in:
parent
7f429a5dbf
commit
27e0c86307
@ -1543,7 +1543,7 @@ int MAIN(int argc, char **argv)
|
|||||||
print_message(names[D_MD5],c[D_MD5][j],lengths[j]);
|
print_message(names[D_MD5],c[D_MD5][j],lengths[j]);
|
||||||
Time_F(START);
|
Time_F(START);
|
||||||
for (count=0,run=1; COND(c[D_MD5][j]); count++)
|
for (count=0,run=1; COND(c[D_MD5][j]); count++)
|
||||||
EVP_Digest(&(buf[0]),(unsigned long)lengths[j],&(md5[0]),NULL,EVP_get_digestbyname("md5"),NULL);
|
MD5(buf,lengths[j],md5);
|
||||||
d=Time_F(STOP);
|
d=Time_F(STOP);
|
||||||
print_result(D_MD5,j,count,d);
|
print_result(D_MD5,j,count,d);
|
||||||
}
|
}
|
||||||
|
@ -7,7 +7,7 @@
|
|||||||
# details see http://www.openssl.org/~appro/cryptogams/.
|
# details see http://www.openssl.org/~appro/cryptogams/.
|
||||||
# ====================================================================
|
# ====================================================================
|
||||||
|
|
||||||
# MD5 for SPARCv9, 7.5 cycles per byte on UltraSPARC, >40% faster than
|
# MD5 for SPARCv9, 6.9 cycles per byte on UltraSPARC, >40% faster than
|
||||||
# code generated by Sun C 5.2.
|
# code generated by Sun C 5.2.
|
||||||
|
|
||||||
$bits=32;
|
$bits=32;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user