|
Electroneum
|
#include <stdint.h>
Go to the source code of this file.
Classes | |
| struct | hashState |
Macros | |
| #define | ROWS 8 |
| #define | LENGTHFIELDLEN ROWS |
| #define | COLS512 8 |
| #define | SIZE512 (ROWS*COLS512) |
| #define | ROUNDS512 10 |
| #define | HASH_BIT_LEN 256 |
| #define | ROTL32(v, n) ((((v)<<(n))|((v)>>(32-(n))))&li_32(ffffffff)) |
| #define | li_32(h) 0x##h##u |
| #define | EXT_BYTE(var, n) ((uint8_t)((uint32_t)(var) >> (8*n))) |
| #define | u32BIG(a) |
Typedefs | |
| typedef unsigned char | BitSequence |
| typedef unsigned long long | DataLength |
Functions | |
| void | groestl (const BitSequence *, DataLength, BitSequence *) |
| #define ROTL32 | ( | v, | |
| n | |||
| ) | ((((v)<<(n))|((v)>>(32-(n))))&li_32(ffffffff)) |
| #define u32BIG | ( | a | ) |
| typedef unsigned char BitSequence |
| typedef unsigned long long DataLength |
| void groestl | ( | const BitSequence * | , |
| DataLength | , | ||
| BitSequence * | |||
| ) |