#include <mLib/alloc.h>
#include <mLib/bits.h>
#include <mLib/dstr.h>
+#include <mLib/macros.h>
#include "gcipher.h"
#include "ghash.h"
GH_HASH(h, m, msz);
GH_HASH(h, s, pp->ssz);
s = GH_DONE(h, 0);
- rc = !memcmp(s, r, hsz);
+ rc = MEMCMP(s, ==, r, hsz);
GH_DESTROY(h);
if (!rc) return (-1);