Home
last modified time | relevance | path

Searched refs:PACKET_remaining (Results 1 – 25 of 37) sorted by relevance

12

/openssl/test/
H A Dpackettest.c22 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_remaining()
24 || !TEST_size_t_eq(PACKET_remaining(&pkt), 1) in test_PACKET_remaining()
26 || !TEST_size_t_eq(PACKET_remaining(&pkt), 0)) in test_PACKET_remaining()
37 || !TEST_size_t_eq(PACKET_remaining(&pkt), BUF_LEN) in test_PACKET_end()
142 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) in test_PACKET_get_sub_packet()
147 || !TEST_size_t_eq(PACKET_remaining(&subpkt), 0) in test_PACKET_get_sub_packet()
172 || !TEST_false(PACKET_remaining(&pkt))) in test_PACKET_get_bytes()
196 || !TEST_false(PACKET_remaining(&pkt))) in test_PACKET_copy_bytes()
310 || !TEST_size_t_eq(PACKET_remaining(&pkt), 4) in test_PACKET_buf_init()
324 if (!TEST_size_t_eq(PACKET_remaining(&pkt), 0) in test_PACKET_null_init()
[all …]
H A Dservername_test.c75 while (PACKET_remaining(&pkt2)) { in get_sni_from_client_hello()
81 || !TEST_uint_ne(PACKET_remaining(&pkt4), 0) in get_sni_from_client_hello()
85 || !TEST_uint_le(PACKET_remaining(&pkt5), TLSEXT_MAXLEN_host_name) in get_sni_from_client_hello()
H A Dtls13ccstest.c107 while (PACKET_remaining(&pkt)) { in watchccs_write()
134 chsessidlen = PACKET_remaining(&sessionid); in watchccs_write()
142 if (PACKET_remaining(&sessionid) != chsessidlen in watchccs_write()
162 if (PACKET_remaining(&sessionid) != chsessidlen in watchccs_write()
H A Dclienthellotest.c200 msglen = PACKET_remaining(&pkt); in test_client_hello()
218 while (PACKET_remaining(&pkt2)) { in test_client_hello()
H A Dasynciotest.c148 while (PACKET_remaining(&pkt) > 0) { in async_write()
189 while (PACKET_remaining(&extensions)) { in async_write()
200 || PACKET_remaining(&extbody) != 0)) in async_write()
H A Dbad_dtls_test.c163 if (PACKET_remaining(&pkt2)) { in validate_client_hello()
182 if (PACKET_remaining(&pkt)) in validate_client_hello()
H A Dquic_wire_test.c839 if (!TEST_true(PACKET_forward(pkt, PACKET_remaining(pkt)))) in encode_case_16b_dec()
1258 if (!TEST_false(PACKET_remaining(&pkt))) in test_wire_encode()
1446 if (!TEST_false(PACKET_remaining(&pkt))) in test_wire_ack()
/openssl/include/internal/
H A Dpacket_quic.h27 if (PACKET_remaining(pkt) < 1) in PACKET_get_quic_vlint()
32 if (PACKET_remaining(pkt) < enclen) in PACKET_get_quic_vlint()
52 if (PACKET_remaining(pkt) < 1) in PACKET_peek_quic_vlint_ex()
57 if (PACKET_remaining(pkt) < enclen) in PACKET_peek_quic_vlint_ex()
81 if (PACKET_remaining(pkt) < 1) in PACKET_skip_quic_vlint()
86 if (PACKET_remaining(pkt) < enclen) in PACKET_skip_quic_vlint()
H A Dpacket.h97 if (PACKET_remaining(pkt) != num) in PACKET_equal()
110 if (PACKET_remaining(pkt) < len) in PACKET_peek_sub_packet()
139 if (PACKET_remaining(pkt) < 2) in PACKET_peek_net_2()
179 if (PACKET_remaining(pkt) < 3) in PACKET_peek_net_3()
220 if (PACKET_remaining(pkt) < 4) in PACKET_peek_net_4()
238 if (PACKET_remaining(pkt) < 8) in PACKET_peek_net_8()
292 if (!PACKET_remaining(pkt)) in PACKET_peek_1()
330 if (PACKET_remaining(pkt) < 4) in PACKET_peek_4()
366 if (PACKET_remaining(pkt) < len) in PACKET_peek_bytes()
397 if (PACKET_remaining(pkt) < len) in PACKET_peek_copy_bytes()
[all …]
/openssl/ssl/statem/
H A Dextensions_srvr.c112 || PACKET_remaining(&sni) == 0) { in tls_parse_ctos_server_name()
406 if (PACKET_remaining(&exts) > 0) { in tls_parse_ctos_status_request()
451 || PACKET_remaining(&protocol_list) < 2) { in tls_parse_ctos_alpn()
505 while (PACKET_remaining(&subpkt)) { in tls_parse_ctos_use_srtp()
538 || PACKET_remaining(pkt)) { in tls_parse_ctos_use_srtp()
752 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie()
966 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_ems()
983 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_early_data()
1003 switch (PACKET_remaining(tick)) { in tls_get_stateful_ticket()
1061 idlen = PACKET_remaining(&identity); in tls_parse_ctos_psk()
[all …]
H A Dextensions_clnt.c1283 if (PACKET_remaining(pkt) != ilen) { in tls_parse_stoc_renegotiate()
1361 if (PACKET_remaining(pkt) > 0) { in tls_parse_stoc_server_name()
1439 if (PACKET_remaining(pkt) > 0) { in tls_parse_stoc_session_ticket()
1506 size_t size = PACKET_remaining(pkt); in tls_parse_stoc_sct()
1564 while (PACKET_remaining(pkt)) { in ssl_next_proto_validate()
1648 || PACKET_remaining(pkt) != len) { in tls_parse_stoc_alpn()
1728 || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_use_srtp()
1855 if (PACKET_remaining(pkt) != 0) { in tls_parse_stoc_key_share()
2019 if (PACKET_remaining(pkt) != 0) { in tls_parse_stoc_early_data()
2123 if (PACKET_remaining(pkt) != 1) { in tls_parse_stoc_client_cert_type()
[all …]
H A Dstatem_clnt.c1363 cookie_len = PACKET_remaining(&cookiepkt); in dtls_process_hello_verify()
1527 if (PACKET_remaining(pkt) == 0 && !hrr) { in tls_process_server_hello()
1530 || PACKET_remaining(pkt) != 0) { in tls_process_server_hello()
1991 || PACKET_remaining(pkt) == 0) { in tls_process_server_certificate()
2494 || PACKET_remaining(pkt) != 0) { in tls_process_key_exchange()
2548 if (PACKET_remaining(pkt) != 0) { in tls_process_key_exchange()
2662 if (PACKET_remaining(pkt) != 0) { in tls_process_certificate_request()
2878 || PACKET_remaining(pkt) != resplen) { in tls_process_cert_status_body()
2963 if (PACKET_remaining(pkt) > 0) { in tls_process_server_done()
3991 if (PACKET_remaining(pkt) > 0) { in tls_process_hello_req()
[all …]
H A Dstatem_lib.c503 && ((PACKET_remaining(pkt) == 64 in tls_process_cert_verify()
506 || (PACKET_remaining(pkt) == 128 in tls_process_cert_verify()
508 len = PACKET_remaining(pkt); in tls_process_cert_verify()
520 if (PACKET_remaining(pkt) != 0) { in tls_process_cert_verify()
716 || PACKET_remaining(pkt) != 0) { in tls_process_key_update()
782 remain = PACKET_remaining(pkt); in tls_process_change_cipher_spec()
878 if (md_len != PACKET_remaining(pkt)) { in tls_process_finished()
1213 if (PACKET_remaining(&context) != 0) { in tls_process_rpk()
1221 || PACKET_remaining(pkt) != cert_len) { in tls_process_rpk()
1278 || PACKET_remaining(pkt) != 0) { in tls_process_rpk()
[all …]
H A Dstatem_srvr.c1575 || PACKET_remaining(pkt) != 0) { in tls_process_client_hello()
1645 if (PACKET_remaining(pkt) == 0) { in tls_process_client_hello()
2981 || PACKET_remaining(pkt) != 0) { in tls_process_cke_rsa()
3074 if (PACKET_remaining(pkt) == 0L) { in tls_process_cke_dhe()
3113 if (PACKET_remaining(pkt) == 0L) { in tls_process_cke_ecdhe()
3128 || PACKET_remaining(pkt) != 0) { in tls_process_cke_ecdhe()
3270 if (PACKET_remaining(pkt) != 0) { in tls_process_cke_gost()
3359 inlen = PACKET_remaining(pkt); in tls_process_cke_gost18()
3398 if (PACKET_remaining(pkt) != 0) { in tls_process_client_key_exchange()
4349 || PACKET_remaining(pkt) > 0) { in tls_process_next_proto()
[all …]
H A Dextensions.c635 while (PACKET_remaining(&extensions) > 0) { in tls_collect_extensions()
654 && PACKET_remaining(&extensions) != 0)) { in tls_collect_extensions()
698 PACKET_remaining(&thisex->data), in tls_collect_extensions()
778 PACKET_remaining(&currext->data), in tls_parse_extension()
1324 if (PACKET_remaining(pkt) != 0) { in tls_parse_certificate_authorities()
1662 hdatalen -= PACKET_remaining(&hashprefix); in tls_psk_do_binder()
1905 || PACKET_remaining(&supported_comp_algs) == 0) { in tls_parse_compress_certificate()
/openssl/ssl/quic/
H A Dqlog_event_helpers.c506 PACKET_remaining(&orig_pkt)); in log_frame_actual()
508 ignore_res(PACKET_forward(pkt, PACKET_remaining(pkt))); in log_frame_actual()
520 rem_before = PACKET_remaining(pkt); in log_frame()
525 rem_after = PACKET_remaining(pkt); in log_frame()
541 while (PACKET_remaining(&pkt) > 0) { in log_frames()
545 if (adv < PACKET_remaining(&pkt)) in log_frames()
546 adv = PACKET_remaining(&pkt); in log_frames()
H A Dquic_wire_pkt.c194 size_t l = PACKET_remaining(pkt); in ossl_quic_wire_decode_pkt_hdr()
265 hdr->len = PACKET_remaining(pkt); in ossl_quic_wire_decode_pkt_hdr()
312 hdr->len = PACKET_remaining(pkt); in ossl_quic_wire_decode_pkt_hdr()
386 hdr->len = PACKET_remaining(pkt); in ossl_quic_wire_decode_pkt_hdr()
410 if (!nodata && len > PACKET_remaining(pkt)) in ossl_quic_wire_decode_pkt_hdr()
H A Dquic_record_rx.c802 rxe = qrx_ensure_free_rxe(qrx, PACKET_remaining(pkt)); in qrx_process_pkt()
1106 ignore_res(PACKET_forward(pkt, PACKET_remaining(pkt))); in qrx_process_pkt()
1126 for (; PACKET_remaining(&pkt) > 0; ++pkt_idx) { in qrx_process_datagram()
1132 if (PACKET_remaining(&pkt) < QUIC_MIN_VALID_PKT_LEN in qrx_process_datagram()
H A Dquic_wire.c641 if (PACKET_remaining(pkt) < f->len) in ossl_quic_wire_decode_frame_crypto()
705 f->len = PACKET_remaining(pkt); in ossl_quic_wire_decode_frame_stream()
953 if (PACKET_remaining(&sub) > 0) in ossl_quic_wire_decode_transport_param_int()
/openssl/crypto/
H A Dasn1_dsa.c205 if (PACKET_remaining(&tmppkt) > 0 && tmp == 0) { in ossl_decode_der_integer()
212 (int)PACKET_remaining(&contpkt), n) == NULL) in ossl_decode_der_integer()
246 || PACKET_remaining(&contpkt) != 0) in ossl_decode_der_dsa_sig()
/openssl/fuzz/
H A Dquic-srtm.c63 while (PACKET_remaining(&pkt) > 0) { in FuzzerTestOneInput()
H A Dquic-rcidm.c91 while (PACKET_remaining(&pkt) > 0) { in FuzzerTestOneInput()
H A Dquic-lcidm.c93 while (PACKET_remaining(&pkt) > 0) { in FuzzerTestOneInput()
/openssl/test/helpers/
H A Dpktsplitbio.c97 remain = PACKET_remaining(&pkt); in pkt_split_dgram_recvmmsg()
/openssl/ssl/
H A Dd1_lib.c564 || PACKET_remaining(&msgpkt) != 0) { in DTLSv1_listen()
627 if (PACKET_remaining(&cookiepkt) == 0) { in DTLSv1_listen()
640 (unsigned int)PACKET_remaining(&cookiepkt)) == 0) { in DTLSv1_listen()

Completed in 140 milliseconds

12