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.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/libcrypto/des/speed.c b/src/lib/libcrypto/des/speed.c
index da41abcb03..814b86f4ae 100644
--- a/src/lib/libcrypto/des/speed.c
+++ b/src/lib/libcrypto/des/speed.c
@@ -186,16 +186,16 @@ int main(int argc, char **argv)
186#endif 186#endif
187 187
188#ifndef TIMES 188#ifndef TIMES
189 printf("To get the most acurate results, try to run this\n"); 189 printf("To get the most accurate results, try to run this\n");
190 printf("program when this computer is idle.\n"); 190 printf("program when this computer is idle.\n");
191#endif 191#endif
192 192
193 des_set_key(&key2,sch2); 193 des_set_key_unchecked(&key2,sch2);
194 des_set_key(&key3,sch3); 194 des_set_key_unchecked(&key3,sch3);
195 195
196#ifndef SIGALRM 196#ifndef SIGALRM
197 printf("First we calculate the approximate speed ...\n"); 197 printf("First we calculate the approximate speed ...\n");
198 des_set_key(&key,sch); 198 des_set_key_unchecked(&key,sch);
199 count=10; 199 count=10;
200 do { 200 do {
201 long i; 201 long i;
@@ -225,7 +225,7 @@ int main(int argc, char **argv)
225 225
226 Time_F(START); 226 Time_F(START);
227 for (count=0,run=1; COND(ca); count++) 227 for (count=0,run=1; COND(ca); count++)
228 des_set_key(&key,sch); 228 des_set_key_unchecked(&key,sch);
229 d=Time_F(STOP); 229 d=Time_F(STOP);
230 printf("%ld set_key's in %.2f seconds\n",count,d); 230 printf("%ld set_key's in %.2f seconds\n",count,d);
231 a=((double)COUNT(ca))/d; 231 a=((double)COUNT(ca))/d;