37 #define SIZE1024 (ROWS * COLS1024)
38 typedef unsigned char BitSequence;
41 uint8_t chaining[ROWS][COLS1024];
42 uint64_t block_counter;
44 BitSequence buffer[SIZE1024];
48 unsigned int statesize;
51 typedef struct hashState_s hashState;
57 unsigned int output_size;
58 struct hashState_s ctx;
61 typedef struct cx_groestl_s cx_groestl_t;
63 size_t cx_groestl_get_output_size(
const cx_groestl_t *ctx);
76 WARN_UNUSED_RESULT cx_err_t cx_groestl_init_no_throw(cx_groestl_t *hash,
size_t size);
82 DEPRECATED
static inline void cx_groestl_init(cx_groestl_t *hash,
unsigned int size)
84 CX_THROW(cx_groestl_init_no_throw(hash, size));
114 WARN_UNUSED_RESULT cx_err_t cx_groestl(cx_groestl_t *hash,
137 WARN_UNUSED_RESULT cx_err_t cx_groestl_update(cx_groestl_t *ctx,
const uint8_t *data,
size_t len);
153 cx_err_t cx_groestl_final(cx_groestl_t *ctx,
uint8_t *digest);