Home
last modified time | relevance | path

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

/external/chromium_org/third_party/boringssl/src/ssl/
Ds3_cbc.c401 unsigned md_size, md_block_size = 64; in ssl3_cbc_digest_record() local
440 md_block_size = 128; in ssl3_cbc_digest_record()
454 assert(md_block_size <= MAX_HASH_BLOCK_SIZE); in ssl3_cbc_digest_record()
493 num_blocks = (max_mac_bytes + 1 + md_length_size + md_block_size - 1) / md_block_size; in ssl3_cbc_digest_record()
509 c = mac_end_offset % md_block_size; in ssl3_cbc_digest_record()
512 index_a = mac_end_offset / md_block_size; in ssl3_cbc_digest_record()
515 index_b = (mac_end_offset + md_length_size) / md_block_size; in ssl3_cbc_digest_record()
525 k = md_block_size*num_starting_blocks; in ssl3_cbc_digest_record()
534 bits += 8*md_block_size; in ssl3_cbc_digest_record()
535 memset(hmac_pad, 0, md_block_size); in ssl3_cbc_digest_record()
[all …]
/external/openssl/ssl/
Ds3_cbc.c416 unsigned md_size, md_block_size = 64; in ssl3_cbc_digest_record() local
473 md_block_size = 128; in ssl3_cbc_digest_record()
481 md_block_size = 128; in ssl3_cbc_digest_record()
496 OPENSSL_assert(md_block_size <= MAX_HASH_BLOCK_SIZE); in ssl3_cbc_digest_record()
535 num_blocks = (max_mac_bytes + 1 + md_length_size + md_block_size - 1) / md_block_size; in ssl3_cbc_digest_record()
551 c = mac_end_offset % md_block_size; in ssl3_cbc_digest_record()
554 index_a = mac_end_offset / md_block_size; in ssl3_cbc_digest_record()
557 index_b = (mac_end_offset + md_length_size) / md_block_size; in ssl3_cbc_digest_record()
567 k = md_block_size*num_starting_blocks; in ssl3_cbc_digest_record()
576 bits += 8*md_block_size; in ssl3_cbc_digest_record()
[all …]