summaryrefslogtreecommitdiff
path: root/src/lib/libcrypto/des/speed.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib/libcrypto/des/speed.c')
-rw-r--r--src/lib/libcrypto/des/speed.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/libcrypto/des/speed.c b/src/lib/libcrypto/des/speed.c
index 814b86f4ae..1223edf290 100644
--- a/src/lib/libcrypto/des/speed.c
+++ b/src/lib/libcrypto/des/speed.c
@@ -204,7 +204,7 @@ int main(int argc, char **argv)
204 count*=2; 204 count*=2;
205 Time_F(START); 205 Time_F(START);
206 for (i=count; i; i--) 206 for (i=count; i; i--)
207 des_encrypt(data,&(sch[0]),DES_ENCRYPT); 207 des_encrypt1(data,&(sch[0]),DES_ENCRYPT);
208 d=Time_F(STOP); 208 d=Time_F(STOP);
209 } while (d < 3.0); 209 } while (d < 3.0);
210 ca=count; 210 ca=count;
@@ -241,7 +241,7 @@ int main(int argc, char **argv)
241 { 241 {
242 DES_LONG data[2]; 242 DES_LONG data[2];
243 243
244 des_encrypt(data,&(sch[0]),DES_ENCRYPT); 244 des_encrypt1(data,&(sch[0]),DES_ENCRYPT);
245 } 245 }
246 d=Time_F(STOP); 246 d=Time_F(STOP);
247 printf("%ld des_encrypt's in %.2f second\n",count,d); 247 printf("%ld des_encrypt's in %.2f second\n",count,d);