|
Lightweight Cryptography Primitives
|
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... | |
Masked implementation of the Xoodoo permutation.
| void xoodoo_mask | ( | mask_uint32_t | output[12], |
| const uint32_t | input[12] | ||
| ) |
Converts an unmasked Xoodoo state into a masked state.
| output | The output masked state in host byte order. |
| input | The input unmasked state, in little-endian byte order. |
| void xoodoo_permute_masked | ( | mask_uint32_t | state[12] | ) |
Permutes the masked Xoodoo state.
| state | The 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.
| output | The output unmasked state, in little-endian byte order. |
| input | The input masked state in host byte order. |
1.8.6