Lightweight Cryptography Primitives
|
Masked version of the GIMLI-24 permutation. More...
#include "internal-masking.h"
Go to the source code of this file.
Functions | |
void | gimli24_permute_masked (mask_uint32_t state[12]) |
Permutes the masked GIMLI-24 state. More... | |
void | gimli24_mask (mask_uint32_t output[12], const uint32_t input[12]) |
Converts an unmasked GIMLI-24 state into a masked state. More... | |
void | gimli24_unmask (uint32_t output[12], const mask_uint32_t input[12]) |
Converts a masked GIMLI-24 state into an unmasked state. More... | |
Masked version of the GIMLI-24 permutation.
Note: This implementation is experimental.
References: https://gimli.cr.yp.to/
void gimli24_mask | ( | mask_uint32_t | output[12], |
const uint32_t | input[12] | ||
) |
Converts an unmasked GIMLI-24 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 gimli24_permute_masked | ( | mask_uint32_t | state[12] | ) |
Permutes the masked GIMLI-24 state.
state | The masked GIMLI-24 state to be permuted. |
The input and output state are in host byte order.
void gimli24_unmask | ( | uint32_t | output[12], |
const mask_uint32_t | input[12] | ||
) |
Converts a masked GIMLI-24 state into an unmasked state.
output | The output unmasked state, in little-endian byte order. |
input | The input masked state in host byte order. |