printstate.h 405 Bytes
Newer Older
Martin Schlaeffer committed
1 2 3
#ifndef PRINTSTATE_H_
#define PRINTSTATE_H_

Martin Schläffer committed
4
#ifdef ASCON_PRINT_STATE
Martin Schlaeffer committed
5 6 7 8

#include "ascon.h"
#include "word.h"

Martin Schläffer committed
9
void printword(const char* text, const uint64_t x);
Martin Schlaeffer committed
10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
void printstate(const char* text, const state_t* s);

#else

#define printword(text, w) \
  do {                     \
  } while (0)

#define printstate(text, s) \
  do {                      \
  } while (0)

#endif

#endif /* PRINTSTATE_H_ */