From 34503b2ad1be7a5d17f21bd2d6091b68d7303988 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Thu, 13 Jun 1996 00:13:56 +0000 Subject: [PATCH] Add missing prototypes; needed to make Win-32 compiler happy git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@8344 dc483132-0cff-0310-8789-dd5450dbe970 --- src/lib/crypto/des/ChangeLog | 3 +++ src/lib/crypto/des/des_int.h | 13 +++++++++++++ 2 files changed, 16 insertions(+) diff --git a/src/lib/crypto/des/ChangeLog b/src/lib/crypto/des/ChangeLog index afbce5789..549bc1b21 100644 --- a/src/lib/crypto/des/ChangeLog +++ b/src/lib/crypto/des/ChangeLog @@ -1,5 +1,8 @@ Wed Jun 12 00:08:31 1996 Theodore Ts'o + * des_int.h: Add missing prototypes; needed to make Win-32 + compiler happy. + * f_tables.h: Add #ifdef _WIN32 in places where we had #ifdef _MSDOS Tue May 21 19:30:10 1996 Sam Hartman diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h index a04621103..68fa32505 100644 --- a/src/lib/crypto/des/des_int.h +++ b/src/lib/crypto/des/des_int.h @@ -92,6 +92,13 @@ error(MIT_DES_KEYSIZE does not equal KRB5_MIT_DES_KEYSIZE) * End "mit-des.h" */ +/* afsstring2key.c */ +extern krb5_error_code mit_afs_string_to_key + PROTOTYPE((const krb5_encrypt_block FAR *eblock, + krb5_keyblock FAR *keyblock, + const krb5_data FAR *data, + const krb5_data FAR *salt)); + /* f_cksum.c */ extern unsigned long mit_des_cbc_cksum PROTOTYPE((krb5_octet FAR *, krb5_octet FAR *, long , mit_des_key_schedule , @@ -220,6 +227,12 @@ extern krb5_error_code mit_des_n_fold const size_t out_len)); /* u_rn_key.c */ +extern int mit_des_is_weak_keyblock + PROTOTYPE((krb5_keyblock *keyblock)); + +extern void mit_des_fixup_keyblock_parity + PROTOTYPE((krb5_keyblock *keyblock)); + extern krb5_error_code mit_des_set_random_generator_seed PROTOTYPE((const krb5_data * seed, krb5_pointer random_state)); -- 2.26.2