Home
last modified time | relevance | path

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

/openssl/ssl/record/methods/
H A Dssl3_cbc.c149 unsigned char hmac_pad[MAX_HASH_BLOCK_SIZE]; in ssl3_cbc_digest_record() local
334 memset(hmac_pad, 0, md_block_size); in ssl3_cbc_digest_record()
335 if (!ossl_assert(mac_secret_length <= sizeof(hmac_pad))) in ssl3_cbc_digest_record()
337 memcpy(hmac_pad, mac_secret, mac_secret_length); in ssl3_cbc_digest_record()
339 hmac_pad[i] ^= 0x36; in ssl3_cbc_digest_record()
341 md_transform(md_state.c, hmac_pad); in ssl3_cbc_digest_record()
463 memset(hmac_pad, 0x5c, sslv3_pad_length); in ssl3_cbc_digest_record()
466 || EVP_DigestUpdate(md_ctx, hmac_pad, sslv3_pad_length) <= 0 in ssl3_cbc_digest_record()
472 hmac_pad[i] ^= 0x6a; in ssl3_cbc_digest_record()
474 if (EVP_DigestUpdate(md_ctx, hmac_pad, md_block_size) <= 0 in ssl3_cbc_digest_record()

Completed in 12 milliseconds