AES-GCM block encryption.
int32_t aes_sync_gcm_auth_decrypt( struct aes_sync_descriptor *const descr, const uint8_t * input, uint8_t * output, uint32_t length, const uint8_t * iv, uint32_t iv_len, const uint8_t * aad, uint32_t aad_len, const uint8_t * tag, uint32_t tag_len )
The AES descriptor
Type: const uint8_t *
Buffer holding the input data
Type: uint8_t *
Buffer holding the output data
Type: uint32_t
Byte length of the input data
Type: const uint8_t *
Initialization Vector
Type: uint32_t
Length of IV
Type: const uint8_t *
Additional data
Type: uint32_t
Length of additional data
Type: const uint8_t *
Buffer holding the input data
Type: uint32_t
Length of tag
Type: int32_t
ERR_NONE if successful