![]() |
![]() |
Struct containing the parameters required for encrypting/decrypting and a message. More...
#include <AESECB.h>

Data Fields | |
| CryptoKey * | key |
| uint8_t * | input |
| uint8_t * | output |
| size_t | inputLength |
Struct containing the parameters required for encrypting/decrypting and a message.
| CryptoKey* AESECB_Operation::key |
A previously initialized CryptoKey.
| uint8_t* AESECB_Operation::input |
Both input and output buffers should be of the size inputLength in bytes each.
| uint8_t* AESECB_Operation::output |
Both input and output buffers should be of the size inputLength in bytes each.
For CC27XX devices with _HSM-suffixed key encoding, the output buffer needs to be 32-bit aligned.
| size_t AESECB_Operation::inputLength |
The output will be the same length as the input. Max length supported may be limited depending on the return behavior.
Must be a non-zero multiple of AES block size (16 bytes). May be 0 only when calling AESECB_finalize() to finalize a multi-step operation without additional data. The user or application should take care of any necessary padding.