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

Internal implementation of the GASCON permutation. More...

#include "internal-util.h"

Go to the source code of this file.

Data Structures

union  gascon_state_t
 Structure of the internal state of the GASCON permutation. More...
 

Functions

void gascon_permute (gascon_state_t *state, uint8_t first_round)
 Permutes the GASCON state. More...
 

Detailed Description

Internal implementation of the GASCON permutation.

Function Documentation

void gascon_permute ( gascon_state_t state,
uint8_t  first_round 
)

Permutes the GASCON state.

Parameters
stateThe GASCON state to be permuted.
first_roundThe first round (of 12) to be performed; 0, 4, or 6.

The input and output state will be in big-endian byte order.