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

..06-Jul-2017-

asm/H06-Jul-2017-3,5982,840

t/H06-Jul-2017-2820

times/H06-Jul-2017-171149

COPYRIGHTH A D06-Jul-20172.6 KiB5143

DES.pmH A D06-Jul-2017423 2012

DES.xsH A D06-Jul-20174.2 KiB269239

FILES0H A D06-Jul-20173.7 KiB9787

INSTALLH A D06-Jul-20172.7 KiB7055

ImakefileH A D06-Jul-20171 KiB3625

KERBEROSH A D06-Jul-20171.5 KiB4236

MakefileH A D03-May-202214.2 KiB284251

READMEH A D06-Jul-20172.2 KiB5540

VERSIONH A D06-Jul-201715.8 KiB413347

cbc3_enc.cH A D06-Jul-20174.7 KiB9634

cbc_cksm.cH A D06-Jul-20174.4 KiB10437

cbc_enc.cH A D06-Jul-20173.2 KiB622

cfb64ede.cH A D06-Jul-20178.6 KiB250159

cfb64enc.cH A D06-Jul-20174.8 KiB12356

cfb_enc.cH A D06-Jul-20177.2 KiB200117

des-lib.comH A D06-Jul-201720.8 KiB1,0061,005

des.cH A D06-Jul-201726.6 KiB869743

des.hH A D06-Jul-201711.6 KiB258142

des.podH A D06-Jul-20174.7 KiB218169

des3s.cppH A D06-Jul-20171.4 KiB6854

des_enc.cH A D06-Jul-201712.3 KiB390272

des_locl.hH A D06-Jul-201716 KiB444289

des_old.cH A D06-Jul-201713 KiB346232

des_old.hH A D06-Jul-201721 KiB498360

des_old2.cH A D06-Jul-20173.5 KiB817

des_opts.cH A D06-Jul-201717 KiB642521

des_ver.hH A D06-Jul-20173.6 KiB749

dess.cppH A D06-Jul-20171.3 KiB6854

destest.cH A D06-Jul-201734.2 KiB930797

ecb3_enc.cH A D06-Jul-20173.7 KiB8322

ecb_enc.cH A D06-Jul-20174.5 KiB12560

ede_cbcm_enc.cH A D06-Jul-20175.9 KiB190103

enc_read.cH A D06-Jul-20178.2 KiB236110

enc_writ.cH A D06-Jul-20176.3 KiB18385

fcrypt.cH A D06-Jul-20174.8 KiB168113

fcrypt_b.cH A D06-Jul-20175.2 KiB14165

makefile.bcH A D06-Jul-20171.1 KiB5133

ncbc_enc.cH A D06-Jul-20175.7 KiB15588

ofb64ede.cH A D06-Jul-20174.8 KiB12452

ofb64enc.cH A D06-Jul-20174.3 KiB11044

ofb_enc.cH A D06-Jul-20175.2 KiB13262

pcbc_enc.cH A D06-Jul-20174.7 KiB11654

qud_cksm.cH A D06-Jul-20175.4 KiB14464

rand_key.cH A D06-Jul-20172.9 KiB6811

read2pwd.cH A D06-Jul-20176.5 KiB14125

read_pwd.cH A D06-Jul-201713.5 KiB534390

rpc_des.hH A D06-Jul-20175.6 KiB13123

rpc_enc.cH A D06-Jul-20174.3 KiB10131

rpw.cH A D06-Jul-20174 KiB9534

set_key.cH A D06-Jul-201718.2 KiB448301

speed.cH A D06-Jul-20179.6 KiB300211

spr.hH A D06-Jul-201710.9 KiB213146

str2key.cH A D06-Jul-20176.1 KiB165101

typemapH A D06-Jul-2017616 3529

xcbc_enc.cH A D06-Jul-20178.3 KiB217146

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