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_keyparams Struct Reference

The key parameters structure containing key, nonce, and info arrays and lengths. More...

#include <rcs.h>

Data Fields

const uint8_t * key
size_t keylen
uint8_t * nonce
const uint8_t * info
size_t infolen

Detailed Description

The key parameters structure containing key, nonce, and info arrays and lengths.

Use this structure to load an input cipher-key and optional info tweak using the qsc_rcs_initialize function. Keys must be random and secret, and align to the corresponding key size of the cipher implemented. The info parameter is optional and can be a salt or secondary key. The nonce is always QSC_RCS_BLOCK_SIZE in length.

Field Documentation

◆ info

const uint8_t* info

[const] The information tweak.

◆ infolen

size_t infolen

The length in bytes of the information tweak.

◆ key

const uint8_t* key

[const] The input cipher key.

◆ keylen

size_t keylen

The length in bytes of the cipher key.

◆ nonce

uint8_t* nonce

The nonce or initialization vector.


The documentation for this struct was generated from the following file:
  • C:/Users/stepp/Documents/Visual Studio 2022/Projects/C/QSC/QSC/rcs.h