Searched refs:mac (Results 1 – 3 of 3) sorted by relevance
/optee_client/tee-supplicant/src/ |
A D | hmac_sha2.c | 103 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 D | hmac_sha2.h | 63 void hmac_sha256_final(hmac_sha256_ctx *ctx, unsigned char *mac, 67 unsigned char *mac, unsigned mac_size);
|
A D | rpmb.c | 320 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