Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher/
Dtls_cbc.c150 unsigned rotate_offset; in EVP_tls_cbc_copy_mac() local
173 rotate_offset = (div_spoiler + mac_start - scan_start) % md_size; in EVP_tls_cbc_copy_mac()
189 ((volatile uint8_t *)rotated_mac)[rotate_offset ^ 32]; in EVP_tls_cbc_copy_mac()
190 out[j++] = rotated_mac[rotate_offset++]; in EVP_tls_cbc_copy_mac()
191 rotate_offset &= constant_time_lt(rotate_offset, md_size); in EVP_tls_cbc_copy_mac()
195 rotate_offset = md_size - rotate_offset; in EVP_tls_cbc_copy_mac()
196 rotate_offset &= constant_time_lt(rotate_offset, md_size); in EVP_tls_cbc_copy_mac()
199 out[j] |= rotated_mac[i] & constant_time_eq_8(j, rotate_offset); in EVP_tls_cbc_copy_mac()
201 rotate_offset++; in EVP_tls_cbc_copy_mac()
202 rotate_offset &= constant_time_lt(rotate_offset, md_size); in EVP_tls_cbc_copy_mac()