Import of old SSLeay release: SSLeay 0.9.0b
[openssl.git] / crypto / des / speed.c
index 250b697135ed0615bb80dedcbc291410ac37cc76..5bbe8b01d6e8e635289d05d9502ab22ff8e59da9 100644 (file)
@@ -1,5 +1,5 @@
 /* crypto/des/speed.c */
-/* Copyright (C) 1995-1997 Eric Young (eay@cryptsoft.com)
+/* Copyright (C) 1995-1998 Eric Young (eay@cryptsoft.com)
  * All rights reserved.
  *
  * This package is an SSL implementation written
@@ -317,11 +317,11 @@ char **argv;
        printf("%ld crypts in %.2f second\n",count,e);
        e=((double)COUNT(ce))/e;
 
-       printf("set_key            per sec = %12.2f (%5.1fuS)\n",a,1.0e6/a);
-       printf("DES raw ecb bytes  per sec = %12.2f (%5.1fuS)\n",b,8.0e6/b);
-       printf("DES cbc bytes      per sec = %12.2f (%5.1fuS)\n",c,8.0e6/c);
-       printf("DES ede cbc bytes  per sec = %12.2f (%5.1fuS)\n",d,8.0e6/d);
-       printf("crypt              per sec = %12.2f (%5.1fuS)\n",e,1.0e6/e);
+       printf("set_key            per sec = %12.2f (%9.3fuS)\n",a,1.0e6/a);
+       printf("DES raw ecb bytes  per sec = %12.2f (%9.3fuS)\n",b,8.0e6/b);
+       printf("DES cbc bytes      per sec = %12.2f (%9.3fuS)\n",c,8.0e6/c);
+       printf("DES ede cbc bytes  per sec = %12.2f (%9.3fuS)\n",d,8.0e6/d);
+       printf("crypt              per sec = %12.2f (%9.3fuS)\n",e,1.0e6/e);
        exit(0);
 #if defined(LINT) || defined(MSDOS)
        return(0);