![]() |
![]() |
Struct containing the parameters required for authenticating/verifying additional data in a segmented operation. Must be updated for each add AAD step of a segmented operation. More...
#include <AESGCM.h>
Data Fields | |
| uint8_t * | aad |
| size_t | aadLength |
Struct containing the parameters required for authenticating/verifying additional data in a segmented operation. Must be updated for each add AAD step of a segmented operation.
| uint8_t* AESGCM_SegmentedAADOperation::aad |
A buffer of length aadLength containing additional authentication data to be authenticated/verified but not encrypted/decrypted.
| size_t AESGCM_SegmentedAADOperation::aadLength |
Length of the aad in bytes. Must be non-zero, multiple of the AES block size (16 bytes) unless the last chunk of AAD is being passed in. In that case, this value doesn't need to be an AES block-sized multiple.
For CC27XX devices with _HSM-suffixed key encoding, the aadLength must be block-size aligned.