23 #ifndef LW_INTERNAL_TINYJAMBU_M_H
24 #define LW_INTERNAL_TINYJAMBU_M_H
40 #define TINY_JAMBU_MASKED_STATE_SIZE 4
50 #define TINYJAMBU_MASKED_ROUNDS(steps) ((steps) / 128)
70 const mask_uint32_t *key,
unsigned key_words,
unsigned rounds);
#define TINY_JAMBU_MASKED_STATE_SIZE
Size of the TinyJAMBU state in masked 32-bit words.
Definition: internal-tinyjambu-m.h:40
void tiny_jambu_permutation_masked(mask_uint32_t state[TINY_JAMBU_MASKED_STATE_SIZE], const mask_uint32_t *key, unsigned key_words, unsigned rounds)
Perform the TinyJAMBU permutation in masked form.
Definition: internal-tinyjambu-m.c:86
Utilities that help to implement masked ciphers.
Masked 32-bit word with four shares.
Definition: internal-masking.h:152