Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c160 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 …]
Dtlsv1_server_write.c53 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello()
205 if (TLS_RECORD_HEADER_LEN + 1 + 3 + 3 > end - pos) { in tls_write_server_certificate()
213 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate()
299 if (TLS_RECORD_HEADER_LEN + 1 + 3 + 1 + 3 + ocsp_resp_len > in tls_write_server_certificate_status()
308 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate_status()
485 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_key_exchange()
710 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate_request()
Dtlsv1_client_write.c94 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello()
272 if (TLS_RECORD_HEADER_LEN + 1 + 3 + 3 > end - pos) { in tls_write_client_certificate()
280 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate()
537 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_key_exchange()
587 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate_verify()
Dtlsv1_record.h21 #define TLS_RECORD_HEADER_LEN 5 macro