add prototypes
authorJohn Kohl <jtkohl@mit.edu>
Thu, 17 May 1990 16:12:14 +0000 (16:12 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Thu, 17 May 1990 16:12:14 +0000 (16:12 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@879 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/des/des_int.h

index feea0d0c52ddb4e9c922fe89ae5e5242ed7d8c4a..a995080bddf08cc35f1e5a082ca2b70628c92f8c 100644 (file)
@@ -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*/