23 #ifndef LW_INTERNAL_KNOT_M_H
24 #define LW_INTERNAL_KNOT_M_H
void knot256_masked_permute_6(knot256_masked_state_t *state, uint8_t rounds)
Permutes the KNOT-256 state, using 6-bit round constants.
Definition: internal-knot-m.c:179
void knot512_masked_permute_8(knot512_masked_state_t *state, uint8_t rounds)
Permutes the KNOT-512 state, using 8-bit round constants.
Definition: internal-knot-m.c:504
void knot256_masked_permute_7(knot256_masked_state_t *state, uint8_t rounds)
Permutes the KNOT-256 state, using 7-bit round constants.
Definition: internal-knot-m.c:184
Internal state of the masked KNOT-384 permutation.
Definition: internal-knot-m.h:52
Utilities that help to implement masked ciphers.
void knot384_mask(knot384_masked_state_t *output, const uint32_t input[12])
Converts an unmasked KNOT-384 state into a masked state.
Definition: internal-knot-m.c:353
Masked 32-bit word with four shares.
Definition: internal-masking.h:152
void knot256_unmask(uint64_t output[4], const knot256_masked_state_t *input)
Converts a masked KNOT-256 state into an unmasked state.
Definition: internal-knot-m.c:204
Internal state of the masked KNOT-512 permutation.
Definition: internal-knot-m.h:62
void knot384_unmask(uint32_t output[12], const knot384_masked_state_t *input)
Converts a masked KNOT-384 state into an unmasked state.
Definition: internal-knot-m.c:376
Internal state of the masked KNOT-256 permutation.
Definition: internal-knot-m.h:40
Masked 64-bit word with four shares.
Definition: internal-masking.h:212
void knot512_masked_permute_7(knot512_masked_state_t *state, uint8_t rounds)
Permutes the KNOT-512 state, using 7-bit round constants.
Definition: internal-knot-m.c:499
void knot512_mask(knot512_masked_state_t *output, const uint64_t input[8])
Converts an unmasked KNOT-512 state into a masked state.
Definition: internal-knot-m.c:509
void knot256_mask(knot256_masked_state_t *output, const uint64_t input[4])
Converts an unmasked KNOT-256 state into a masked state.
Definition: internal-knot-m.c:189
void knot384_masked_permute_7(knot384_masked_state_t *state, uint8_t rounds)
Permutes the KNOT-384 state, using 7-bit round constants.
Definition: internal-knot-m.c:219
void knot512_unmask(uint64_t output[8], const knot512_masked_state_t *input)
Converts a masked KNOT-512 state into an unmasked state.
Definition: internal-knot-m.c:532