#include "config.h"
-#ifdef HAVE_MD5_H
-# ifndef DEPGEN
-# include <md5.h>
-# endif
+#if defined(HAVE_MD5_H) && !defined(DEPGEN)
+#include <md5.h>
#endif
#ifdef SHA2_H
#endif
#ifndef __arraycount
-# define __arraycount(__x) (sizeof(__x) / sizeof(__x[0]))
+#define __arraycount(__x) (sizeof(__x) / sizeof(__x[0]))
#endif
#if 0
#include <sha2.h>
#endif
+#ifndef MD5_BLOCK_LENGTH
+#define MD5_BLOCK_LENGTH 64
+#endif
+#ifndef SHA256_BLOCK_LENGTH
+#define SHA256_BLOCK_LENGTH 64
+#endif
+
#define HMAC_SIZE 128
#define HMAC_IPAD 0x36
#define HMAC_OPAD 0x5C