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

Masked implementation of the Xoodoo permutation. More...

#include "internal-masking.h"

Go to the source code of this file.

Functions

void xoodoo_permute_masked (mask_uint32_t state[12])
 Permutes the masked Xoodoo state. More...
 
void xoodoo_mask (mask_uint32_t output[12], const uint32_t input[12])
 Converts an unmasked Xoodoo state into a masked state. More...
 
void xoodoo_unmask (uint32_t output[12], const mask_uint32_t input[12])
 Converts a masked Xoodoo state into an unmasked state. More...
 

Detailed Description

Masked implementation of the Xoodoo permutation.

Function Documentation

void xoodoo_mask ( mask_uint32_t  output[12],
const uint32_t  input[12] 
)

Converts an unmasked Xoodoo state into a masked state.

Parameters
outputThe output masked state in host byte order.
inputThe input unmasked state, in little-endian byte order.
void xoodoo_permute_masked ( mask_uint32_t  state[12])

Permutes the masked Xoodoo state.

Parameters
stateThe masked Xoodoo state.

The state will be in host byte order before and after the operation.

void xoodoo_unmask ( uint32_t  output[12],
const mask_uint32_t  input[12] 
)

Converts a masked Xoodoo state into an unmasked state.

Parameters
outputThe output unmasked state, in little-endian byte order.
inputThe input masked state in host byte order.