![]() |
Raven Core
3.0.0
P2P Digital Currency
|
Go to the source code of this file.
Macros | |
| #define | DECL8(z) |
| #define | READ_DATA_W(x) |
| #define | UPDATE_STATE_W(x) |
| #define | LVARS DECL8(n); DECL8(sn); DECL8(h); |
| #define | READ_STATE_W(x) do { h ## x = state[x]; } while (0) |
| #define | MUL8(FUN) |
| #define | ROUND0_W(x) |
| #define | READ_DATA MUL8(READ_DATA_W) |
| #define | READ_STATE MUL8(READ_STATE_W) |
| #define | ROUND0 MUL8(ROUND0_W) |
| #define | UPDATE_STATE MUL8(UPDATE_STATE_W) |
| #define | BYTE(x, n) ((unsigned)((x) >> (8 * (n))) & 0xFF) |
| #define | ROUND_ELT(table, in, i0, i1, i2, i3, i4, i5, i6, i7) |
| #define | ROUND(table, in, out, c0, c1, c2, c3, c4, c5, c6, c7) |
| #define | ROUND_KSCHED(table, in, out, c) ROUND(table, in, out, c, 0, 0, 0, 0, 0, 0, 0) |
| #define | ROUND_WENC(table, in, key, out) |
| #define | TRANSFER(dst, src) |
| #define | ROUND_FUN(name, type) |
| #define | BE64 1 |
| #define | SVAL sc->state |
| #define | BLEN 64U |
| #define | PLW4 1 |
| #define | RFUN whirlpool_round |
| #define | HASH whirlpool |
| #define | RFUN whirlpool0_round |
| #define | HASH whirlpool0 |
| #define | RFUN whirlpool1_round |
| #define | HASH whirlpool1 |
| #define | MAKE_CLOSE(name) |
Functions | |
| void | sph_whirlpool_init (void *cc) |
| #define BE64 1 |
Definition at line 3438 of file sph_whirlpool.c.
| #define BLEN 64U |
Definition at line 3440 of file sph_whirlpool.c.
| #define BYTE | ( | x, | |
| n | |||
| ) | ((unsigned)((x) >> (8 * (n))) & 0xFF) |
Definition at line 3327 of file sph_whirlpool.c.
| #define DECL8 | ( | z | ) |
Definition at line 3278 of file sph_whirlpool.c.
| #define HASH whirlpool |
Definition at line 3456 of file sph_whirlpool.c.
| #define HASH whirlpool0 |
Definition at line 3456 of file sph_whirlpool.c.
| #define HASH whirlpool1 |
Definition at line 3456 of file sph_whirlpool.c.
Definition at line 3299 of file sph_whirlpool.c.
| #define MAKE_CLOSE | ( | name | ) |
Definition at line 3461 of file sph_whirlpool.c.
| #define MUL8 | ( | FUN | ) |
Definition at line 3304 of file sph_whirlpool.c.
| #define PLW4 1 |
Definition at line 3441 of file sph_whirlpool.c.
| #define READ_DATA MUL8(READ_DATA_W) |
Definition at line 3322 of file sph_whirlpool.c.
| #define READ_DATA_W | ( | x | ) |
Definition at line 3292 of file sph_whirlpool.c.
| #define READ_STATE MUL8(READ_STATE_W) |
Definition at line 3323 of file sph_whirlpool.c.
| #define READ_STATE_W | ( | x | ) | do { h ## x = state[x]; } while (0) |
Definition at line 3302 of file sph_whirlpool.c.
| #define RFUN whirlpool_round |
Definition at line 3455 of file sph_whirlpool.c.
| #define RFUN whirlpool0_round |
Definition at line 3455 of file sph_whirlpool.c.
| #define RFUN whirlpool1_round |
Definition at line 3455 of file sph_whirlpool.c.
| #define ROUND | ( | table, | |
| in, | |||
| out, | |||
| c0, | |||
| c1, | |||
| c2, | |||
| c3, | |||
| c4, | |||
| c5, | |||
| c6, | |||
| c7 | |||
| ) |
Definition at line 3358 of file sph_whirlpool.c.
Definition at line 3324 of file sph_whirlpool.c.
| #define ROUND0_W | ( | x | ) |
Definition at line 3318 of file sph_whirlpool.c.
| #define ROUND_ELT | ( | table, | |
| in, | |||
| i0, | |||
| i1, | |||
| i2, | |||
| i3, | |||
| i4, | |||
| i5, | |||
| i6, | |||
| i7 | |||
| ) |
Definition at line 3347 of file sph_whirlpool.c.
| #define ROUND_FUN | ( | name, | |
| type | |||
| ) |
Definition at line 3407 of file sph_whirlpool.c.
| #define ROUND_KSCHED | ( | table, | |
| in, | |||
| out, | |||
| c | |||
| ) | ROUND(table, in, out, c, 0, 0, 0, 0, 0, 0, 0) |
Definition at line 3369 of file sph_whirlpool.c.
| #define ROUND_WENC | ( | table, | |
| in, | |||
| key, | |||
| out | |||
| ) |
Definition at line 3372 of file sph_whirlpool.c.
| #define SVAL sc->state |
Definition at line 3439 of file sph_whirlpool.c.
| #define TRANSFER | ( | dst, | |
| src | |||
| ) |
Definition at line 3376 of file sph_whirlpool.c.
| #define UPDATE_STATE MUL8(UPDATE_STATE_W) |
Definition at line 3325 of file sph_whirlpool.c.
| #define UPDATE_STATE_W | ( | x | ) |
Definition at line 3296 of file sph_whirlpool.c.
| void sph_whirlpool_init | ( | void * | cc | ) |
1.8.13