Home
last modified time | relevance | path

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

/external/tcpdump/
Dsignature.c54 unsigned char k_ipad[65]; /* inner padding - key XORd with ipad */ in signature_compute_hmac_md5() local
84 memset(k_ipad, 0, sizeof k_ipad); in signature_compute_hmac_md5()
86 memcpy(k_ipad, key, key_len); in signature_compute_hmac_md5()
91 k_ipad[i] ^= 0x36; in signature_compute_hmac_md5()
99 MD5_Update(&context, k_ipad, 64); /* start with inner pad */ in signature_compute_hmac_md5()
/external/u-boot/drivers/mmc/
Drpmb.c187 unsigned char k_ipad[SHA256_BLOCK_SIZE]; in rpmb_hmac() local
202 k_ipad[i] = key[i] ^ 0x36; in rpmb_hmac()
207 k_ipad[i] = 0x36; in rpmb_hmac()
210 sha256_update(&ctx, k_ipad, SHA256_BLOCK_SIZE); in rpmb_hmac()
/external/u-boot/lib/
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()