freebsd-skq/eBones
Mark Murray 4c2a9deca2 Remove the old DES library man pages from the make. This whole directory
actually needs to be deleted and the man pages moved to eBones/lib.
1996-02-11 11:46:37 +00:00
..
include Push the old des library into the attic (finally!). Also update 1996-02-11 08:52:29 +00:00
lib Rename des_set_key -> des_set_key_krb. This was a name conflict with a 1996-02-03 11:40:16 +00:00
libexec Rename des_set_key -> des_set_key_krb. This was a name conflict with a 1996-02-03 11:40:16 +00:00
man Remove the old DES library man pages from the make. This whole directory 1996-02-11 11:46:37 +00:00
usr.bin Rename des_set_key -> des_set_key_krb. This was a name conflict with a 1996-02-03 11:40:16 +00:00
usr.sbin recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
ARTISTIC.libdes Initial import of eBones. 1994-09-30 14:50:09 +00:00
Copyright.MIT Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
Copyright.SIPB Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
Makefile Push the old des library into the attic (finally!). Also update 1996-02-11 08:52:29 +00:00
Makefile.inc Push the old des library into the attic (finally!). Also update 1996-02-11 08:52:29 +00:00
patchlevel.h Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00
README.libdes Start the eBones cleanup ball rolling. 1995-08-25 22:52:32 +00:00

			libdes, Version 3.00 93/10/07

		Copyright (c) 1993, Eric Young
			  All rights reserved.

    This program is free software; you can redistribute it and/or modify
    it under the terms of either:

	a) the GNU General Public License as published by the Free
	Software Foundation; either version 1, or (at your option) any
	later version, or

	b) the "Artistic License" which comes with this Kit.

    This program is distributed in the hope that it will be useful,
    but WITHOUT ANY WARRANTY; without even the implied warranty of
    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See either
    the GNU General Public License or the Artistic License for more details.

    You should have received a copy of the Artistic License with this
    Kit, in the file named "Artistic".  If not, I'll be glad to provide one.

    You should also have received a copy of the GNU General Public License
    along with this program; if not, write to the Free Software
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
---
This kit builds a DES encryption library and a DES encryption program.
It suports ecb, cbc, ofb, cfb, triple ecb, triple cbc and MIT's pcbc
encryption modes and also has a fast implementation of crypt(3).
It contains support routines to read keys from a terminal,
generate a random key, generate a key from an arbitary length string,
read/write encrypted data from/to a file descriptor.

The implementation was written so as to conform with the manual entry
for the des_crypt(3) library routines from MIT's project Athena.

destest should be run after compilation to test the des routines.
rpw should be run after compilation to test the read password routines.
The des program is a replacement for the sun des command.  I believe it
conforms to the sun version.

The Imakefile is setup for use in the kerberos distribution.

These routines are best compiled with gcc or any other good
optimising compiler.
Just turn you optimiser up to the highest settings and run destest
after the build to make sure everything works.

I believe these routines are close to the fastest and most portable DES
routines that use small lookup tables (4.5k) that are publicly available.
The fcrypt routine is faster than ufc's fcrypt (when compiling with
gcc2 -O2) on the sparc 2 (1410 vs 1270) but is not so good on other machines
(on a sun3/260 168 vs 336).

Eric Young (eay@psych.psy.uq.oz.au)