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

Structure for AES key parameters. More...

#include <aes.h>

Data Fields

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

Detailed Description

Structure for AES key parameters.

This structure contains pointers to the key, nonce, and optional info data used to initialize the AES cipher ctx.

Note
The key must be random and secret. The info field is optional (e.g., a salt).

Field Documentation

◆ info

const uint8_t* info

[const] Pointer to the optional information tweak

◆ infolen

size_t infolen

[size_t] Length (in bytes) of the information tweak

◆ key

const uint8_t* key

[const] Pointer to the input cipher key

◆ keylen

size_t keylen

[size_t] Length (in bytes) of the cipher key

◆ nonce

uint8_t* nonce

[uint8_t*] Pointer to the nonce or initialization vector

◆ noncelen

size_t noncelen

[size_t] Length (in bytes) of the nonce


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