#ifdef TEST_RIG
+#include <mLib/macros.h>
#include <mLib/quis.h>
#include <mLib/testrig.h>
BLKC_MOVE(RC2, d, p);
rc2_eblk(&k, d, d);
BLKC_STORE(RC2, b.buf, d);
- if (memcmp(b.buf, v[3].buf, RC2_BLKSZ)) {
+ if (MEMCMP(b.buf, !=, v[3].buf, RC2_BLKSZ)) {
ok = 0;
printf("\nfail encryption:"
"\n\tkey = ");
BLKC_MOVE(RC2, d, c);
rc2_dblk(&k, d, d);
BLKC_STORE(RC2, b.buf, d);
- if (memcmp(b.buf, v[2].buf, RC2_BLKSZ)) {
+ if (MEMCMP(b.buf, !=, v[2].buf, RC2_BLKSZ)) {
ok = 0;
printf("\nfail decryption:"
"\n\tkey = ");