#include <mLib/alloc.h>
#include <mLib/bits.h>
#include <mLib/dstr.h>
+#include <mLib/macros.h>
#include "mp.h"
#include "mpmont.h"
dstr_ensure(d, n);
rc = e(p, m, msz, (octet *)d->buf + d->len, n, nb, earg);
if (rc > 0 && m) {
- if (rc != msz || memcmp(d->buf + d->len, m, msz) != 0)
+ if (rc != msz || MEMCMP(d->buf + d->len, !=, m, msz))
rc = -1;
else
rc = 0;