From: Theodore Tso Date: Fri, 3 Feb 1995 19:33:40 +0000 (+0000) Subject: Remove unused cruft from des_int.h X-Git-Tag: krb5-1.0-beta5~754 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=0ed59106262c5142b54b4a30ec5f0fd52d4af94b;p=krb5.git Remove unused cruft from des_int.h git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@4901 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index d8ce64486..c344fb9f4 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,5 +1,7 @@ Fri Feb 3 06:33:22 1995 Theodore Y. Ts'o (tytso@dcl) + * des_int.h: Remove unused cruft from the file. + * verify.c: Fix typo; "%02 X" --> "%02X" Wed Jan 25 20:04:39 1995 John Gilmore (gnu at toad.com) diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h index ac922ae19..10fbe16d3 100644 --- a/src/lib/crypto/des/des_int.h +++ b/src/lib/crypto/des/des_int.h @@ -30,79 +30,6 @@ #include -/* - * number of iterations of the inner - * loop of the DES algorithm. The - * standard is 16, but in case that is - * too slow, we might do less. Of - * course, less also means less - * security. - */ -#define AUTH_DES_ITER 16 - -#ifdef BITS32 -/* these are for 32 bit machines */ - -typedef struct { - unsigned b0:6; - unsigned b1:6; - unsigned b2:6; - unsigned b3:6; - unsigned b4:6; - unsigned b5:2; -} sbox_in_a; - -typedef struct { - unsigned b5:4; - unsigned b6:6; - unsigned b7:6; -} sbox_in_b; - -typedef struct { - unsigned b0:4; - unsigned b1:4; - unsigned b2:4; - unsigned b3:4; - unsigned b4:4; - unsigned b5:4; - unsigned b6:4; - unsigned b7:4; -} sbox_out; - -#else /*BITS32*/ -/* for sixteen bit machines */ - -typedef struct { - unsigned b0:6; - unsigned b1:6; - unsigned b2:4; -} sbox_in_16_a; - -typedef struct { - unsigned b2:2; - unsigned b3:6; - unsigned b4:6; - unsigned b5:2; -} sbox_in_16_b; - -typedef struct { - unsigned b5:4; - unsigned b6:6; - unsigned b7:6; -} sbox_in_16_c; - -typedef struct { - unsigned b0:4; - unsigned b1:4; - unsigned b2:4; - unsigned b3:4; - unsigned b4:4; - unsigned b5:4; - unsigned b6:4; - unsigned b7:4; -} sbox_out; -#endif /*BITS32*/ - /* cbc_cksum.c */ extern krb5_error_code mit_des_cbc_checksum PROTOTYPE((krb5_pointer, size_t,krb5_pointer,size_t, krb5_checksum * ));