Home
last modified time | relevance | path

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

/third_party/openssl/ssl/
Ds3_cbc.c151 unsigned char hmac_pad[MAX_HASH_BLOCK_SIZE]; in ssl3_cbc_digest_record() local
336 memset(hmac_pad, 0, md_block_size); in ssl3_cbc_digest_record()
337 if (!ossl_assert(mac_secret_length <= sizeof(hmac_pad))) in ssl3_cbc_digest_record()
339 memcpy(hmac_pad, mac_secret, mac_secret_length); in ssl3_cbc_digest_record()
341 hmac_pad[i] ^= 0x36; in ssl3_cbc_digest_record()
343 md_transform(md_state.c, hmac_pad); in ssl3_cbc_digest_record()
462 memset(hmac_pad, 0x5c, sslv3_pad_length); in ssl3_cbc_digest_record()
465 || EVP_DigestUpdate(md_ctx, hmac_pad, sslv3_pad_length) <= 0 in ssl3_cbc_digest_record()
471 hmac_pad[i] ^= 0x6a; in ssl3_cbc_digest_record()
473 if (EVP_DigestUpdate(md_ctx, hmac_pad, md_block_size) <= 0 in ssl3_cbc_digest_record()