Home
last modified time | relevance | path

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

/external/wpa_supplicant_8/src/tls/
Dtlsv1_record.c257 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive()
288 if (TLS_RECORD_HEADER_LEN + rlen > 18432) { in tlsv1_record_receive()
290 (unsigned long) (TLS_RECORD_HEADER_LEN + rlen)); in tlsv1_record_receive()
295 in_data += TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
296 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
379 crypto_hash_update(hmac, in_data - TLS_RECORD_HEADER_LEN, 3); in tlsv1_record_receive()
399 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { in tlsv1_record_receive()
401 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); in tlsv1_record_receive()
Dtlsv1_server_write.c58 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello()
179 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate()
362 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_key_exchange()
452 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate_request()
512 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello_done()
554 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_change_cipher_spec()
626 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_finished()
Dtlsv1_client_write.c76 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello()
144 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate()
393 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_key_exchange()
443 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate_verify()
563 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_change_cipher_spec()
635 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_finished()
Dtlsv1_server.c155 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_server_handshake()
204 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_server_encrypt()
271 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_server_decrypt()
Dtlsv1_record.h27 #define TLS_RECORD_HEADER_LEN 5 macro
Dtlsv1_client.c183 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_client_handshake()
230 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_client_encrypt()
297 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_client_decrypt()
/external/wpa_supplicant_6/wpa_supplicant/src/tls/
Dtlsv1_record.c257 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive()
288 if (TLS_RECORD_HEADER_LEN + rlen > 18432) { in tlsv1_record_receive()
290 (unsigned long) (TLS_RECORD_HEADER_LEN + rlen)); in tlsv1_record_receive()
295 in_data += TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
296 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
379 crypto_hash_update(hmac, in_data - TLS_RECORD_HEADER_LEN, 3); in tlsv1_record_receive()
399 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { in tlsv1_record_receive()
401 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); in tlsv1_record_receive()
Dtlsv1_server_write.c57 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello()
178 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate()
364 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_key_exchange()
457 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_certificate_request()
517 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_hello_done()
559 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_change_cipher_spec()
631 pos += TLS_RECORD_HEADER_LEN; in tls_write_server_finished()
Dtlsv1_client_write.c75 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello()
143 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate()
397 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_key_exchange()
447 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate_verify()
567 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_change_cipher_spec()
639 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_finished()
Dtlsv1_server.c155 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_server_handshake()
204 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_server_encrypt()
271 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_server_decrypt()
Dtlsv1_record.h27 #define TLS_RECORD_HEADER_LEN 5 macro
Dtlsv1_client.c183 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_client_handshake()
230 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_client_encrypt()
297 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_client_decrypt()
/external/wpa_supplicant/
Dtlsv1_common.c401 if (in_len < TLS_RECORD_HEADER_LEN) { in tlsv1_record_receive()
431 if (TLS_RECORD_HEADER_LEN + rlen > 18432) { in tlsv1_record_receive()
433 (unsigned long) (TLS_RECORD_HEADER_LEN + rlen)); in tlsv1_record_receive()
438 in_data += TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
439 in_len -= TLS_RECORD_HEADER_LEN; in tlsv1_record_receive()
522 crypto_hash_update(hmac, in_data - TLS_RECORD_HEADER_LEN, 3); in tlsv1_record_receive()
542 if (TLS_RECORD_HEADER_LEN + *out_len > 17408) { in tlsv1_record_receive()
544 (unsigned long) (TLS_RECORD_HEADER_LEN + *out_len)); in tlsv1_record_receive()
Dtlsv1_client.c192 pos = rhdr + TLS_RECORD_HEADER_LEN; in tls_send_client_hello()
1152 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate()
1394 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_key_exchange()
1444 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_certificate_verify()
1563 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_change_cipher_spec()
1635 pos += TLS_RECORD_HEADER_LEN; in tls_write_client_finished()
1871 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_client_handshake()
1932 os_memcpy(out_data + TLS_RECORD_HEADER_LEN, in_data, in_len); in tlsv1_client_encrypt()
1999 pos += TLS_RECORD_HEADER_LEN + WPA_GET_BE16(pos + 3); in tlsv1_client_decrypt()
Dtlsv1_common.h30 #define TLS_RECORD_HEADER_LEN 5 macro