README revision 7c478bd95313f5f23a4c958a745db2134aa03244
99N/A
99N/A libdes, Version 4.01 10-Jan-97
99N/A
99N/A Copyright (c) 1997, Eric Young
99N/A All rights reserved.
99N/A
99N/A This program is free software; you can redistribute it and/or modify
99N/A it under the terms specified in COPYRIGHT.
99N/A
99N/A--
99N/AThe primary ftp site for this library is
99N/Aftp://ftp.psy.uq.oz.au/pub/Crypto/DES/libdes-x.xx.tar.gz
99N/Alibdes is now also shipped with SSLeay. Primary ftp site of
99N/Aftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/SSLeay-x.x.x.tar.gz
99N/A
99N/AThe best way to build this library is to build it as part of SSLeay.
99N/A
99N/AThis kit builds a DES encryption library and a DES encryption program.
99N/AIt supports ecb, cbc, ofb, cfb, triple ecb, triple cbc, triple ofb,
99N/Atriple cfb, desx, and MIT's pcbc encryption modes and also has a fast
2302N/Aimplementation of crypt(3).
99N/AIt contains support routines to read keys from a terminal,
127N/Agenerate a random key, generate a key from an arbitrary length string,
99N/Aread/write encrypted data from/to a file descriptor.
99N/A
99N/AThe implementation was written so as to conform with the manual entry
99N/Afor the des_crypt(3) library routines from MIT's project Athena.
2302N/A
618N/Adestest should be run after compilation to test the des routines.
99N/Arpw should be run after compilation to test the read password routines.
99N/AThe des program is a replacement for the sun des command. I believe it
844N/Aconforms to the sun version.
2302N/A
99N/AThe Imakefile is setup for use in the kerberos distribution.
1258N/A
99N/AThese routines are best compiled with gcc or any other good
2818N/Aoptimising compiler.
2818N/AJust turn you optimiser up to the highest settings and run destest
2818N/Aafter the build to make sure everything works.
99N/A
99N/AI believe these routines are close to the fastest and most portable DES
99N/Aroutines that use small lookup tables (4.5k) that are publicly available.
99N/AThe fcrypt routine is faster than ufc's fcrypt (when compiling with
783N/Agcc2 -O2) on the sparc 2 (1410 vs 1270) but is not so good on other machines
783N/A(on a sun3/260 168 vs 336). It is a function of CPU on chip cache size.
783N/A[ 10-Jan-97 and a function of an incorrect speed testing program in
99N/A ufc which gave much better test figures that reality ].
99N/A
196N/AIt is worth noting that on sparc and Alpha CPUs, performance of the DES
196N/Alibrary can vary by upto %10 due to the positioning of files after application
196N/Alinkage.
196N/A
99N/AEric Young (eay@cryptsoft.com)
1938N/A
1938N/A