Home
last modified time | relevance | path

Searched refs:mac (Results 1 – 3 of 3) sorted by relevance

/optee_client/tee-supplicant/src/
A Dhmac_sha2.c103 void hmac_sha256_final(hmac_sha256_ctx *ctx, unsigned char *mac, in hmac_sha256_final() argument
112 memcpy(mac, mac_temp, mac_size); in hmac_sha256_final()
117 unsigned char *mac, unsigned mac_size) in hmac_sha256() argument
125 hmac_sha256_final(&ctx, mac, mac_size); in hmac_sha256()
A Dhmac_sha2.h63 void hmac_sha256_final(hmac_sha256_ctx *ctx, unsigned char *mac,
67 unsigned char *mac, unsigned mac_size);
A Drpmb.c320 uint8_t mac[32] = { 0 }; in is_hmac_valid() local
335 hmac_sha256_final(&ctx, mac, 32); in is_hmac_valid()
337 if (memcmp(mac, frm->key_mac, 32)) { in is_hmac_valid()

Completed in 5 milliseconds