+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ */
+
+#ifndef lint
+static char rcsid_md4_c[] = "$Id$";
+#endif lint
+
/*
**********************************************************************
** md4.c **
**********************************************************************
*/
-#include "md4.h"
+#include <krb5/krb5.h>
+#include <krb5/rsa-md4.h>
/* forward declaration */
+#ifdef __STDC__
+static void Transform (UINT4 *, UINT4 *);
+#else
static void Transform ();
+#endif
static unsigned char PADDING[64] = {
0x80, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00, 0x00,
+/*
+ * $Source$
+ * $Author$
+ * $Id$
+ */
+
+#ifndef lint
+static char rcsid_md4driver_c[] = "$Id$";
+#endif lint
+
/*
**********************************************************************
** md4driver.c -- sample routines to test **
#include <sys/types.h>
#include <time.h>
#include <string.h>
-#include "md4.h"
+#include <krb5/krb5.h>
+#include <krb5/rsa-md4.h>
/* Prints message digest buffer in mdContext as 32 hexadecimal digits.
Order is from low-order byte to high-order byte of digest.
static void MDFile (filename)
char *filename;
{
+#ifdef __STDC__
FILE *inFile = fopen (filename, "rb");
+#else
+ FILE *inFile = fopen (filename, "r");
+#endif
MD4_CTX mdContext;
int bytes;
unsigned char data[1024];