![]() |
nRF Connect SDK API 3.3.99
|
| psa_status_t cracen_mac_sign_setup | ( | cracen_mac_operation_t * | operation, |
| const psa_key_attributes_t * | attributes, | ||
| const uint8_t * | key_buffer, | ||
| size_t | key_buffer_size, | ||
| psa_algorithm_t | alg ) |
#include <subsys/nrf_security/src/drivers/cracen/cracenpsa/include/cracen_psa_mac.h>
Set up a MAC signing operation.
| [in,out] | operation | MAC operation context. |
| [in] | attributes | Key attributes. |
| [in] | key_buffer | Key material buffer. |
| [in] | key_buffer_size | Size of the key buffer in bytes. |
| [in] | alg | MAC algorithm. |
| PSA_SUCCESS | The operation completed successfully. |
| PSA_ERROR_NOT_SUPPORTED | The algorithm is not supported. |