Key parameters for the ChaCha20 cipher. More...
#include <chacha.h>
Data Fields | |
const uint8_t * | key |
size_t | keylen |
uint8_t * | nonce |
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.
const uint8_t* key |
[const uint8_t*] Pointer to the secret key.
size_t keylen |
[size_t] Length of the secret key in bytes.
uint8_t* nonce |
[uint8_t*] Pointer to the nonce (initialization vector).