12.1.2.20 aes_sync_gcm_finish
AES-GCM block finish.
int32_t aes_sync_gcm_finish(
struct aes_sync_descriptor *const descr,
uint8_t * tag,
uint32_t tag_len
)
Parameters
- descr
-
Type: struct aes_sync_descriptor Struct *const
The AES descriptor
- tag
-
Type: uint8_t *
Buffer holding the input data
- tag_len
-
Type: uint32_t
Length of tag
Returns
Type: int32_t
ERR_NONE if successful