From: John Kohl Date: Thu, 17 May 1990 16:12:14 +0000 (+0000) Subject: add prototypes X-Git-Tag: krb5-1.0-alpha2~526 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=1e7f0e1e17572cc76c3c9072818a069ca0c0ca94;p=krb5.git add prototypes git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@879 dc483132-0cff-0310-8789-dd5450dbe970 --- diff --git a/src/lib/crypto/des/des_int.h b/src/lib/crypto/des/des_int.h index feea0d0c5..a995080bd 100644 --- a/src/lib/crypto/des/des_int.h +++ b/src/lib/crypto/des/des_int.h @@ -1,7 +1,7 @@ /* * $Source$ * $Author$ - * $Header$ + * $Id$ * * Copyright 1987, 1988 by the Massachusetts Institute of Technology. * @@ -92,4 +92,73 @@ typedef struct { #endif /*BITS32*/ +/* cbc_cksum.c */ +krb5_error_code mit_des_cbc_checksum + PROTOTYPE((krb5_pointer, size_t,krb5_pointer,size_t, krb5_checksum * )); + +/* cksum.c */ +void mit_des_cbc_cksum + PROTOTYPE((krb5_octet *, krb5_octet *, long , mit_des_key_schedule , + krb5_octet *)); +/* des.c */ +int des_ecb_encrypt + PROTOTYPE((unsigned long *, unsigned long *, des_key_schedule , int )); + +/* enc_dec.c */ +krb5_error_code mit_des_encrypt_func + PROTOTYPE(( krb5_pointer, krb5_pointer, size_t, krb5_encrypt_block *, + krb5_pointer )); +krb5_error_code mit_des_decrypt_func + PROTOTYPE(( krb5_pointer, krb5_pointer, size_t, krb5_encrypt_block *, + krb5_pointer )); +krb5_error_code mit_des_cbc_encrypt + PROTOTYPE((krb5_octet *, krb5_octet *, long, mit_des_key_schedule, + krb5_octet *, int)); + +/* fin_rndkey.c */ +krb5_error_code mit_des_finish_random_key + PROTOTYPE(( krb5_pointer *)); + +/* finish_key.c */ +krb5_error_code mit_des_finish_key + PROTOTYPE(( krb5_encrypt_block *)); + +/* init_rkey.c */ +krb5_error_code mit_des_init_random_key + PROTOTYPE(( krb5_keyblock *, krb5_pointer *)); + +/* key_parity.c */ +void mit_des_fixup_key_parity PROTOTYPE((mit_des_cblock )); +int mit_des_check_key_parity PROTOTYPE((mit_des_cblock )); + +/* key_sched.c */ +int mit_des_key_sched PROTOTYPE((mit_des_cblock , mit_des_key_schedule )); + +/* new_rnd_key.c */ +int mit_des_new_random_key PROTOTYPE((mit_des_cblock , mit_des_random_key_seed *)); +void mit_des_init_random_number_generator + PROTOTYPE((mit_des_cblock, mit_des_random_key_seed)); +void mit_des_set_random_generator_seed + PROTOTYPE((mit_des_cblock , mit_des_random_key_seed *)); +void mit_des_set_sequence_number + PROTOTYPE((mit_des_cblock , mit_des_random_key_seed *)); +void mit_des_generate_random_block + PROTOTYPE((mit_des_cblock , mit_des_random_key_seed *)); + +/* process_ky.c */ +krb5_error_code mit_des_process_key + PROTOTYPE(( krb5_encrypt_block *, krb5_keyblock *)); + +/* random_key.c */ +krb5_error_code mit_des_random_key + PROTOTYPE(( krb5_pointer , krb5_keyblock **)); + +/* string2key.c */ +krb5_error_code mit_des_string_to_key + PROTOTYPE((krb5_keytype, krb5_keyblock *, krb5_data *, krb5_principal )); + +/* weak_key.c */ +int mit_des_is_weak_key PROTOTYPE((mit_des_cblock )); + +#undef P #endif /*DES_INTERNAL_DEFS*/