QSC Post Quantum Cryptographic Library 1.0.0.6c (A6)
A post quantum secure library written in Ansi C
 
Loading...
Searching...
No Matches
qsc_rcs_state Struct Reference

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
 

Detailed Description

The internal state structure containing the round-key array.

Field Documentation

◆ counter

uint64_t counter

The processed bytes counter.

◆ ctype

The cipher type; RCS-256 or RCS-512.

◆ encrypt

bool encrypt

The transformation mode; true for encryption.

◆ kstate

The QMAC state structure.

◆ nonce

uint8_t nonce[QSC_RCS_NONCE_SIZE]

The nonce or initialization vector.

◆ roundkeylen

size_t roundkeylen

The round-key array length.

◆ roundkeys

uint32_t roundkeys[248]

The round-keys 32-bit sub-key array.

◆ rounds

size_t rounds

The number of transformation rounds.


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