Home
last modified time | relevance | path

Searched refs:PACKET_get_net_2 (Results 1 – 20 of 20) sorted by relevance

/openssl/test/
H A Dbad_dtls_test.c134 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 Dpackettest.c88 || !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 Dasynciotest.c170 || !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 Dclienthellotest.c220 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
H A Dservername_test.c76 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
H A Dtls13ccstest.c109 || !PACKET_get_net_2(&pkt, &recvers) in watchccs_write()
H A Dsslapitest.c7299 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
/openssl/include/internal/
H A Dpacket.h150 __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 Dextensions_srvr.c493 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 Dextensions_clnt.c1725 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 Dstatem_lib.c473 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 Dstatem_srvr.c1451 || !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 Dextensions.c640 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 Dstatem_clnt.c1472 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 Dd1_lib.c560 || !PACKET_get_net_2(&msgpkt, &msgseq) in DTLSv1_listen()
598 if (!PACKET_get_net_2(&msgpayload, &clientvers)) { in DTLSv1_listen()
H A Dssl_rsa.c616 || !PACKET_get_net_2(&pkt, &type) in serverinfo_find_extension()
723 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
H A Dt1_lib.c2865 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16()
/openssl/ssl/quic/
H A Dquic_wire.c995 || !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 Dquictestlib.c1006 if (!PACKET_get_net_2(&sub, &type) in qtest_fault_delete_extension()
/openssl/ssl/record/methods/
H A Dtls_common.c635 || !PACKET_get_net_2(&pkt, &version) in tls_get_more_records()

Completed in 110 milliseconds