Struct containing the parameters required for encrypting/decrypting a message using a one-step operation. More...
#include <AESCTR.h>
Data Fields | |
const CryptoKey * | key |
const uint8_t * | input |
uint8_t * | output |
const uint8_t * | initialCounter |
size_t | inputLength |
Struct containing the parameters required for encrypting/decrypting a message using a one-step operation.
The driver may access it at any point during the operation. It must remain in scope for the entire duration of the operation.
const uint8_t* AESCTR_OneStepOperation::input |
uint8_t* AESCTR_OneStepOperation::output |
const uint8_t* AESCTR_OneStepOperation::initialCounter |
A buffer containing an initial counter. Under the same key, each counter value may only be used to encrypt or decrypt a single input block. If NULL, zero will be used for the initial counter value. The buffer's size must be at least 16-bytes.
size_t AESCTR_OneStepOperation::inputLength |
Length of the input in bytes. An equal number of bytes will be output by the operation. Max length supported may be limited depending on the return behavior.