|
cryptnox-sdk-esp32 1.0.0
ESP32 SDK for Cryptnox Hardware Wallet
|
Go to the source code of this file.
Macros | |
| #define | KECCAK_ROUNDS 24U |
| #define | KECCAK_RATE 136U /* 1088 / 8 bytes — rate for 256-bit output */ |
| #define | KECCAK_STATE_LANE 25U /* 5×5 uint64_t lanes */ |
Functions | |
| static uint64_t | rot64 (uint64_t x, uint8_t n) |
| static void | keccak_f1600 (uint64_t st[KECCAK_STATE_LANE]) |
| void | keccak256 (const uint8_t *input, size_t length, uint8_t digest[32]) |
Variables | |
| static const uint64_t | kRC [KECCAK_ROUNDS] |
| static const uint8_t | kRHO [KECCAK_STATE_LANE] |
| #define KECCAK_RATE 136U /* 1088 / 8 bytes — rate for 256-bit output */ |
Definition at line 10 of file keccak256.cpp.
Referenced by keccak256().
| #define KECCAK_ROUNDS 24U |
Definition at line 9 of file keccak256.cpp.
Referenced by keccak_f1600().
| #define KECCAK_STATE_LANE 25U /* 5×5 uint64_t lanes */ |
Definition at line 11 of file keccak256.cpp.
Referenced by keccak256(), and keccak_f1600().
| void keccak256 | ( | const uint8_t * | input, |
| size_t | length, | ||
| uint8_t | digest[32] ) |
Definition at line 85 of file keccak256.cpp.
References keccak_f1600(), KECCAK_RATE, and KECCAK_STATE_LANE.
Referenced by signing_loop().
|
static |
Definition at line 42 of file keccak256.cpp.
References KECCAK_ROUNDS, KECCAK_STATE_LANE, kRC, kRHO, and rot64().
Referenced by keccak256().
|
static |
Definition at line 37 of file keccak256.cpp.
Referenced by keccak_f1600().
|
static |
Definition at line 13 of file keccak256.cpp.
Referenced by keccak_f1600().
|
static |
Definition at line 29 of file keccak256.cpp.
Referenced by keccak_f1600().