![]() |
![]() |
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 |
For cc27XX devices, when key encoding is _HSM suffixed, the output buffer needs to be 32-bit aligned.
| 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.
For CC27XX devices with _HSM-suffixed key encoding, the inputLength must be block-size aligned.