| /freebsd-14.2/crypto/openssl/test/ |
| H A D | packettest.c | 22 || !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 D | servername_test.c | 75 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 D | tls13ccstest.c | 107 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 D | asynciotest.c | 148 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 D | clienthellotest.c | 200 msglen = PACKET_remaining(&pkt); in test_client_hello() 218 while (PACKET_remaining(&pkt2)) { in test_client_hello()
|
| H A D | bad_dtls_test.c | 163 if (PACKET_remaining(&pkt2)) { in validate_client_hello() 182 if (PACKET_remaining(&pkt)) in validate_client_hello()
|
| H A D | sslapitest.c | 6984 while (PACKET_remaining(&pkt2)) { in get_MFL_from_client_hello() 6990 if (!TEST_uint_ne(PACKET_remaining(&pkt3), 0) in get_MFL_from_client_hello()
|
| /freebsd-14.2/crypto/openssl/include/internal/ |
| H A D | packet.h | 97 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 …]
|
| /freebsd-14.2/crypto/openssl/ssl/statem/ |
| H A D | extensions_srvr.c | 102 || PACKET_remaining(&sni) == 0) { in tls_parse_ctos_server_name() 392 if (PACKET_remaining(&exts) > 0) { in tls_parse_ctos_status_request() 490 while (PACKET_remaining(&subpkt)) { in tls_parse_ctos_use_srtp() 523 || PACKET_remaining(pkt)) { in tls_parse_ctos_use_srtp() 719 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie() 931 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_ems() 948 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_early_data() 968 switch (PACKET_remaining(tick)) { in tls_get_stateful_ticket() 1023 idlen = PACKET_remaining(&identity); in tls_parse_ctos_psk() 1203 if (PACKET_remaining(&binder) != hashsize) { in tls_parse_ctos_psk() [all …]
|
| H A D | extensions_clnt.c | 1227 if (PACKET_remaining(pkt) != ilen) { in tls_parse_stoc_renegotiate() 1303 if (PACKET_remaining(pkt) > 0) { in tls_parse_stoc_server_name() 1377 if (PACKET_remaining(pkt) > 0) { in tls_parse_stoc_session_ticket() 1443 size_t size = PACKET_remaining(pkt); in tls_parse_stoc_sct() 1501 while (PACKET_remaining(pkt)) { in ssl_next_proto_validate() 1585 || PACKET_remaining(pkt) != len) { in tls_parse_stoc_alpn() 1596 if (PACKET_remaining(&protpkt) != len) in tls_parse_stoc_alpn() 1665 || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_use_srtp() 1737 || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_supported_versions() 1786 if (PACKET_remaining(pkt) != 0) { in tls_parse_stoc_key_share() [all …]
|
| H A D | statem_clnt.c | 1289 cookie_len = PACKET_remaining(&cookiepkt); in dtls_process_hello_verify() 1440 if (PACKET_remaining(pkt) == 0 && !hrr) { in tls_process_server_hello() 1443 || PACKET_remaining(pkt) != 0) { in tls_process_server_hello() 1790 || PACKET_remaining(pkt) == 0) { in tls_process_server_certificate() 2269 || PACKET_remaining(pkt) != 0) { in tls_process_key_exchange() 2323 if (PACKET_remaining(pkt) != 0) { in tls_process_key_exchange() 2432 if (PACKET_remaining(pkt) != 0) { in tls_process_certificate_request() 2644 || PACKET_remaining(pkt) != resplen) { in tls_process_cert_status_body() 2726 if (PACKET_remaining(pkt) > 0) { in tls_process_server_done() 3604 if (PACKET_remaining(pkt) > 0) { in tls_process_hello_req() [all …]
|
| H A D | statem_srvr.c | 1479 || PACKET_remaining(pkt) != 0) { in tls_process_client_hello() 1549 if (PACKET_remaining(pkt) == 0) { in tls_process_client_hello() 2878 || PACKET_remaining(pkt) != 0) { in tls_process_cke_rsa() 2972 if (PACKET_remaining(pkt) == 0L) { in tls_process_cke_dhe() 3011 if (PACKET_remaining(pkt) == 0L) { in tls_process_cke_ecdhe() 3026 || PACKET_remaining(pkt) != 0) { in tls_process_cke_ecdhe() 3167 if (PACKET_remaining(pkt) != 0) { in tls_process_cke_gost() 3256 inlen = PACKET_remaining(pkt); in tls_process_cke_gost18() 3295 if (PACKET_remaining(pkt) != 0) { in tls_process_client_key_exchange() 4079 || PACKET_remaining(pkt) > 0) { in tls_process_next_proto() [all …]
|
| H A D | statem_lib.c | 466 && ((PACKET_remaining(pkt) == 64 in tls_process_cert_verify() 469 || (PACKET_remaining(pkt) == 128 in tls_process_cert_verify() 471 len = PACKET_remaining(pkt); in tls_process_cert_verify() 483 if (PACKET_remaining(pkt) != 0) { in tls_process_cert_verify() 671 || PACKET_remaining(pkt) != 0) { in tls_process_key_update() 735 remain = PACKET_remaining(pkt); in tls_process_change_cipher_spec() 826 if (md_len != PACKET_remaining(pkt)) { in tls_process_finished() 1837 if (PACKET_remaining(&versionslist) != 0) { in ssl_choose_server_version() 2264 while (PACKET_remaining(&cadns)) { in parse_ca_names()
|
| H A D | extensions.c | 588 while (PACKET_remaining(&extensions) > 0) { in tls_collect_extensions() 607 && PACKET_remaining(&extensions) != 0)) { in tls_collect_extensions() 651 PACKET_remaining(&thisex->data), in tls_collect_extensions() 731 PACKET_remaining(&currext->data), in tls_parse_extension() 1264 if (PACKET_remaining(pkt) != 0) { in tls_parse_certificate_authorities() 1588 hdatalen -= PACKET_remaining(&hashprefix); in tls_psk_do_binder()
|
| /freebsd-14.2/crypto/openssl/crypto/ |
| H A D | asn1_dsa.c | 205 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()
|
| /freebsd-14.2/crypto/openssl/ssl/ |
| H A D | d1_lib.c | 587 reclen = PACKET_remaining(&msgpkt); in DTLSv1_listen() 609 || PACKET_remaining(&msgpkt) != 0) { in DTLSv1_listen() 672 if (PACKET_remaining(&cookiepkt) == 0) { in DTLSv1_listen() 684 (unsigned int)PACKET_remaining(&cookiepkt)) == 0) { in DTLSv1_listen()
|
| H A D | ssl_rsa.c | 563 if (PACKET_remaining(&pkt) == 0) in serverinfo_find_extension() 573 *extension_length = PACKET_remaining(&data);; in serverinfo_find_extension() 662 while (PACKET_remaining(&pkt)) { in serverinfo_process_buffer()
|
| H A D | ssl_lib.c | 2959 || PACKET_remaining(&csubpkt) == 0) { in SSL_select_next_proto() 2970 *outlen = (unsigned char)PACKET_remaining(&csubpkt); in SSL_select_next_proto() 2977 if (PACKET_remaining(&ssubpkt) == 0) in SSL_select_next_proto() 5434 return PACKET_remaining(&s->clienthello->ciphersuites); in SSL_client_hello_get0_ciphers() 5498 *outlen = PACKET_remaining(&r->data); in SSL_client_hello_get0_ext() 5628 if (PACKET_remaining(cipher_suites) == 0) { in ssl_cache_cipherlist() 5633 if (PACKET_remaining(cipher_suites) % n != 0) { in ssl_cache_cipherlist() 5662 PACKET_remaining(&sslv2ciphers) > 0; in ssl_cache_cipherlist() 5712 if (PACKET_remaining(cipher_suites) == 0) { in bytes_to_cipher_list() 5720 if (PACKET_remaining(cipher_suites) % n != 0) { in bytes_to_cipher_list() [all …]
|
| H A D | ktls.c | 30 while (PACKET_remaining(&pkt) > 0) { in count_unprocessed_records()
|
| H A D | t1_lib.c | 1775 size = PACKET_remaining(&ticketext->data); in tls_get_ticket_from_client() 2285 size = PACKET_remaining(pkt); in tls1_save_u16()
|
| /freebsd-14.2/crypto/openssl/ssl/record/ |
| H A D | rec_layer_d1.c | 561 || PACKET_remaining(&alert) != 0) { in dtls1_read_bytes()
|
| H A D | rec_layer_s3.c | 1560 || PACKET_remaining(&alert) != 0) { in ssl3_read_bytes()
|