11.12.3.4.224. Function sss_mac_one_go¶
Defined in File fsl_sss_api.h
11.12.3.4.224.1. Function Documentation¶
-
sss_status_t
sss_mac_one_go
(sss_mac_t *context, const uint8_t *message, size_t messageLen, uint8_t *mac, size_t *macLen)¶ Message MAC in one blocking function call. The function blocks current thread until the operation completes or an error occurs.
- Return
Status of the operation
- Parameters
context
: Pointer to mac context.message
: Input messagemessageLen
: Length of the input message in bytesmac
: Output message MACmacLen
: Computed MAC byte length
- Return Value
kStatus_SSS_Success
: The operation has completed successfully.kStatus_SSS_Fail
: The operation has failed.