Home
last modified time | relevance | path

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

/openssl-master/test/
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 …]
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()
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()
A Dclienthellotest.c200 msglen = PACKET_remaining(&pkt); in test_client_hello()
218 while (PACKET_remaining(&pkt2)) { in test_client_hello()
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()
A Dbad_dtls_test.c163 if (PACKET_remaining(&pkt2)) { in validate_client_hello()
182 if (PACKET_remaining(&pkt)) in validate_client_hello()
A Dsslapitest.c6594 while (PACKET_remaining(&pkt2)) { in get_MFL_from_client_hello()
6600 if (!TEST_uint_ne(PACKET_remaining(&pkt3), 0) in get_MFL_from_client_hello()
/openssl-master/include/internal/
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()
259 if (!PACKET_remaining(pkt)) in PACKET_peek_1()
297 if (PACKET_remaining(pkt) < 4) in PACKET_peek_4()
333 if (PACKET_remaining(pkt) < len) in PACKET_peek_bytes()
364 if (PACKET_remaining(pkt) < len) in PACKET_peek_copy_bytes()
425 length = PACKET_remaining(pkt); in PACKET_memdup()
[all …]
/openssl-master/ssl/statem/
A Dextensions_srvr.c102 || PACKET_remaining(&sni) == 0) { in tls_parse_ctos_server_name()
387 if (PACKET_remaining(&exts) > 0) { in tls_parse_ctos_status_request()
485 while (PACKET_remaining(&subpkt)) { in tls_parse_ctos_use_srtp()
518 || PACKET_remaining(pkt)) { in tls_parse_ctos_use_srtp()
707 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie()
919 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_ems()
936 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_early_data()
956 switch (PACKET_remaining(tick)) { in tls_get_stateful_ticket()
1011 idlen = PACKET_remaining(&identity); in tls_parse_ctos_psk()
1188 if (PACKET_remaining(&binder) != hashsize) { in tls_parse_ctos_psk()
[all …]
A Dextensions_clnt.c1224 if (PACKET_remaining(pkt) != ilen) { in tls_parse_stoc_renegotiate()
1300 if (PACKET_remaining(pkt) > 0) { in tls_parse_stoc_server_name()
1374 if (PACKET_remaining(pkt) > 0) { in tls_parse_stoc_session_ticket()
1440 size_t size = PACKET_remaining(pkt); in tls_parse_stoc_sct()
1498 while (PACKET_remaining(pkt)) { in ssl_next_proto_validate()
1579 || PACKET_remaining(pkt) != len) { in tls_parse_stoc_alpn()
1637 || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_use_srtp()
1705 || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_supported_versions()
1754 if (PACKET_remaining(pkt) != 0) { in tls_parse_stoc_key_share()
1888 || PACKET_remaining(pkt) != 0) { in tls_parse_stoc_early_data()
[all …]
A Dstatem_clnt.c1289 cookie_len = PACKET_remaining(&cookiepkt); in dtls_process_hello_verify()
1434 if (PACKET_remaining(pkt) == 0 && !hrr) { in tls_process_server_hello()
1437 || PACKET_remaining(pkt) != 0) { in tls_process_server_hello()
1784 || PACKET_remaining(pkt) == 0) { in tls_process_server_certificate()
2261 || PACKET_remaining(pkt) != 0) { in tls_process_key_exchange()
2315 if (PACKET_remaining(pkt) != 0) { in tls_process_key_exchange()
2424 if (PACKET_remaining(pkt) != 0) { in tls_process_certificate_request()
2636 || PACKET_remaining(pkt) != resplen) { in tls_process_cert_status_body()
2718 if (PACKET_remaining(pkt) > 0) { in tls_process_server_done()
3594 if (PACKET_remaining(pkt) > 0) { in tls_process_hello_req()
[all …]
A Dstatem_srvr.c1479 || PACKET_remaining(pkt) != 0) { in tls_process_client_hello()
1549 if (PACKET_remaining(pkt) == 0) { in tls_process_client_hello()
2879 || PACKET_remaining(pkt) != 0) { in tls_process_cke_rsa()
2973 if (PACKET_remaining(pkt) == 0L) { in tls_process_cke_dhe()
3012 if (PACKET_remaining(pkt) == 0L) { in tls_process_cke_ecdhe()
3027 || PACKET_remaining(pkt) != 0) { in tls_process_cke_ecdhe()
3168 if (PACKET_remaining(pkt) != 0) { in tls_process_cke_gost()
3257 inlen = PACKET_remaining(pkt); in tls_process_cke_gost18()
3296 if (PACKET_remaining(pkt) != 0) { in tls_process_client_key_exchange()
4039 || PACKET_remaining(pkt) > 0) { in tls_process_next_proto()
[all …]
A Dextensions.c574 while (PACKET_remaining(&extensions) > 0) { in tls_collect_extensions()
593 && PACKET_remaining(&extensions) != 0)) { in tls_collect_extensions()
637 PACKET_remaining(&thisex->data), in tls_collect_extensions()
717 PACKET_remaining(&currext->data), in tls_parse_extension()
1241 if (PACKET_remaining(pkt) != 0) { in tls_parse_certificate_authorities()
1561 hdatalen -= PACKET_remaining(&hashprefix); in tls_psk_do_binder()
A Dstatem_lib.c464 && ((PACKET_remaining(pkt) == 64 in tls_process_cert_verify()
467 || (PACKET_remaining(pkt) == 128 in tls_process_cert_verify()
469 len = PACKET_remaining(pkt); in tls_process_cert_verify()
665 || PACKET_remaining(pkt) != 0) { in tls_process_key_update()
729 remain = PACKET_remaining(pkt); in tls_process_change_cipher_spec()
820 if (md_len != PACKET_remaining(pkt)) { in tls_process_finished()
1829 if (PACKET_remaining(&versionslist) != 0) { in ssl_choose_server_version()
2256 while (PACKET_remaining(&cadns)) { in parse_ca_names()
/openssl-master/crypto/
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-master/ssl/
A Dd1_lib.c570 reclen = PACKET_remaining(&msgpkt); in DTLSv1_listen()
592 || PACKET_remaining(&msgpkt) != 0) { in DTLSv1_listen()
655 if (PACKET_remaining(&cookiepkt) == 0) { in DTLSv1_listen()
667 (unsigned int)PACKET_remaining(&cookiepkt)) == 0) { in DTLSv1_listen()
A Dssl_rsa.c563 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()
A Dssl_lib.c5352 return PACKET_remaining(&s->clienthello->ciphersuites); in SSL_client_hello_get0_ciphers()
5416 *outlen = PACKET_remaining(&r->data); in SSL_client_hello_get0_ext()
5543 if (PACKET_remaining(cipher_suites) == 0) { in ssl_cache_cipherlist()
5548 if (PACKET_remaining(cipher_suites) % n != 0) { in ssl_cache_cipherlist()
5558 size_t numciphers = PACKET_remaining(cipher_suites) / n; in ssl_cache_cipherlist()
5577 PACKET_remaining(&sslv2ciphers) > 0; in ssl_cache_cipherlist()
5627 if (PACKET_remaining(cipher_suites) == 0) { in bytes_to_cipher_list()
5635 if (PACKET_remaining(cipher_suites) % n != 0) { in bytes_to_cipher_list()
5676 if (PACKET_remaining(cipher_suites) > 0) { in bytes_to_cipher_list()
A Dt1_enc.c119 while (PACKET_remaining(&pkt) > 0) { in count_unprocessed_records()
A Dt1_lib.c1747 size = PACKET_remaining(&ticketext->data); in tls_get_ticket_from_client()
2252 size = PACKET_remaining(pkt); in tls1_save_u16()
/openssl-master/ssl/record/
A Drec_layer_d1.c561 || PACKET_remaining(&alert) != 0) { in dtls1_read_bytes()
A Drec_layer_s3.c1539 || PACKET_remaining(&alert) != 0) { in ssl3_read_bytes()

Completed in 256 milliseconds