/openssl/test/ |
H A 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() 415 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_ccs() 426 if (!PACKET_get_net_2(&pkt, &u) || u != 0x0002) in validate_ccs() 432 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_ccs() 436 if (!PACKET_get_net_2(&pkt, &u) || u != 0x0001) in validate_ccs()
|
H A 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()
|
H A 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()
|
H A D | clienthellotest.c | 220 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
|
H A D | servername_test.c | 76 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
|
H A D | tls13ccstest.c | 109 || !PACKET_get_net_2(&pkt, &recvers) in watchccs_write()
|
H A D | sslapitest.c | 7299 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
|
/openssl/include/internal/ |
H A 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()
|
/openssl/ssl/statem/ |
H A D | extensions_srvr.c | 493 if (!PACKET_get_net_2(pkt, &ct) || (ct & 1) != 0 in tls_parse_ctos_use_srtp() 506 if (!PACKET_get_net_2(&subpkt, &id)) { in tls_parse_ctos_use_srtp() 655 if (!PACKET_get_net_2(&key_share_list, &group_id) in tls_parse_ctos_key_share() 793 if (!PACKET_get_net_2(&cookie, &format)) { in tls_parse_ctos_cookie() 807 if (!PACKET_get_net_2(&cookie, &version)) { in tls_parse_ctos_cookie() 817 if (!PACKET_get_net_2(&cookie, &group_id)) { in tls_parse_ctos_cookie()
|
H A D | extensions_clnt.c | 1725 if (!PACKET_get_net_2(pkt, &ct) || ct != 2 in tls_parse_stoc_use_srtp() 1726 || !PACKET_get_net_2(pkt, &id) in tls_parse_stoc_use_srtp() 1800 if (!PACKET_get_net_2(pkt, &version) in tls_parse_stoc_supported_versions() 1846 if (!PACKET_get_net_2(pkt, &group_id)) { in tls_parse_stoc_key_share() 2047 if (!PACKET_get_net_2(pkt, &identity) || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_psk()
|
H A D | statem_lib.c | 473 if (!PACKET_get_net_2(pkt, &sigalg)) { in tls_process_cert_verify() 511 if (!PACKET_get_net_2(pkt, &len)) { in tls_process_cert_verify() 2221 while (PACKET_get_net_2(&versionslist, &candidate_vers)) { in ssl_choose_server_version() 2681 if (!PACKET_get_net_2(&cadns, &name_len) in parse_ca_names() 2852 if (!PACKET_get_net_2(pkt, (unsigned int*)&comp_alg)) { in tls13_process_compressed_certificate()
|
H A D | statem_srvr.c | 1451 || !PACKET_get_net_2(&tmppkt, &type) in ssl_check_for_safari() 1543 if (!PACKET_get_net_2(pkt, &clienthello->legacy_version)) { in tls_process_client_hello() 1558 if (!PACKET_get_net_2(pkt, &ciphersuite_len) in tls_process_client_hello() 1559 || !PACKET_get_net_2(pkt, &session_id_len) in tls_process_client_hello() 1560 || !PACKET_get_net_2(pkt, &challenge_len)) { in tls_process_client_hello() 3064 if (!PACKET_get_net_2(pkt, &i) || PACKET_remaining(pkt) != i) { in tls_process_cke_dhe() 3169 if (!PACKET_get_net_2(pkt, &i) in tls_process_cke_srp()
|
H A D | extensions.c | 640 if (!PACKET_get_net_2(&extensions, &type) || in tls_collect_extensions() 1917 while (PACKET_get_net_2(&supported_comp_algs, &comp)) { in tls_parse_compress_certificate()
|
H A D | statem_clnt.c | 1472 if (!PACKET_get_net_2(pkt, &sversion)) { in tls_process_server_hello() 2355 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe() 2470 if (!PACKET_get_net_2(pkt, &sigalg)) { in tls_process_key_exchange() 2702 || !PACKET_get_net_2(pkt, &ticklen) in tls_process_new_session_ticket()
|
/openssl/ssl/ |
H A D | d1_lib.c | 560 || !PACKET_get_net_2(&msgpkt, &msgseq) in DTLSv1_listen() 598 if (!PACKET_get_net_2(&msgpayload, &clientvers)) { in DTLSv1_listen()
|
H A D | ssl_rsa.c | 616 || !PACKET_get_net_2(&pkt, &type) in serverinfo_find_extension() 723 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
|
H A D | t1_lib.c | 2865 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16()
|
/openssl/ssl/quic/ |
H A D | quic_wire.c | 995 || !PACKET_get_net_2(&pkt2, &ipv4_port) in ossl_quic_wire_decode_transport_param_preferred_addr() 997 || !PACKET_get_net_2(&pkt2, &ipv6_port) in ossl_quic_wire_decode_transport_param_preferred_addr()
|
/openssl/test/helpers/ |
H A D | quictestlib.c | 1006 if (!PACKET_get_net_2(&sub, &type) in qtest_fault_delete_extension()
|
/openssl/ssl/record/methods/ |
H A D | tls_common.c | 635 || !PACKET_get_net_2(&pkt, &version) in tls_get_more_records()
|