/third_party/openssl/test/ |
D | bad_dtls_test.c | 131 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()
|
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() 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()
|
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 | 215 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in test_client_hello()
|
D | servername_test.c | 63 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 | 4876 if (!TEST_true(PACKET_get_net_2(&pkt2, &type)) in get_MFL_from_client_hello()
|
/third_party/openssl/ssl/ |
D | packet_local.h | 149 __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()
|
D | d1_lib.c | 594 || !PACKET_get_net_2(&msgpkt, &msgseq) in DTLSv1_listen() 632 if (!PACKET_get_net_2(&msgpayload, &clientvers)) { in DTLSv1_listen()
|
D | ssl_rsa.c | 702 || !PACKET_get_net_2(&pkt, &type) in serverinfo_find_extension() 803 || !PACKET_get_net_2(&pkt, &ext_type) in serverinfo_process_buffer()
|
D | t1_lib.c | 1815 for (i = 0; i < size && PACKET_get_net_2(pkt, &stmp); i++) in tls1_save_u16()
|
/third_party/openssl/ssl/statem/ |
D | extensions_srvr.c | 517 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()
|
D | extensions_clnt.c | 1695 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()
|
D | statem_srvr.c | 1367 || !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()
|
D | statem_lib.c | 386 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()
|
D | statem_clnt.c | 1414 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()
|
D | extensions.c | 590 if (!PACKET_get_net_2(&extensions, &type) || in tls_collect_extensions()
|
/third_party/openssl/ssl/record/ |
D | ssl3_record.c | 268 || !PACKET_get_net_2(&pkt, &version) in ssl3_get_record()
|