nrfxlib API 0.1.0
|
psa_status_t cc3xx_mac_verify_setup | ( | cc3xx_mac_operation_t * | operation, |
const psa_key_attributes_t * | attributes, | ||
const uint8_t * | key_buffer, | ||
size_t | key_buffer_size, | ||
psa_algorithm_t | alg | ||
) |
Setup a MAC verifying object.
[in] | operation | Pointer to the operation object |
[in] | attributes | Attributes for the key to be set |
[in] | key_buffer | Buffer holding key material |
[in] | key_buffer_size | Size in bytes of the key |
[in] | alg | Algorithm to setup |
PSA_SUCCESS | on success. Error code from psa_status_t on failure |