Loading...
Searching...
No Matches
PSA Wrapper Functions: MAC

Detailed Description

Files

file  psa_mac.h
 Function declarations for low level wrapper functions for MAC operations.
 

Functions

psa_status_t psa_mac_compute_hmac_sha256 (const psa_key_attributes_t *attributes, const uint8_t *key_buffer, size_t key_buffer_size, const uint8_t *input, size_t input_length, uint8_t *mac, size_t mac_size, size_t *mac_length)
 Low level wrapper function to call a driver for a HMAC SHA256 computation See psa_mac_compute()
 

Function Documentation

◆ psa_mac_compute_hmac_sha256()

psa_status_t psa_mac_compute_hmac_sha256 ( const psa_key_attributes_t attributes,
const uint8_t *  key_buffer,
size_t  key_buffer_size,
const uint8_t *  input,
size_t  input_length,
uint8_t *  mac,
size_t  mac_size,
size_t *  mac_length 
)

Low level wrapper function to call a driver for a HMAC SHA256 computation See psa_mac_compute()

Parameters
attributes
key_buffer
key_buffer_size
input
input_length
mac
mac_size
mac_length
Returns
psa_status_t