Home
last modified time | relevance | path

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

/external/boringssl/src/crypto/cipher_extra/
De_ssl3.c184 size_t early_mac_len = (block_size - (in_len % block_size)) % block_size; in aead_ssl3_seal_scatter() local
185 if (early_mac_len != 0) { in aead_ssl3_seal_scatter()
186 assert(len + block_size - early_mac_len == in_len); in aead_ssl3_seal_scatter()
190 (int)early_mac_len)) { in aead_ssl3_seal_scatter()
194 OPENSSL_memcpy(out + len, buf, block_size - early_mac_len); in aead_ssl3_seal_scatter()
195 OPENSSL_memcpy(out_tag, buf + block_size - early_mac_len, early_mac_len); in aead_ssl3_seal_scatter()
197 size_t tag_len = early_mac_len; in aead_ssl3_seal_scatter()
De_tls.c176 size_t early_mac_len = (block_size - (in_len % block_size)) % block_size; in aead_tls_seal_scatter() local
177 if (early_mac_len != 0) { in aead_tls_seal_scatter()
178 assert(len + block_size - early_mac_len == in_len); in aead_tls_seal_scatter()
182 (int)early_mac_len)) { in aead_tls_seal_scatter()
186 OPENSSL_memcpy(out + len, buf, block_size - early_mac_len); in aead_tls_seal_scatter()
187 OPENSSL_memcpy(out_tag, buf + block_size - early_mac_len, early_mac_len); in aead_tls_seal_scatter()
189 size_t tag_len = early_mac_len; in aead_tls_seal_scatter()