Searched refs:k_opad (Results 1 – 2 of 2) sorted by relevance
/external/dhcpcd-6.8.2/crypt/ |
D | hmac_md5.c | 52 uint8_t k_ipad[HMAC_PAD_LEN], k_opad[HMAC_PAD_LEN]; in hmac_md5() local 68 memcpy(k_opad, key, key_len); in hmac_md5() 70 memset(k_opad + key_len, 0, sizeof(k_opad) - key_len); in hmac_md5() 75 k_opad[i] ^= OPAD; in hmac_md5() 86 MD5Update(&context, k_opad, HMAC_PAD_LEN); in hmac_md5()
|
/external/tcpdump/ |
D | signature.c | 54 unsigned char k_opad[65]; /* outer padding - key XORd with opad */ in signature_compute_hmac_md5() local 84 memset(k_opad, 0, sizeof k_opad); in signature_compute_hmac_md5() 86 memcpy(k_opad, key, key_len); in signature_compute_hmac_md5() 91 k_opad[i] ^= 0x5c; in signature_compute_hmac_md5() 106 MD5_Update(&context, k_opad, 64); /* start with outer pad */ in signature_compute_hmac_md5()
|