|
Electroneum
|

Macros | |
| #define | P_TYPE 0 |
| #define | Q_TYPE 1 |
| #define | ROTATE_COLUMN_DOWN(v1, v2, amount_bytes, temp_var) |
| #define | COLUMN(x, y, i, c0, c1, c2, c3, c4, c5, c6, c7, tv1, tv2, tu, tl, t) |
| #define | BILB ctx->bits_in_last_byte |
Functions | |
| static void | RND512P (uint8_t *x, uint32_t *y, uint32_t r) |
| static void | RND512Q (uint8_t *x, uint32_t *y, uint32_t r) |
| static void | F512 (uint32_t *h, const uint32_t *m) |
| static void | Transform (hashState *ctx, const uint8_t *input, int msglen) |
| static void | OutputTransformation (hashState *ctx) |
| static void | Init (hashState *ctx) |
| static void | Update (hashState *ctx, const BitSequence *input, DataLength databitlen) |
| static void | Final (hashState *ctx, BitSequence *output) |
| void | groestl (const BitSequence *data, DataLength databitlen, BitSequence *hashval) |
Variables | |
| const uint8_t | shift_Values [2][8] = {{0,1,2,3,4,5,6,7},{1,3,5,7,0,2,4,6}} |
| const uint8_t | indices_cyclic [15] = {0,1,2,3,4,5,6,7,0,1,2,3,4,5,6} |
| #define BILB ctx->bits_in_last_byte |
| #define COLUMN | ( | x, | |
| y, | |||
| i, | |||
| c0, | |||
| c1, | |||
| c2, | |||
| c3, | |||
| c4, | |||
| c5, | |||
| c6, | |||
| c7, | |||
| tv1, | |||
| tv2, | |||
| tu, | |||
| tl, | |||
| t | |||
| ) |
| #define P_TYPE 0 |
| #define Q_TYPE 1 |
|
static |
|
static |
| void groestl | ( | const BitSequence * | data, |
| DataLength | databitlen, | ||
| BitSequence * | hashval | ||
| ) |
|
static |
|
static |
|
static |
|
static |
|
static |
|
static |
| const uint8_t indices_cyclic[15] = {0,1,2,3,4,5,6,7,0,1,2,3,4,5,6} |
| const uint8_t shift_Values[2][8] = {{0,1,2,3,4,5,6,7},{1,3,5,7,0,2,4,6}} |