Export additional routines for krb4 library (win16/win32)
authorRichard Basch <probe@mit.edu>
Tue, 18 Feb 1997 05:48:59 +0000 (05:48 +0000)
committerRichard Basch <probe@mit.edu>
Tue, 18 Feb 1997 05:48:59 +0000 (05:48 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@9887 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/des425/ChangeLog
src/lib/des425/des.h
src/lib/des425/pcbc_encrypt.c
src/lib/des425/quad_cksum.c
src/lib/des425/str_to_key.c

index f36bf8219f37c0a9167d76217a5dbfeb885234eb..1df0f30d5ed2fd57b985848cfedea217354e30b3 100644 (file)
@@ -1,3 +1,7 @@
+Sun Feb 16 23:29:09 1997  Richard Basch  <basch@lehman.com>
+
+       * pcbc_encrypt.c: Export des_pcbc_encrypt (win16/win32)
+
 Thu Nov 21 11:55:16 EST 1996    Richard Basch   <basch@lehman.com>
 
         * Makefile.in: win32 build
index 2aed529bb41e0bbbb742bc4a90e5c0ded700201d..4e85536be9ae29d9a54d38a80d9730aa4bf9c18a 100644 (file)
@@ -77,11 +77,11 @@ void des_init_random_number_generator();
 KRB5_DLLIMP void KRB5_CALLCONV des_set_random_generator_seed();
 void des_set_sequence_number();
 void des_generate_random_block();
-int des_pcbc_encrypt();
-unsigned long des_quad_cksum();
+KRB5_DLLIMP int KRB5_CALLCONV des_pcbc_encrypt();
+KRB5_DLLIMP unsigned long KRB5_CALLCONV des_quad_cksum();
 int des_random_key();
 krb5_error_code des_read_password();
-int des_string_to_key();
+KRB5_DLLIMP int KRB5_CALLCONV des_string_to_key();
 int des_is_weak_key();
 
 #endif /* DES_DEFS */
index 92bc789a769feed2a1d291a4390bcd1b8a7cf44d..62d2f038e98d2538f07471d27833eff39bb63977 100644 (file)
@@ -70,7 +70,7 @@ typedef struct des_ks_struct bit_64;
 /*
  * des_pcbc_encrypt - {en,de}crypt a stream in PCBC mode
  */
-int
+KRB5_DLLIMP int KRB5_CALLCONV
 des_pcbc_encrypt(in, out, length, schedule, ivec, encrypt)
        des_cblock *in;
        des_cblock *out;
index 6a5a76bcceeda315de8fb26814f63d0399a9f886..447ea774d4693a32d60d7e0663181323b113f6f4 100644 (file)
@@ -120,13 +120,13 @@ extern int des_debug;
 
 /*** Routines ***************************************************** */
 
-unsigned long
+KRB5_DLLIMP unsigned long KRB5_CALLCONV
 des_quad_cksum(in,out,length,out_count,c_seed)
-    mit_des_cblock *c_seed;            /* secret seed, 8 bytes */
-    unsigned char *in;         /* input block */
-    unsigned KRB_INT32 *out;           /* optional longer output */
-    int out_count;             /* number of iterations */
-    long length;               /* original length in bytes */
+    mit_des_cblock FAR *c_seed;                /* secret seed, 8 bytes */
+    unsigned char FAR *in;             /* input block */
+    unsigned KRB_INT32 FAR *out;       /* optional longer output */
+    int out_count;                     /* number of iterations */
+    long length;                       /* original length in bytes */
 {
 
     /*
index cfd9914d2017fa06586be06fd363178fec8a983c..3a2dcdcb6652c03ad7639f87ac8f925c25183e34 100644 (file)
@@ -48,10 +48,10 @@ extern int mit_des_debug;
 /*
  * convert an arbitrary length string to a DES key
  */
-int
+KRB5_DLLIMP int KRB5_CALLCONV
 des_string_to_key(str,key)
     char *str;
-    register mit_des_cblock *key;
+    register mit_des_cblock key;
 {
     register char *in_str;
     register unsigned temp;