/third_party/openssl/test/ |
D | bad_dtls_test.c | 134 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_client_hello() 148 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_client_hello() 170 if (!PACKET_get_net_2(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello() 178 if (!PACKET_get_net_2(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello() 411 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_ccs() 422 if (!PACKET_get_net_2(&pkt, &u) || u != 0x0002) in validate_ccs() 428 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_ccs() 432 if (!PACKET_get_net_2(&pkt, &u) || u != 0x0001) in validate_ccs()
|
D | packettest.c | 88 || !TEST_true(PACKET_get_net_2(&pkt, &i)) in test_PACKET_get_net_2() 91 || !TEST_true(PACKET_get_net_2(&pkt, &i)) in test_PACKET_get_net_2() 93 || !TEST_false(PACKET_get_net_2(&pkt, &i))) in test_PACKET_get_net_2() 364 || !TEST_true(PACKET_get_net_2(&subpkt, &i)) in test_PACKET_get_length_prefixed_1() 388 || !TEST_true(PACKET_get_net_2(&subpkt, &i)) in test_PACKET_get_length_prefixed_2() 412 || !TEST_true(PACKET_get_net_2(&subpkt, &i)) in test_PACKET_get_length_prefixed_3()
|
D | asynciotest.c | 170 || !PACKET_get_net_2(&wholebody, &negversion) in async_write() 193 if (!PACKET_get_net_2(&extensions, &type) in async_write() 199 && (!PACKET_get_net_2(&extbody, &negversion) in async_write()
|
D | clienthellotest.c | 220 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
|
D | servername_test.c | 76 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
|
D | tls13ccstest.c | 109 || !PACKET_get_net_2(&pkt, &recvers) in watchccs_write()
|
D | sslapitest.c | 6689 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
|
/third_party/openssl/include/internal/ |
D | packet.h | 150 __owur static ossl_inline int PACKET_get_net_2(PACKET *pkt, unsigned int *data) in PACKET_get_net_2() function 164 int ret = PACKET_get_net_2(pkt, &i); in PACKET_get_net_2_len() 569 if (!PACKET_get_net_2(&tmp, &length) || in PACKET_get_length_prefixed_2() 592 if (!PACKET_get_net_2(&tmp, &length) || in PACKET_as_length_prefixed_2()
|
/third_party/openssl/ssl/statem/ |
D | extensions_srvr.c | 473 if (!PACKET_get_net_2(pkt, &ct) || (ct & 1) != 0 in tls_parse_ctos_use_srtp() 486 if (!PACKET_get_net_2(&subpkt, &id)) { in tls_parse_ctos_use_srtp() 619 if (!PACKET_get_net_2(&key_share_list, &group_id) in tls_parse_ctos_key_share() 755 if (!PACKET_get_net_2(&cookie, &format)) { in tls_parse_ctos_cookie() 769 if (!PACKET_get_net_2(&cookie, &version)) { in tls_parse_ctos_cookie() 779 if (!PACKET_get_net_2(&cookie, &group_id)) { in tls_parse_ctos_cookie()
|
D | extensions_clnt.c | 1637 if (!PACKET_get_net_2(pkt, &ct) || ct != 2 in tls_parse_stoc_use_srtp() 1638 || !PACKET_get_net_2(pkt, &id) in tls_parse_stoc_use_srtp() 1711 if (!PACKET_get_net_2(pkt, &version) in tls_parse_stoc_supported_versions() 1752 if (!PACKET_get_net_2(pkt, &group_id)) { in tls_parse_stoc_key_share() 1934 if (!PACKET_get_net_2(pkt, &identity) || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_psk()
|
D | statem_srvr.c | 1356 || !PACKET_get_net_2(&tmppkt, &type) in ssl_check_for_safari() 1447 if (!PACKET_get_net_2(pkt, &clienthello->legacy_version)) { in tls_process_client_hello() 1462 if (!PACKET_get_net_2(pkt, &ciphersuite_len) in tls_process_client_hello() 1463 || !PACKET_get_net_2(pkt, &session_id_len) in tls_process_client_hello() 1464 || !PACKET_get_net_2(pkt, &challenge_len)) { in tls_process_client_hello() 2963 if (!PACKET_get_net_2(pkt, &i) || PACKET_remaining(pkt) != i) { in tls_process_cke_dhe() 3068 if (!PACKET_get_net_2(pkt, &i) in tls_process_cke_srp()
|
D | statem_lib.c | 436 if (!PACKET_get_net_2(pkt, &sigalg)) { in tls_process_cert_verify() 473 if (!PACKET_get_net_2(pkt, &len)) { in tls_process_cert_verify() 1826 while (PACKET_get_net_2(&versionslist, &candidate_vers)) { in ssl_choose_server_version() 2263 if (!PACKET_get_net_2(&cadns, &name_len) in parse_ca_names()
|
D | statem_clnt.c | 1390 if (!PACKET_get_net_2(pkt, &sversion)) { in tls_process_server_hello() 2131 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe() 2245 if (!PACKET_get_net_2(pkt, &sigalg)) { in tls_process_key_exchange() 2468 || !PACKET_get_net_2(pkt, &ticklen) in tls_process_new_session_ticket()
|
D | extensions.c | 593 if (!PACKET_get_net_2(&extensions, &type) || in tls_collect_extensions()
|
/third_party/openssl/ssl/ |
D | d1_lib.c | 588 || !PACKET_get_net_2(&msgpkt, &msgseq) in DTLSv1_listen() 626 if (!PACKET_get_net_2(&msgpayload, &clientvers)) { in DTLSv1_listen()
|
D | ssl_rsa.c | 567 || !PACKET_get_net_2(&pkt, &type) in serverinfo_find_extension() 668 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
|
D | t1_lib.c | 2274 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16()
|
/third_party/openssl/ssl/record/ |
D | ssl3_record.c | 286 || !PACKET_get_net_2(&pkt, &version) in ssl3_get_record()
|