Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
Dtls_cbc.c299 unsigned md_length_size = 8; in EVP_tls_cbc_digest_record() local
329 md_length_size = 16; in EVP_tls_cbc_digest_record()
340 assert(md_length_size <= MAX_HASH_BIT_COUNT_BYTES); 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()
385 index_b = (mac_end_offset + md_length_size) / md_block_size; in EVP_tls_cbc_digest_record()
407 memset(length_bytes, 0, md_length_size - 4); in EVP_tls_cbc_digest_record()
408 length_bytes[md_length_size - 4] = (uint8_t)(bits >> 24); in EVP_tls_cbc_digest_record()
409 length_bytes[md_length_size - 3] = (uint8_t)(bits >> 16); in EVP_tls_cbc_digest_record()
410 length_bytes[md_length_size - 2] = (uint8_t)(bits >> 8); in EVP_tls_cbc_digest_record()
411 length_bytes[md_length_size - 1] = (uint8_t)bits; in EVP_tls_cbc_digest_record()
[all …]