23 #ifndef ASCON_MASKING_H
24 #define ASCON_MASKING_H
void ascon_masked_key_128_free(ascon_masked_key_128_t *masked)
Frees a masked 128-bit key and destroys all sensitive material.
void ascon_masked_key_160_free(ascon_masked_key_160_t *masked)
Frees a masked 160-bit key and destroys all sensitive material.
void ascon_masked_key_128_init(ascon_masked_key_128_t *masked, const unsigned char *key)
Initializes a masked 128-bit key for ASCON.
void ascon_masked_key_160_extract(const ascon_masked_key_160_t *masked, unsigned char *key)
Extracts the plain version of a 160-bit key from its masked version.
void ascon_masked_key_128_extract(const ascon_masked_key_128_t *masked, unsigned char *key)
Extracts the plain version of a 128-bit key from its masked version.
void ascon_masked_key_160_randomize(ascon_masked_key_160_t *masked)
Randomizes a masked 160-bit key by mixing in fresh random material.
void ascon_masked_key_128_randomize(ascon_masked_key_128_t *masked)
Randomizes a masked 128-bit key by mixing in fresh random material.
void ascon_masked_key_160_init(ascon_masked_key_160_t *masked, const unsigned char *key)
Initializes a masked 160-bit key for ASCON.
128-bit key that has been masked to hide its value when the code is operating on it.
160-bit key that has been masked to hide its value when the code is operating on it.
Masked 64-bit key word with up to four shares.