|
Wire Sysio Wire Sysion 1.0.0
|

Go to the source code of this file.
Macros | |
| #define | BLOCK_SIZE ((1600 - 256 * 2) / 8) |
| #define | I64(x) |
| #define | ROTL64(qword, n) |
| #define | le2me_64(x) |
| #define | IS_ALIGNED_64(p) |
| #define | me64_to_le_str(to, from, length) |
| #define | TYPE_ROUND_INFO 0 |
| #define | TYPE_PI_TRANSFORM 24 |
| #define | TYPE_RHO_TRANSFORM 48 |
Functions | |
| uint8_t | getConstant (uint8_t type, uint8_t index) |
| void | keccak_init (SHA3_CTX *ctx) |
| void | keccak_update (SHA3_CTX *ctx, const unsigned char *msg, uint16_t size) |
| void | keccak_final (SHA3_CTX *ctx, unsigned char *result) |
Variables | |
| const uint8_t | constants [] |
| #define BLOCK_SIZE ((1600 - 256 * 2) / 8) |
Definition at line 23 of file keccak256.cpp.
| #define I64 | ( | x | ) |
Definition at line 25 of file keccak256.cpp.
| #define IS_ALIGNED_64 | ( | p | ) |
Definition at line 28 of file keccak256.cpp.
| #define le2me_64 | ( | x | ) |
Definition at line 27 of file keccak256.cpp.
| #define me64_to_le_str | ( | to, | |
| from, | |||
| length ) |
Definition at line 29 of file keccak256.cpp.
| #define ROTL64 | ( | qword, | |
| n ) |
Definition at line 26 of file keccak256.cpp.
| #define TYPE_PI_TRANSFORM 24 |
Definition at line 49 of file keccak256.cpp.
| #define TYPE_RHO_TRANSFORM 48 |
Definition at line 50 of file keccak256.cpp.
| #define TYPE_ROUND_INFO 0 |
Definition at line 48 of file keccak256.cpp.
Definition at line 52 of file keccak256.cpp.
| void keccak_final | ( | SHA3_CTX * | ctx, |
| unsigned char * | result ) |
Store calculated hash into the given array.
| ctx | the algorithm context containing current hashing state |
| result | calculated hash in binary form |
Definition at line 220 of file keccak256.cpp.


| void keccak_init | ( | SHA3_CTX * | ctx | ) |
Definition at line 75 of file keccak256.cpp.

Calculate message hash. Can be called repeatedly with chunks of the message to be hashed.
| ctx | the algorithm context containing current hashing state |
| msg | message chunk |
| size | length of the message chunk |
Definition at line 175 of file keccak256.cpp.


| const uint8_t constants[] |
Definition at line 35 of file keccak256.cpp.