Keccak-f[1600]
Usage
crypto_core_keccak1600_state state;
/* Initialize */
crypto_core_keccak1600_init(&state);
/* Absorb: XOR data into state and permute */
crypto_core_keccak1600_xor_bytes(&state, input, 0, input_len);
crypto_core_keccak1600_permute_24(&state);
/* Squeeze: extract output from state */
crypto_core_keccak1600_extract_bytes(&state, output, 0, output_len);State
Initialization
Absorbing data
Extracting output
Permutations
Building a sponge
Notes
Last updated