+Wed Sep 13 10:30:58 1995 Keith Vetter (keithv@fusion.com)
+
+ * md4crypt.c: put function prototype back in, fixed signed/unsigned
+ mismatch and removed unused variables.
+ * md4glue.c: put function prototypes back in.
+
Wed Sep 06 14:20:57 1995 Chris Provenzano (proven@mit.edu)
* md4crypto.c : s/keytype/enctype/g, s/KEYTYPE/ENCTYPE/g
#include "rsa-md4.h"
#include "des_int.h" /* we cheat a bit and call it directly... */
+/* Windows needs to these prototypes for the assignment below */
+
+krb5_error_code
+md4_crypto_sum_func PROTOTYPE((krb5_pointer in, size_t in_length,
+ krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum));
+
+krb5_error_code
+md4_crypto_verify_func PROTOTYPE((krb5_checksum FAR *cksum, krb5_pointer in,
+ size_t in_length, krb5_pointer seed, size_t seed_length));
+
/*
* In Kerberos V5 Beta 5 and previous releases the RSA-MD4-DES implementation
* did not follow RFC1510. The folowing definitions control the compatibility
krb5_encrypt_block eblock;
krb5_keyblock keyblock;
krb5_error_code retval;
- int i;
+ size_t i;
MD4_CTX working;
{
krb5_octet outtmp[RSA_MD4_DES_CKSUM_LENGTH+
RSA_MD4_DES_CONFOUND_LENGTH];
- krb5_octet outtmp1[RSA_MD4_DES_CKSUM_LENGTH+
- RSA_MD4_DES_CONFOUND_LENGTH];
mit_des_cblock tmpkey;
krb5_octet *input = (krb5_octet *)in;
krb5_encrypt_block eblock;
krb5_keyblock keyblock;
krb5_error_code retval;
- int i;
+ size_t i;
MD4_CTX working;
#include "k5-int.h"
#include "rsa-md4.h"
+/* Windows needs to these prototypes for the assignment below */
+
+krb5_error_code
+md4_sum_func PROTOTYPE((krb5_pointer in, size_t in_length,
+ krb5_pointer seed, size_t seed_length, krb5_checksum *outcksum));
+
+krb5_error_code
+md4_verify_func PROTOTYPE((krb5_checksum FAR *cksum, krb5_pointer in,
+ size_t in_length, krb5_pointer seed, size_t seed_length));
+
krb5_error_code
md4_sum_func(in, in_length, seed, seed_length, outcksum)
krb5_pointer in;