Searched refs:k_ipad (Results 1 – 2 of 2) sorted by relevance
193 unsigned char k_ipad[SHA256_BLOCK_SIZE]; in rpmb_hmac() local208 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()
353 unsigned char k_ipad[64]; in sha1_hmac() local357 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