Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
Dtls_cbc.c292 uint8_t hmac_pad[MAX_HASH_BLOCK_SIZE]; in EVP_tls_cbc_digest_record() local
398 memset(hmac_pad, 0, md_block_size); in EVP_tls_cbc_digest_record()
399 assert(mac_secret_length <= sizeof(hmac_pad)); in EVP_tls_cbc_digest_record()
400 memcpy(hmac_pad, mac_secret, mac_secret_length); in EVP_tls_cbc_digest_record()
402 hmac_pad[i] ^= 0x36; in EVP_tls_cbc_digest_record()
405 md_transform(md_state.c, hmac_pad); in EVP_tls_cbc_digest_record()
485 hmac_pad[i] ^= 0x6a; in EVP_tls_cbc_digest_record()
488 EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size); in EVP_tls_cbc_digest_record()