Home
last modified time | relevance | path

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

/external/boringssl/src/ssl/
Ds3_pkt.c155 align = (uintptr_t)rb->buf + SSL3_RT_HEADER_LENGTH; in ssl3_read_n()
162 } else if (align != 0 && left >= SSL3_RT_HEADER_LENGTH) { in ssl3_read_n()
280 s->packet_length < SSL3_RT_HEADER_LENGTH) { in ssl3_get_record()
281 n = ssl3_read_n(s, SSL3_RT_HEADER_LENGTH, 0); in ssl3_get_record()
331 if (rr->length > s->packet_length - SSL3_RT_HEADER_LENGTH) { in ssl3_get_record()
345 rr->data = &s->packet[SSL3_RT_HEADER_LENGTH]; in ssl3_get_record()
485 if (max_out < SSL3_RT_HEADER_LENGTH) { in ssl3_seal_record()
502 if (!SSL_AEAD_CTX_seal(s->aead_write_ctx, out + SSL3_RT_HEADER_LENGTH, in ssl3_seal_record()
503 &ciphertext_len, max_out - SSL3_RT_HEADER_LENGTH, in ssl3_seal_record()
517 *out_len = SSL3_RT_HEADER_LENGTH + ciphertext_len; in ssl3_seal_record()
[all …]
Ds3_both.c591 headerlen = SSL3_RT_HEADER_LENGTH; in ssl3_setup_read_buffer()
595 align = (-SSL3_RT_HEADER_LENGTH) & (SSL3_ALIGN_PAYLOAD - 1); in ssl3_setup_read_buffer()
627 headerlen = SSL3_RT_HEADER_LENGTH; in ssl3_setup_write_buffer()
631 align = (-SSL3_RT_HEADER_LENGTH) & (SSL3_ALIGN_PAYLOAD - 1); in ssl3_setup_write_buffer()
/external/boringssl/src/include/openssl/
Dssl3.h205 #define SSL3_RT_HEADER_LENGTH 5 macro
267 (SSL3_RT_MAX_ENCRYPTED_LENGTH + SSL3_RT_HEADER_LENGTH)