Struct containing the parameters required for encrypting/decrypting a message using a segmented operation. This struct must be updated for each "add data" and "finalize" step. Modifying the structure and any buffers that it points to while an operation is in progress is prohibited. More...
#include <AESCTR.h>
Data Fields | |
const uint8_t * | input |
uint8_t * | output |
size_t | inputLength |
Struct containing the parameters required for encrypting/decrypting a message using a segmented operation. This struct must be updated for each "add data" and "finalize" step. Modifying the structure and any buffers that it points to while an operation is in progress is prohibited.
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_SegmentedOperation::input |
uint8_t* AESCTR_SegmentedOperation::output |
size_t AESCTR_SegmentedOperation::inputLength |
Length of the input in bytes. An equal number of bytes will be output by the operation. Must be a non-zero multiple of block size (16-bytes) when calling AESCTR_addData(). May be zero when calling AESCTR_finalize() to finalize a segmented operation without additional data.