QSC Post Quantum Cryptographic Library 1.3.0.0 (C1)
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 [248U]
size_t roundkeylen
size_t rounds
qsc_keccak_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 Keccak 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[248U]

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:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/rcs.h