Home
last modified time | relevance | path

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

/u-boot/drivers/mmc/
A Drpmb.c193 unsigned char k_ipad[SHA256_BLOCK_SIZE]; in rpmb_hmac() local
208 k_ipad[i] = key[i] ^ 0x36; in rpmb_hmac()
213 k_ipad[i] = 0x36; in rpmb_hmac()
216 sha256_update(&ctx, k_ipad, SHA256_BLOCK_SIZE); in rpmb_hmac()
/u-boot/lib/
A Dsha1.c353 unsigned char k_ipad[64]; in sha1_hmac() local
357 memset (k_ipad, 0x36, 64); in sha1_hmac()
364 k_ipad[i] ^= key[i]; in sha1_hmac()
369 sha1_update (&ctx, k_ipad, 64); in sha1_hmac()
378 memset (k_ipad, 0, 64); in sha1_hmac()

Completed in 4 milliseconds