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

Key parameters for the ChaCha20 cipher. More...

#include <chacha.h>

Data Fields

const uint8_t * key
 
size_t keylen
 
uint8_t * nonce
 

Detailed Description

Key parameters for the ChaCha20 cipher.

Contains the secret key and nonce used to initialize the cipher. The key must be either 16 or 32 bytes in length, and the nonce must be 12 bytes.

Field Documentation

◆ key

const uint8_t* key

[const uint8_t*] Pointer to the secret key.

◆ keylen

size_t keylen

[size_t] Length of the secret key in bytes.

◆ nonce

uint8_t* nonce

[uint8_t*] Pointer to the nonce (initialization vector).


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