The internal state structure containing the round-key array. More...
#include <rcs.h>
Data Fields | |
rcs_cipher_type | ctype |
uint32_t | roundkeys [248] |
size_t | roundkeylen |
size_t | rounds |
qsc_qmac_state | kstate |
uint8_t | nonce [QSC_RCS_NONCE_SIZE] |
uint64_t | counter |
bool | encrypt |
The internal state structure containing the round-key array.
uint64_t counter |
The processed bytes counter.
rcs_cipher_type ctype |
The cipher type; RCS-256 or RCS-512.
bool encrypt |
The transformation mode; true for encryption.
qsc_qmac_state kstate |
The QMAC state structure.
uint8_t nonce[QSC_RCS_NONCE_SIZE] |
The nonce or initialization vector.
size_t roundkeylen |
The round-key array length.
uint32_t roundkeys[248] |
The round-keys 32-bit sub-key array.
size_t rounds |
The number of transformation rounds.