Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher_extra/
Dtls_cbc.c277 unsigned md_length_size = 8; in EVP_tls_cbc_digest_record() local
308 md_length_size = 16; in EVP_tls_cbc_digest_record()
319 assert(md_length_size <= MAX_HASH_BIT_COUNT_BYTES); 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()
364 size_t index_b = (mac_end_offset + md_length_size) / md_block_size; in EVP_tls_cbc_digest_record()
390 OPENSSL_memset(length_bytes, 0, md_length_size - 4); in EVP_tls_cbc_digest_record()
391 length_bytes[md_length_size - 4] = (uint8_t)(bits >> 24); in EVP_tls_cbc_digest_record()
392 length_bytes[md_length_size - 3] = (uint8_t)(bits >> 16); in EVP_tls_cbc_digest_record()
393 length_bytes[md_length_size - 2] = (uint8_t)(bits >> 8); in EVP_tls_cbc_digest_record()
394 length_bytes[md_length_size - 1] = (uint8_t)bits; in EVP_tls_cbc_digest_record()
[all …]