Home
last modified time | relevance | path

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

/third_party/openssl/test/
Dbad_dtls_test.c131 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_client_hello()
145 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_client_hello()
167 if (!PACKET_get_net_2(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
175 if (!PACKET_get_net_2(&pkt, &u) || !PACKET_forward(&pkt, u)) in validate_client_hello()
392 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_ccs()
403 if (!PACKET_get_net_2(&pkt, &u) || u != 0x0002) in validate_ccs()
409 if (!PACKET_get_net_2(&pkt, &u) || u != DTLS1_BAD_VER) in validate_ccs()
413 if (!PACKET_get_net_2(&pkt, &u) || u != 0x0001) in validate_ccs()
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()
363 || !TEST_true(PACKET_get_net_2(&subpkt, &i)) in test_PACKET_get_length_prefixed_1()
386 || !TEST_true(PACKET_get_net_2(&subpkt, &i)) in test_PACKET_get_length_prefixed_2()
409 || !TEST_true(PACKET_get_net_2(&subpkt, &i)) in test_PACKET_get_length_prefixed_3()
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()
Dclienthellotest.c215 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
Dservername_test.c63 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_sni_from_client_hello()
Dtls13ccstest.c109 || !PACKET_get_net_2(&pkt, &recvers) in watchccs_write()
Dsslapitest.c4876 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
/third_party/openssl/ssl/
Dpacket_local.h149 __owur static ossl_inline int PACKET_get_net_2(PACKET *pkt, unsigned int *data) in PACKET_get_net_2() function
163 int ret = PACKET_get_net_2(pkt, &i); in PACKET_get_net_2_len()
535 if (!PACKET_get_net_2(&tmp, &length) || in PACKET_get_length_prefixed_2()
558 if (!PACKET_get_net_2(&tmp, &length) || in PACKET_as_length_prefixed_2()
Dd1_lib.c594 || !PACKET_get_net_2(&msgpkt, &msgseq) in DTLSv1_listen()
632 if (!PACKET_get_net_2(&msgpayload, &clientvers)) { in DTLSv1_listen()
Dssl_rsa.c702 || !PACKET_get_net_2(&pkt, &type) in serverinfo_find_extension()
803 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
Dt1_lib.c1815 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16()
/third_party/openssl/ssl/statem/
Dextensions_srvr.c517 if (!PACKET_get_net_2(pkt, &ct) || (ct & 1) != 0 in tls_parse_ctos_use_srtp()
530 if (!PACKET_get_net_2(&subpkt, &id)) { in tls_parse_ctos_use_srtp()
668 if (!PACKET_get_net_2(&key_share_list, &group_id) in tls_parse_ctos_key_share()
803 if (!PACKET_get_net_2(&cookie, &format)) { in tls_parse_ctos_cookie()
818 if (!PACKET_get_net_2(&cookie, &version)) { in tls_parse_ctos_cookie()
829 if (!PACKET_get_net_2(&cookie, &group_id)) { in tls_parse_ctos_cookie()
Dextensions_clnt.c1695 if (!PACKET_get_net_2(pkt, &ct) || ct != 2 in tls_parse_stoc_use_srtp()
1696 || !PACKET_get_net_2(pkt, &id) in tls_parse_stoc_use_srtp()
1767 if (!PACKET_get_net_2(pkt, &version) in tls_parse_stoc_supported_versions()
1811 if (!PACKET_get_net_2(pkt, &group_id)) { in tls_parse_stoc_key_share()
1962 if (!PACKET_get_net_2(pkt, &identity) || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_psk()
Dstatem_srvr.c1367 || !PACKET_get_net_2(&tmppkt, &type) in ssl_check_for_safari()
1459 if (!PACKET_get_net_2(pkt, &clienthello->legacy_version)) { in tls_process_client_hello()
1475 if (!PACKET_get_net_2(pkt, &ciphersuite_len) in tls_process_client_hello()
1476 || !PACKET_get_net_2(pkt, &session_id_len) in tls_process_client_hello()
1477 || !PACKET_get_net_2(pkt, &challenge_len)) { in tls_process_client_hello()
3179 if (!PACKET_get_net_2(pkt, &i) || PACKET_remaining(pkt) != i) { in tls_process_cke_dhe()
3310 if (!PACKET_get_net_2(pkt, &i) in tls_process_cke_srp()
Dstatem_lib.c386 if (!PACKET_get_net_2(pkt, &sigalg)) { in tls_process_cert_verify()
428 if (!PACKET_get_net_2(pkt, &len)) { in tls_process_cert_verify()
1827 while (PACKET_get_net_2(&versionslist, &candidate_vers)) { in ssl_choose_server_version()
2277 if (!PACKET_get_net_2(&cadns, &name_len) in parse_ca_names()
Dstatem_clnt.c1414 if (!PACKET_get_net_2(pkt, &sversion)) { in tls_process_server_hello()
2200 if (!PACKET_get_1(pkt, &curve_type) || !PACKET_get_net_2(pkt, &curve_id)) { in tls_process_ske_ecdhe()
2326 if (!PACKET_get_net_2(pkt, &sigalg)) { in tls_process_key_exchange()
2589 || !PACKET_get_net_2(pkt, &ticklen) in tls_process_new_session_ticket()
Dextensions.c590 if (!PACKET_get_net_2(&extensions, &type) || in tls_collect_extensions()
/third_party/openssl/ssl/record/
Dssl3_record.c268 || !PACKET_get_net_2(&pkt, &version) in ssl3_get_record()