Struct containing the parameters required for encrypting/decrypting a message. More...
#include <AESCBC.h>
Data Fields | |
CryptoKey * | key |
const uint8_t * | input |
uint8_t * | output |
uint8_t * | iv |
size_t | inputLength |
bool | ivInternallyGenerated |
Struct containing the parameters required for encrypting/decrypting a message.
CryptoKey* AESCBC_Operation::key |
A previously initialized CryptoKey.
const uint8_t* AESCBC_Operation::input |
uint8_t* AESCBC_Operation::output |
uint8_t* AESCBC_Operation::iv |
A buffer containing an IV. IVs must be unique to each CBC operation and may not be reused. If ivInternallyGenerated is set, the iv will be generated by this function call and copied to this buffer.
size_t AESCBC_Operation::inputLength |
Length of the input and output in bytes.
bool AESCBC_Operation::ivInternallyGenerated |
When true, the iv buffer passed into AESCBC_oneStepEncrypt() functions will be overwritten with a randomly generated iv. Not supported by all implementations.