Lightweight Cryptography Primitives
 All Data Structures Files Functions Variables Typedefs Macros Pages
Data Structures | Macros | Functions
internal-keccakp-400.h File Reference

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...
 

Detailed Description

Internal implementation of the Keccak-p[400] permutation.

Function Documentation

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.

Parameters
stateThe Keccak-p[400] state to be permuted.
roundsThe number of rounds to perform (up to 20).