Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
Dtls_cbc.c286 unsigned md_size, md_block_size = 64; in EVP_tls_cbc_digest_record() local
328 md_block_size = 128; in EVP_tls_cbc_digest_record()
341 assert(md_block_size <= MAX_HASH_BLOCK_SIZE); in EVP_tls_cbc_digest_record()
363 (max_mac_bytes + 1 + md_length_size + md_block_size - 1) / md_block_size; in EVP_tls_cbc_digest_record()
379 c = mac_end_offset % md_block_size; in EVP_tls_cbc_digest_record()
382 index_a = mac_end_offset / md_block_size; in EVP_tls_cbc_digest_record()
385 index_b = (mac_end_offset + md_length_size) / md_block_size; in EVP_tls_cbc_digest_record()
391 k = md_block_size * num_starting_blocks; in EVP_tls_cbc_digest_record()
397 bits += 8 * md_block_size; in EVP_tls_cbc_digest_record()
398 memset(hmac_pad, 0, md_block_size); in EVP_tls_cbc_digest_record()
[all …]