• Home
  • History
  • Annotate
  • only in /external/openssl/crypto/des/
NameDateSize

..12-Mar-20154 KiB

asm/12-Mar-20154 KiB

cbc3_enc.c12-Mar-20154.4 KiB

cbc_cksm.c12-Mar-20154.2 KiB

cbc_enc.c12-Mar-20153.2 KiB

cfb64ede.c12-Mar-20156.8 KiB

cfb64enc.c12-Mar-20154.3 KiB

cfb_enc.c12-Mar-20156 KiB

COPYRIGHT12-Mar-20152.6 KiB

des.c12-Mar-201520 KiB

des.h12-Mar-201510.6 KiB

DES.pm12-Mar-2015423

des.pod12-Mar-20154.7 KiB

DES.xs12-Mar-20154.2 KiB

des3s.cpp12-Mar-20151.4 KiB

des_enc.c12-Mar-201510.3 KiB

des_locl.h12-Mar-201513.4 KiB

des_old.c12-Mar-201510.5 KiB

des_old.h12-Mar-201517.8 KiB

des_old2.c12-Mar-20153.5 KiB

des_opts.c12-Mar-201515.5 KiB

des_ver.h12-Mar-20153.6 KiB

dess.cpp12-Mar-20151.3 KiB

destest.c12-Mar-201528.8 KiB

ecb3_enc.c12-Mar-20153.6 KiB

ecb_enc.c12-Mar-20154.3 KiB

ede_cbcm_enc.c12-Mar-20155.1 KiB

enc_read.c12-Mar-20157.4 KiB

enc_writ.c12-Mar-20155.6 KiB

fcrypt.c12-Mar-20154.1 KiB

fcrypt_b.c12-Mar-20154.8 KiB

FILES012-Mar-20153.7 KiB

Imakefile12-Mar-20151 KiB

INSTALL12-Mar-20152.7 KiB

KERBEROS12-Mar-20151.5 KiB

makefile.bc12-Mar-20151.1 KiB

ncbc_enc.c12-Mar-20155.1 KiB

ofb64ede.c12-Mar-20154.5 KiB

ofb64enc.c12-Mar-20154.1 KiB

ofb_enc.c12-Mar-20154.7 KiB

options.txt12-Mar-20152.2 KiB

pcbc_enc.c12-Mar-20154.3 KiB

qud_cksm.c12-Mar-20155 KiB

rand_key.c12-Mar-20152.8 KiB

read2pwd.c12-Mar-20156.4 KiB

read_pwd.c12-Mar-201512 KiB

README12-Mar-20152.2 KiB

rpc_des.h12-Mar-20155.5 KiB

rpc_enc.c12-Mar-20154.1 KiB

rpw.c12-Mar-20153.8 KiB

set_key.c12-Mar-201516 KiB

speed.c12-Mar-20158.8 KiB

spr.h12-Mar-20159.8 KiB

str2key.c12-Mar-20155.5 KiB

t/12-Mar-20154 KiB

times/12-Mar-20154 KiB

typemap12-Mar-2015616

VERSION12-Mar-201515.8 KiB

xcbc_enc.c12-Mar-20157 KiB

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