* quad_cksum.c (des_quad_cksum): Reorder parameters to match the
authorTom Yu <tlyu@mit.edu>
Wed, 19 Nov 1997 04:37:49 +0000 (04:37 +0000)
committerTom Yu <tlyu@mit.edu>
Wed, 19 Nov 1997 04:37:49 +0000 (04:37 +0000)
prototype in include/kerberosIV/des.h.

* pcbc_encrypt.c: Fix up parameters to use a des_cblock* as the
ivec to match the prototype in include/kerberosIV/des.h.

git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@10294 dc483132-0cff-0310-8789-dd5450dbe970

src/lib/des425/ChangeLog
src/lib/des425/pcbc_encrypt.c
src/lib/des425/quad_cksum.c

index e17340ba0659e2aa4e54d00bb1db593a744b6bcb..3486d91279c81c503c6ec8f3776a827393577be6 100644 (file)
@@ -1,5 +1,11 @@
 Tue Nov 18 18:57:07 1997  Tom Yu  <tlyu@mit.edu>
 
+       * quad_cksum.c (des_quad_cksum): Reorder parameters to match the
+       prototype in include/kerberosIV/des.h.
+
+       * pcbc_encrypt.c: Fix up parameters to use a des_cblock* as the
+       ivec to match the prototype in include/kerberosIV/des.h.
+
        * Makefile.in: Garbage collect some old library build system
        stuff.
 
index c4972fc0b659e13e8c2c4eaef60a45d0cfa88337..3f48fef4e5ad4651c2497689bc18c9d7f838fa05 100644 (file)
@@ -27,7 +27,7 @@ des_pcbc_encrypt(in, out, length, schedule, ivec, encrypt)
        des_cblock *out;
        long length;
        des_key_schedule schedule;
-       des_cblock ivec;
+       des_cblock *ivec;
        int encrypt;
 {
        register unsigned DES_INT32 left, right;
index 0f92c56f0d87fcb40d7e5e0c20d8cdabaef077ae..73e2af2b7356cd3aac57aa56ab2a60de4b869ca0 100644 (file)
@@ -107,11 +107,11 @@ extern int des_debug;
 
 KRB5_DLLIMP unsigned long KRB5_CALLCONV
 des_quad_cksum(in,out,length,out_count,c_seed)
-    mit_des_cblock FAR *c_seed;                /* secret seed, 8 bytes */
     unsigned char FAR *in;             /* input block */
     unsigned DES_INT32 FAR *out;       /* optional longer output */
-    int out_count;                     /* number of iterations */
     long length;                       /* original length in bytes */
+    int out_count;                     /* number of iterations */
+    mit_des_cblock FAR *c_seed;                /* secret seed, 8 bytes */
 {
 
     /*