nrfxlib API 2.8.99
Loading...
Searching...
No Matches

◆ cc3xx_mac_sign_setup()

psa_status_t cc3xx_mac_sign_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 signing object.

Parameters
[in]operationPointer to the operation object
[in]attributesAttributes for the key to be set
[in]key_bufferBuffer holding key material
[in]key_buffer_sizeSize in bytes of the key
[in]algAlgorithm to setup
Return values
PSA_SUCCESSon success. Error code from psa_status_t on failure