ASCON Suite
Public Attributes | List of all members
ascon_masked_key_160_t Struct Reference

160-bit key that has been masked to hide its value when the code is operating on it. More...

#include <masking.h>

Public Attributes

ascon_masked_key_word_t k [6]
 

Detailed Description

160-bit key that has been masked to hide its value when the code is operating on it.

ASCON-80pq absorbs the key into state words at both offset 0 and 4. This requires the key to be masked twice for the two offset values to avoid additional word rotations when the key is used.

This structure should be treated as opaque. The number of shares used, the bit ordering, and the method of masking is determined by the library.

The application can copy the entire contents of this structure as-is to non-volatile memory to preserve the masked form of the key. It is not possible to transport such keys between systems because of different numbers of shares and bit ordering issues.

Definition at line 84 of file masking.h.

Member Data Documentation

◆ k

ascon_masked_key_word_t ascon_masked_key_160_t::k[6]

Masked words of the key

Definition at line 86 of file masking.h.


The documentation for this struct was generated from the following file: