]> mj.ucw.cz Git - libucw.git/blobdiff - lib/md5.c
Moved endianity settings etc. to the per-CPU section.
[libucw.git] / lib / md5.c
index d4f8535b3164c83b2851fa39296bc3e54b9fd200..a0e50ab8925a154450ac388063bff752da739571 100644 (file)
--- a/lib/md5.c
+++ b/lib/md5.c
  * will fill a supplied 16-byte array with the digest.
  */
 
+#include "lib/lib.h"
+#include "lib/md5.h"
+
 #include <string.h>            /* for memcpy() */
-#include "md5.h"
 
-#ifndef HIGHFIRST
+#ifdef CPU_LITTLE_ENDIAN
 #define byteReverse(buf, len)  /* Nothing */
 #else
 void byteReverse(unsigned char *buf, unsigned longs);