Searched refs:hmac_pad (Results 1 - 2 of 2) sorted by relevance
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl-1.0.2h/ssl/ |
H A D | s3_cbc.c | 438 /* hmac_pad is the masked HMAC key. */ 439 unsigned char hmac_pad[MAX_HASH_BLOCK_SIZE]; local 624 memset(hmac_pad, 0, md_block_size); 625 OPENSSL_assert(mac_secret_length <= sizeof(hmac_pad)); 626 memcpy(hmac_pad, mac_secret, mac_secret_length); 628 hmac_pad[i] ^= 0x36; 630 md_transform(md_state.c, hmac_pad); 746 /* We repurpose |hmac_pad| to contain the SSLv3 pad2 block. */ 747 memset(hmac_pad, 0x5c, sslv3_pad_length); 750 || EVP_DigestUpdate(&md_ctx, hmac_pad, sslv3_pad_lengt [all...] |
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/openssl/ssl/ |
H A D | s3_cbc.c | 438 /* hmac_pad is the masked HMAC key. */ 439 unsigned char hmac_pad[MAX_HASH_BLOCK_SIZE]; local 624 memset(hmac_pad, 0, md_block_size); 625 OPENSSL_assert(mac_secret_length <= sizeof(hmac_pad)); 626 memcpy(hmac_pad, mac_secret, mac_secret_length); 628 hmac_pad[i] ^= 0x36; 630 md_transform(md_state.c, hmac_pad); 746 /* We repurpose |hmac_pad| to contain the SSLv3 pad2 block. */ 747 memset(hmac_pad, 0x5c, sslv3_pad_length); 750 || EVP_DigestUpdate(&md_ctx, hmac_pad, sslv3_pad_lengt [all...] |
Completed in 104 milliseconds