diff options
| author | Mark Murray <markm@FreeBSD.org> | 1996-07-28 08:18:06 +0000 |
|---|---|---|
| committer | Mark Murray <markm@FreeBSD.org> | 1996-07-28 08:18:06 +0000 |
| commit | 9f2bc96e404f71130e59e6fb73114d7976c1e626 (patch) | |
| tree | 4462567f6eb34de1cc9570e7ccd0c7fbd5f8f3e9 /secure/lib/libdes/speed.c | |
| parent | 6a1ae88452437db30412d3568cdf34ccb652917b (diff) | |
| parent | de59bba0c50ad5885f6f8699e2cf16f5fe63b2af (diff) | |
Notes
Diffstat (limited to 'secure/lib/libdes/speed.c')
| -rw-r--r-- | secure/lib/libdes/speed.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/secure/lib/libdes/speed.c b/secure/lib/libdes/speed.c index ee517b18650d..583c0a9f2a22 100644 --- a/secure/lib/libdes/speed.c +++ b/secure/lib/libdes/speed.c @@ -1,5 +1,5 @@ -/* lib/des/speed.c */ -/* Copyright (C) 1995 Eric Young (eay@mincom.oz.au) +/* crypto/des/speed.c */ +/* Copyright (C) 1995-1996 Eric Young (eay@mincom.oz.au) * All rights reserved. * * This file is part of an SSL implementation written @@ -197,7 +197,7 @@ char **argv; des_set_key((C_Block *)key3,sch3); #ifndef SIGALRM - printf("First we calculate the aproximate speed ...\n"); + printf("First we calculate the approximate speed ...\n"); des_set_key((C_Block *)key,sch); count=10; do { @@ -257,7 +257,7 @@ char **argv; #endif Time_F(START); for (count=0,run=1; COND(cc); count++) - des_cbc_encrypt((C_Block *)buf,(C_Block *)buf,BUFSIZE,&(sch[0]), + des_ncbc_encrypt((C_Block *)buf,(C_Block *)buf,BUFSIZE,&(sch[0]), (C_Block *)&(key[0]),DES_ENCRYPT); d=Time_F(STOP); printf("%ld des_cbc_encrypt's of %ld byte blocks in %.2f second\n", |
