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 |
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.
const uint8_t* info |
The information tweak
size_t infolen |
The length in bytes of the information tweak
const uint8_t* key |
The input cipher key
size_t keylen |
The length in bytes of the cipher key
uint8_t* nonce |
The nonce or initialization vector