updated sizes for reality
authorJohn Kohl <jtkohl@mit.edu>
Tue, 26 Feb 1991 14:35:24 +0000 (14:35 +0000)
committerJohn Kohl <jtkohl@mit.edu>
Tue, 26 Feb 1991 14:35:24 +0000 (14:35 +0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@1791 dc483132-0cff-0310-8789-dd5450dbe970

src/include/krb5/rsa-md4.h

index 71c4c93be43574f91c6d4317b043d338b455759c..aef045c4b6f684e8bb100c186288db050153f173 100644 (file)
 #ifndef __KRB5_RSA_MD4_H__
 #define __KRB5_RSA_MD4_H__
 
-/* 4 words of buffer, plus 8 bytes of count */
-#define RSA_MD4_CKSUM_LENGTH   (4*sizeof(krb5_int32)+8)
-#define RSA_MD4_DES_CKSUM_LENGTH       (4*sizeof(krb5_int32)+8)
+/* 16 u_char's in the digest */
+#define RSA_MD4_CKSUM_LENGTH   16
+/* des blocksize is 8, so this works nicely... */
+#define RSA_MD4_DES_CKSUM_LENGTH       16
 
 extern krb5_checksum_entry
     rsa_md4_cksumtable_entry,