summaryrefslogtreecommitdiffstats
path: root/crypto/des/speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'crypto/des/speed.c')
-rw-r--r--crypto/des/speed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/des/speed.c b/crypto/des/speed.c
index f211e7c3ef..3dc7105916 100644
--- a/crypto/des/speed.c
+++ b/crypto/des/speed.c
@@ -204,7 +204,7 @@ int main(int argc, char **argv)
count*=2;
Time_F(START);
for (i=count; i; i--)
- des_encrypt(data,&(sch[0]),DES_ENCRYPT);
+ des_encrypt1(data,&(sch[0]),DES_ENCRYPT);
d=Time_F(STOP);
} while (d < 3.0);
ca=count;
@@ -241,7 +241,7 @@ int main(int argc, char **argv)
{
DES_LONG data[2];
- des_encrypt(data,&(sch[0]),DES_ENCRYPT);
+ des_encrypt1(data,&(sch[0]),DES_ENCRYPT);
}
d=Time_F(STOP);
printf("%ld des_encrypt's in %.2f second\n",count,d);