• Home
  • History
  • Annotate
Name Date Size #Lines LOC

..03-May-2022-

asm/H20-Jan-2012-3,0022,296

t/H20-Jan-2012-2820

times/H20-Jan-2012-171149

COPYRIGHTH A D21-Dec-19982.6 KiB5143

DES.pmH A D18-Apr-2009425 2113

DES.xsH A D21-Dec-19984.2 KiB269239

FILES0H A D22-Sep-20023.7 KiB9787

INSTALLH A D06-Feb-20072.7 KiB7055

ImakefileH A D21-Dec-19981 KiB3625

KERBEROSH A D21-Dec-19981.5 KiB4236

MakefileH A D26-Oct-200815 KiB298261

READMEH A D21-Dec-19982.2 KiB5540

VERSIONH A D21-Dec-199815.8 KiB413347

cbc3_enc.cH A D24-Oct-20014.4 KiB10037

cbc_cksm.cH A D12-Feb-20034.2 KiB10739

cbc_enc.cH A D09-Jun-19993.2 KiB622

cfb64ede.cH A D01-Nov-20046.8 KiB255169

cfb64enc.cH A D24-Oct-20014.3 KiB12255

cfb_enc.cH A D08-Jul-20056 KiB196118

des-lib.comH A D20-Feb-200120.6 KiB1,0041,003

des.cH A D28-Nov-200220 KiB933811

des.hH A D20-May-200810.5 KiB246138

des3s.cppH A D23-Apr-19991.4 KiB6854

des_enc.cH A D16-Sep-200810.6 KiB412298

des_lib.cH A D16-Sep-20083.9 KiB10743

des_locl.hH A D13-Apr-200513.4 KiB429284

des_old.cH A D20-May-200810.5 KiB274196

des_old.hH A D20-May-200817.8 KiB447315

des_old2.cH A D26-Mar-20023.5 KiB837

des_opts.cH A D28-Nov-200315.5 KiB609491

des_ver.hH A D21-Jan-20073.6 KiB729

dess.cppH A D30-Mar-20011.3 KiB6854

destest.cH A D23-Jun-200528.8 KiB953825

ecb3_enc.cH A D24-Oct-20013.6 KiB8423

ecb_enc.cH A D16-Sep-20083.5 KiB7716

ede_cbcm_enc.cH A D20-Mar-20035.1 KiB200114

enc_read.cH A D30-Dec-20087.2 KiB233114

enc_writ.cH A D30-Dec-20085.5 KiB17684

fcrypt.cH A D29-Oct-20034.1 KiB171113

fcrypt_b.cH A D04-Mar-20024.9 KiB14669

makefile.bcH A D21-Dec-19981.1 KiB5133

ncbc_enc.cH A D24-Oct-20015.1 KiB14982

ofb64ede.cH A D24-Oct-20014.5 KiB12655

ofb64enc.cH A D24-Oct-20014.1 KiB11145

ofb_enc.cH A D24-Oct-20014.7 KiB13666

pcbc_enc.cH A D24-Oct-20014.3 KiB12462

qud_cksm.cH A D24-Oct-20015 KiB14062

rand_key.cH A D25-Oct-20012.8 KiB6912

read2pwd.cH A D17-May-20046.4 KiB14125

read_pwd.cH A D28-Nov-200212 KiB522384

rpc_des.hH A D21-Dec-19985.5 KiB13223

rpc_enc.cH A D24-Oct-20014.1 KiB9929

rpw.cH A D24-Oct-20013.8 KiB10039

set_key.cH A D21-Sep-200815.9 KiB417278

speed.cH A D28-Nov-20038.8 KiB315220

spr.hH A D04-Mar-20029.8 KiB205138

str2key.cH A D17-May-20045.5 KiB175111

typemapH A D21-Dec-1998616 3529

xcbc_enc.cH A D19-May-20087 KiB198127

README

1
2		libdes, Version 4.01 10-Jan-97
3
4		Copyright (c) 1997, 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 specified in COPYRIGHT.
9
10--
11The primary ftp site for this library is
12ftp://ftp.psy.uq.oz.au/pub/Crypto/DES/libdes-x.xx.tar.gz
13libdes is now also shipped with SSLeay.  Primary ftp site of
14ftp://ftp.psy.uq.oz.au/pub/Crypto/SSL/SSLeay-x.x.x.tar.gz
15
16The best way to build this library is to build it as part of SSLeay.
17
18This kit builds a DES encryption library and a DES encryption program.
19It supports ecb, cbc, ofb, cfb, triple ecb, triple cbc, triple ofb,
20triple cfb, desx, and MIT's pcbc encryption modes and also has a fast
21implementation of crypt(3).
22It contains support routines to read keys from a terminal,
23generate a random key, generate a key from an arbitrary length string,
24read/write encrypted data from/to a file descriptor.
25
26The implementation was written so as to conform with the manual entry
27for the des_crypt(3) library routines from MIT's project Athena.
28
29destest should be run after compilation to test the des routines.
30rpw should be run after compilation to test the read password routines.
31The des program is a replacement for the sun des command.  I believe it
32conforms to the sun version.
33
34The Imakefile is setup for use in the kerberos distribution.
35
36These routines are best compiled with gcc or any other good
37optimising compiler.
38Just turn you optimiser up to the highest settings and run destest
39after the build to make sure everything works.
40
41I believe these routines are close to the fastest and most portable DES
42routines that use small lookup tables (4.5k) that are publicly available.
43The fcrypt routine is faster than ufc's fcrypt (when compiling with
44gcc2 -O2) on the sparc 2 (1410 vs 1270) but is not so good on other machines
45(on a sun3/260 168 vs 336).  It is a function of CPU on chip cache size.
46[ 10-Jan-97 and a function of an incorrect speed testing program in
47  ufc which gave much better test figures that reality ].
48
49It is worth noting that on sparc and Alpha CPUs, performance of the DES
50library can vary by upto %10 due to the positioning of files after application
51linkage.
52
53Eric Young (eay@cryptsoft.com)
54
55