use internal prototypes
authorJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 09:52:33 +0000 (09:52 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Fri, 19 Oct 1990 09:52:33 +0000 (09:52 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1281 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/crypto/des/cs_entry.c

index 0b4c6e882a5a816f539715d61d05721e59b82eed..f4ee074783eaf82cc26c02358a2b465eaa32d561 100644 (file)
@@ -18,32 +18,9 @@ static char rcsid_cs_entry_c[] =
 #include <krb5/copyright.h>
 
 #include <krb5/krb5.h>
-#include <krb5/mit-des.h>
 #include <krb5/crc-32.h>
 
-extern krb5_error_code mit_des_encrypt_func PROTOTYPE((krb5_const_pointer,
-                                                      krb5_pointer,
-                                                      const size_t,
-                                                      krb5_encrypt_block *,
-                                                      krb5_pointer));
-extern krb5_error_code mit_des_decrypt_func PROTOTYPE((krb5_const_pointer,
-                                                      krb5_pointer,
-                                                      const size_t,
-                                                      krb5_encrypt_block *,
-                                                      krb5_pointer));
-extern krb5_error_code mit_des_process_key PROTOTYPE((krb5_encrypt_block *,
-                                                     const krb5_keyblock *));
-extern krb5_error_code mit_des_finish_key PROTOTYPE((krb5_encrypt_block *));
-extern krb5_error_code mit_des_string_to_key PROTOTYPE((const krb5_keytype, 
-                                                       krb5_keyblock *,
-                                                       const krb5_data *,
-                                                       const krb5_principal));
-extern krb5_error_code mit_des_init_random_key
-    PROTOTYPE((const krb5_keyblock *,
-              krb5_pointer *));
-extern krb5_error_code mit_des_finish_random_key PROTOTYPE((krb5_pointer *));
-extern krb5_error_code mit_des_random_key PROTOTYPE((krb5_pointer,
-                                                    krb5_keyblock **));
+#include "des_int.h"
 
 krb5_cryptosystem_entry mit_des_cryptosystem_entry = {
     mit_des_encrypt_func,