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

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_csx_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 cryptographic key. The nonce is always QSC_CSX_BLOCK_SIZE in length. More...

#include <csx.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_csx_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 cryptographic key. The nonce is always QSC_CSX_BLOCK_SIZE in length.

Field Documentation

◆ info

const uint8_t* info

The information tweak

◆ infolen

size_t infolen

The length in bytes of the information tweak

◆ key

const uint8_t* key

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: