#include <string.h>
#include <mLib/bits.h>
+#include <mLib/macros.h>
#include "serpent-sbox.h"
*q++ = (a & 1) | ((b & 1) << 1) | ((c & 1) << 2) | ((d & 1) << 3);
a >>= 1; b >>= 1; c >>= 1; d >>= 1;
}
- return (memcmp(buf, p, sizeof(buf)));
+ return (MEMCMP(buf, ==, p, sizeof(buf)) ? 0 : -1);
}
#define CHECK(i) do { \