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

Internal implementation of the PHOTON-256 permutation. More...

Go to the source code of this file.

Macros

#define PHOTON256_STATE_SIZE   32
 Size of the PHOTON-256 permutation state in bytes.
 

Functions

void photon256_permute (unsigned char state[PHOTON256_STATE_SIZE])
 Permutes the PHOTON-256 state. More...
 

Detailed Description

Internal implementation of the PHOTON-256 permutation.

Warning: The current implementation of PHOTON-256 is constant-time but not constant-cache.

Function Documentation

void photon256_permute ( unsigned char  state[PHOTON256_STATE_SIZE])

Permutes the PHOTON-256 state.

Parameters
stateThe state to be permuted.