nrfxlib API 2.8.99
|
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.
[in] | operation | Pointer to the operation object |
[in] | mac | Buffer holding the reference MAC value to verify |
[in] | mac_length | Size in bytes of the mac buffer |
PSA_SUCCESS | on success. Error code from psa_status_t on failure |