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

Internal implementation of the Spongent-pi permutation. More...

#include "internal-util.h"

Go to the source code of this file.

Data Structures

union  spongent160_state_t
 Structure of the internal state of the Spongent-pi[160] permutation. More...
 
union  spongent176_state_t
 Structure of the internal state of the Spongent-pi[176] permutation. More...
 

Macros

#define SPONGENT160_STATE_SIZE   20
 Size of the Spongent-pi[160] state in bytes.
 
#define SPONGENT176_STATE_SIZE   22
 Size of the Spongent-pi[176] state in bytes.
 

Functions

void spongent160_permute (spongent160_state_t *state)
 Permutes the Spongent-pi[160] state. More...
 
void spongent176_permute (spongent176_state_t *state)
 Permutes the Spongent-pi[176] state. More...
 

Detailed Description

Internal implementation of the Spongent-pi permutation.

References: https://www.esat.kuleuven.be/cosic/elephant/

Function Documentation

void spongent160_permute ( spongent160_state_t state)

Permutes the Spongent-pi[160] state.

Parameters
stateThe Spongent-pi[160] state to be permuted.
void spongent176_permute ( spongent176_state_t state)

Permutes the Spongent-pi[176] state.

Parameters
stateThe Spongent-pi[176] state to be permuted.