source: trunk/third/ssh/libdes-README @ 10564

Revision 10564, 2.4 KB checked in by danw, 27 years ago (diff)
This commit was generated by cvs2svn to compensate for changes in r10563, which included commits to RCS files with non-trunk default branches.
Line 
1
2                        libdes, Version 3.00 93/10/07
3
4                Copyright (c) 1993, Eric Young
5                          All rights reserved.
6
7    This program is free software; you can redistribute it and/or modify
8    it under the terms of either:
9   
10        a) the GNU General Public License as published by the Free
11        Software Foundation; either version 1, or (at your option) any
12        later version, or
13
14        b) the "Artistic License" which comes with this Kit.
15
16    This program is distributed in the hope that it will be useful,
17    but WITHOUT ANY WARRANTY; without even the implied warranty of
18    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
19    the GNU General Public License or the Artistic License for more details.
20
21    You should have received a copy of the Artistic License with this
22    Kit, in the file named "Artistic".  If not, I'll be glad to provide one.
23
24    You should also have received a copy of the GNU General Public License
25    along with this program; if not, write to the Free Software
26    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27---
28This kit builds a DES encryption library and a DES encryption program.
29It suports ecb, cbc, ofb, cfb, triple ecb, triple cbc and MIT's pcbc
30encryption modes and also has a fast implementation of crypt(3).
31It contains support routines to read keys from a terminal,
32generate a random key, generate a key from an arbitary length string,
33read/write encrypted data from/to a file descriptor.
34
35The implementation was written so as to conform with the manual entry
36for the des_crypt(3) library routines from MIT's project Athena.
37
38destest should be run after compilation to test the des routines.
39rpw should be run after compilation to test the read password routines.
40The des program is a replacement for the sun des command.  I believe it
41conforms to the sun version.
42
43The Imakefile is setup for use in the kerberos distribution.
44
45These routines are best compiled with gcc or any other good
46optimising compiler.
47Just turn you optimiser up to the highest settings and run destest
48after the build to make sure everything works.
49
50I believe these routines are close to the fastest and most portable DES
51routines that use small lookup tables (4.5k) that are publicly available.
52The fcrypt routine is faster than ufc's fcrypt (when compiling with
53gcc2 -O2) on the sparc 2 (1410 vs 1270) but is not so good on other machines
54(on a sun3/260 168 vs 336).
55
56Eric Young (eay@psych.psy.uq.oz.au)
Note: See TracBrowser for help on using the repository browser.