nrfxlib API 0.1.0
Loading...
Searching...
No Matches

◆ cc3xx_mac_verify_finish()

psa_status_t cc3xx_mac_verify_finish ( cc3xx_mac_operation_t operation,
const uint8_t *  mac,
size_t  mac_length 
)

Finalize a MAC verifying operation by checking the produced MAC matches with the reference MAC value.

Parameters
[in]operationPointer to the operation object
[in]macBuffer holding the reference MAC value to verify
[in]mac_lengthSize in bytes of the mac buffer
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure