Searched refs:TLS_RECORD_HEADER_LEN (Results 1 – 4 of 4) sorted by relevance
160 if (pos + TLS_RECORD_HEADER_LEN > buf + buf_size) in tlsv1_record_send()216 crypto_hash_update(hmac, ct_start, TLS_RECORD_HEADER_LEN); in tlsv1_record_send()289 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive()316 if (TLS_RECORD_HEADER_LEN + rlen > 18432) { in tlsv1_record_receive()318 (unsigned long) (TLS_RECORD_HEADER_LEN + rlen)); in tlsv1_record_receive()323 in_data += TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()324 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()447 crypto_hash_update(hmac, in_data - TLS_RECORD_HEADER_LEN, 3); in tlsv1_record_receive()475 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { in tlsv1_record_receive()477 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); in tlsv1_record_receive()[all …]
53 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello()202 if (TLS_RECORD_HEADER_LEN + 1 + 3 + 3 > end - pos) { in tls_write_server_certificate()210 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate()296 if (TLS_RECORD_HEADER_LEN + 1 + 3 + 1 + 3 + ocsp_resp_len > in tls_write_server_certificate_status()305 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate_status()482 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_key_exchange()707 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate_request()
91 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello()269 if (TLS_RECORD_HEADER_LEN + 1 + 3 + 3 > end - pos) { in tls_write_client_certificate()277 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate()534 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_key_exchange()584 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate_verify()
21 #define TLS_RECORD_HEADER_LEN 5 macro