Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c274 unsigned md_size, md_block_size = 64; in EVP_tls_cbc_digest_record() local
307 md_block_size = 128; in EVP_tls_cbc_digest_record()
320 assert(md_block_size <= MAX_HASH_BLOCK_SIZE); in EVP_tls_cbc_digest_record()
342 (max_mac_bytes + 1 + md_length_size + md_block_size - 1) / md_block_size; in EVP_tls_cbc_digest_record()
358 size_t c = mac_end_offset % md_block_size; in EVP_tls_cbc_digest_record()
361 size_t index_a = mac_end_offset / md_block_size; in EVP_tls_cbc_digest_record()
364 size_t index_b = (mac_end_offset + md_length_size) / md_block_size; in EVP_tls_cbc_digest_record()
368 k = md_block_size * num_starting_blocks; in EVP_tls_cbc_digest_record()
376 bits += 8 * md_block_size; in EVP_tls_cbc_digest_record()
379 OPENSSL_memset(hmac_pad, 0, md_block_size); in EVP_tls_cbc_digest_record()
[all …]