Lightweight Cryptography Primitives
|
Internal implementation of the Keccak-p[400] permutation. More...
#include "internal-util.h"
Go to the source code of this file.
Data Structures | |
union | keccakp_400_state_t |
Structure of the internal state of the Keccak-p[400] permutation. More... | |
Macros | |
#define | KECCAKP_400_STATE_SIZE 50 |
Size of the state for the Keccak-p[400] permutation. | |
Functions | |
void | keccakp_400_permute (keccakp_400_state_t *state, unsigned rounds) |
Permutes the Keccak-p[400] state, which is assumed to be in little-endian byte order. More... | |
Internal implementation of the Keccak-p[400] permutation.
void keccakp_400_permute | ( | keccakp_400_state_t * | state, |
unsigned | rounds | ||
) |
Permutes the Keccak-p[400] state, which is assumed to be in little-endian byte order.
state | The Keccak-p[400] state to be permuted. |
rounds | The number of rounds to perform (up to 20). |