|
Lightweight Cryptography Primitives
|
Masked version of the sLiSCP-light permutation. More...
#include "internal-masking.h"Go to the source code of this file.
Functions | |
| void | sliscp_light192_permute_masked (mask_uint32_t block[8]) |
| Performs the masked sLiSCP-light permutation on a 192-bit block. More... | |
| void | sliscp_light192_reduce_masked (mask_uint32_t block[8]) |
| Reduces masked 32-bit words into 24-bit words for sLiSCP-light-192. More... | |
| void | sliscp_light192_mask (mask_uint32_t output[8], const unsigned char input[24]) |
| Converts an unmasked sLiSCP-light-192 state into a masked state. More... | |
| void | sliscp_light192_unmask (unsigned char output[24], const mask_uint32_t input[8]) |
| Converts a masked sLiSCP-light-192 state into an unmasked state. More... | |
| void | sliscp_light256_permute_masked (mask_uint32_t block[8], unsigned rounds) |
| Performs the masked sLiSCP-light permutation on a 256-bit block. More... | |
| void | sliscp_light256_mask (mask_uint32_t output[8], const unsigned char input[32]) |
| Converts an unmasked sLiSCP-light-256 state into a masked state. More... | |
| void | sliscp_light256_unmask (unsigned char output[32], const mask_uint32_t input[8]) |
| Converts a masked sLiSCP-light-256 state into an unmasked state. More... | |
| void | sliscp_light320_permute_masked (mask_uint32_t block[10]) |
| Performs the masked sLiSCP-light permutation on a 320-bit block. More... | |
| void | sliscp_light320_mask (mask_uint32_t output[10], const unsigned char input[40]) |
| Converts an unmasked sLiSCP-light-320 state into a masked state. More... | |
| void | sliscp_light320_unmask (unsigned char output[40], const mask_uint32_t input[10]) |
| Converts a masked sLiSCP-light-320 state into an unmasked state. More... | |
Masked version of the sLiSCP-light permutation.
| void sliscp_light192_mask | ( | mask_uint32_t | output[8], |
| const unsigned char | input[24] | ||
| ) |
Converts an unmasked sLiSCP-light-192 state into a masked state.
| output | The output masked state in host byte order. |
| input | The input unmasked state, in big-endian byte order. |
| void sliscp_light192_permute_masked | ( | mask_uint32_t | block[8] | ) |
Performs the masked sLiSCP-light permutation on a 192-bit block.
| block | Points to the block to be permuted in host byte order. |
| void sliscp_light192_reduce_masked | ( | mask_uint32_t | block[8] | ) |
Reduces masked 32-bit words into 24-bit words for sLiSCP-light-192.
| block | Points to the block to be reduced. |
| void sliscp_light192_unmask | ( | unsigned char | output[24], |
| const mask_uint32_t | input[8] | ||
| ) |
Converts a masked sLiSCP-light-192 state into an unmasked state.
| output | The output unmasked state, in big-endian byte order. |
| input | The input masked state in host byte order. |
| void sliscp_light256_mask | ( | mask_uint32_t | output[8], |
| const unsigned char | input[32] | ||
| ) |
Converts an unmasked sLiSCP-light-256 state into a masked state.
| output | The output masked state in host byte order. |
| input | The input unmasked state, in big-endian byte order. |
| void sliscp_light256_permute_masked | ( | mask_uint32_t | block[8], |
| unsigned | rounds | ||
| ) |
Performs the masked sLiSCP-light permutation on a 256-bit block.
| block | Points to the block to be permuted in host byte order. |
| rounds | Number of rounds to be performed, usually 9 or 18. |
| void sliscp_light256_unmask | ( | unsigned char | output[32], |
| const mask_uint32_t | input[8] | ||
| ) |
Converts a masked sLiSCP-light-256 state into an unmasked state.
| output | The output unmasked state, in big-endian byte order. |
| input | The input masked state in host byte order. |
| void sliscp_light320_mask | ( | mask_uint32_t | output[10], |
| const unsigned char | input[40] | ||
| ) |
Converts an unmasked sLiSCP-light-320 state into a masked state.
| output | The output masked state in host byte order. |
| input | The input unmasked state, in big-endian byte order. |
| void sliscp_light320_permute_masked | ( | mask_uint32_t | block[10] | ) |
Performs the masked sLiSCP-light permutation on a 320-bit block.
| block | Points to the block to be permuted in host byte order. |
| void sliscp_light320_unmask | ( | unsigned char | output[40], |
| const mask_uint32_t | input[10] | ||
| ) |
Converts a masked sLiSCP-light-320 state into an unmasked state.
| output | The output unmasked state, in big-endian byte order. |
| input | The input masked state in host byte order. |
1.8.6