Home
last modified time | relevance | path

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

/external/u-boot/drivers/mmc/
Drpmb.c44 #define RPMB_SZ_MAC 32 macro
66 unsigned char mac[RPMB_SZ_MAC];
201 for (i = 0; i < RPMB_SZ_MAC; i++) { in rpmb_hmac()
221 sha256_update(&ctx, output, RPMB_SZ_MAC); in rpmb_hmac()
251 memcpy(rpmb_frame->mac, key, RPMB_SZ_MAC); in mmc_rpmb_set_key()
279 unsigned char ret_hmac[RPMB_SZ_MAC]; in mmc_rpmb_read()
282 if (memcmp(ret_hmac, rpmb_frame->mac, RPMB_SZ_MAC)) { in mmc_rpmb_read()