Searched refs:k_opad (Results 1 – 3 of 3) sorted by relevance
/external/tcpdump/ |
D | signature.c | 55 unsigned char k_opad[65]; /* outer padding - key XORd with opad */ in signature_compute_hmac_md5() local 85 memset(k_opad, 0, sizeof k_opad); in signature_compute_hmac_md5() 87 memcpy(k_opad, key, key_len); in signature_compute_hmac_md5() 92 k_opad[i] ^= 0x5c; in signature_compute_hmac_md5() 107 MD5_Update(&context, k_opad, 64); /* start with outer pad */ in signature_compute_hmac_md5()
|
/external/u-boot/drivers/mmc/ |
D | rpmb.c | 188 unsigned char k_opad[SHA256_BLOCK_SIZE]; in rpmb_hmac() local 203 k_opad[i] = key[i] ^ 0x5c; in rpmb_hmac() 208 k_opad[i] = 0x5c; in rpmb_hmac() 218 sha256_update(&ctx, k_opad, SHA256_BLOCK_SIZE); in rpmb_hmac()
|
/external/u-boot/lib/ |
D | sha1.c | 354 unsigned char k_opad[64]; in sha1_hmac() local 358 memset (k_opad, 0x5C, 64); in sha1_hmac() 365 k_opad[i] ^= key[i]; in sha1_hmac() 374 sha1_update (&ctx, k_opad, 64); in sha1_hmac() 379 memset (k_opad, 0, 64); in sha1_hmac()
|