Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c387 uint8_t hmac_pad[MAX_HASH_BLOCK_SIZE]; in EVP_tls_cbc_digest_record() local
388 OPENSSL_memset(hmac_pad, 0, md_block_size); in EVP_tls_cbc_digest_record()
389 assert(mac_secret_length <= sizeof(hmac_pad)); in EVP_tls_cbc_digest_record()
390 OPENSSL_memcpy(hmac_pad, mac_secret, mac_secret_length); in EVP_tls_cbc_digest_record()
392 hmac_pad[i] ^= 0x36; in EVP_tls_cbc_digest_record()
395 md_transform(&md_state, hmac_pad); in EVP_tls_cbc_digest_record()
480 hmac_pad[i] ^= 0x6a; in EVP_tls_cbc_digest_record()
483 EVP_DigestUpdate(&md_ctx, hmac_pad, md_block_size); in EVP_tls_cbc_digest_record()