/*----- Header files ------------------------------------------------------*/
-#include <assert.h>
#include <stdlib.h>
+#include "macros.h"
#include "unihash.h"
/*----- Main code ---------------------------------------------------------*/
{
const octet *pp = p;
- assert(UNIHASH_NBATCH == 4);
+ STATIC_ASSERT(UNIHASH_NBATCH == 4, "Batch size doesn't match computation");
#define FULLMULT(u, x) \
(i->s[u][0][U8((x) >> 0)] ^ i->s[u][1][U8((x) >> 8)] ^ \