Lines Matching refs:PACKET_remaining

112         || PACKET_remaining(&sni) == 0) {  in tls_parse_ctos_server_name()
140 if (PACKET_remaining(&hostname) > TLSEXT_MAXLEN_host_name) { in tls_parse_ctos_server_name()
182 if (PACKET_remaining(pkt) != 1 || !PACKET_get_1(pkt, &value)) { in tls_parse_ctos_maxfragmentlen()
246 || PACKET_remaining(&ec_point_format_list) == 0) { in tls_parse_ctos_ec_pt_formats()
269 PACKET_data(pkt), PACKET_remaining(pkt), in tls_parse_ctos_session_ticket()
286 || PACKET_remaining(&supported_sig_algs) == 0) { in tls_parse_ctos_sig_algs_cert()
305 || PACKET_remaining(&supported_sig_algs) == 0) { in tls_parse_ctos_sig_algs()
356 if (PACKET_remaining(&responder_id_list) > 0) { in tls_parse_ctos_status_request()
366 while (PACKET_remaining(&responder_id_list) > 0) { in tls_parse_ctos_status_request()
372 || PACKET_remaining(&responder_id) == 0) { in tls_parse_ctos_status_request()
379 (int)PACKET_remaining(&responder_id)); in tls_parse_ctos_status_request()
406 if (PACKET_remaining(&exts) > 0) { in tls_parse_ctos_status_request()
412 d2i_X509_EXTENSIONS(NULL, &ext_data, (int)PACKET_remaining(&exts)); in tls_parse_ctos_status_request()
451 || PACKET_remaining(&protocol_list) < 2) { in tls_parse_ctos_alpn()
460 || PACKET_remaining(&protocol) == 0) { in tls_parse_ctos_alpn()
464 } while (PACKET_remaining(&protocol_list) != 0); 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()
569 || PACKET_remaining(&psk_kex_modes) == 0) { in tls_parse_ctos_psk_kex_modes()
644 if (s->s3.group_id != 0 && PACKET_remaining(&key_share_list) == 0) { in tls_parse_ctos_key_share()
654 while (PACKET_remaining(&key_share_list) > 0) { in tls_parse_ctos_key_share()
657 || PACKET_remaining(&encoded_pt) == 0) { in tls_parse_ctos_key_share()
675 || PACKET_remaining(&key_share_list) != 0)) { in tls_parse_ctos_key_share()
711 PACKET_remaining(&encoded_pt)) <= 0) { in tls_parse_ctos_key_share()
752 rawlen = PACKET_remaining(&raw); in tls_parse_ctos_cookie()
842 || PACKET_remaining(&cookie) != SHA256_DIGEST_LENGTH) { in tls_parse_ctos_cookie()
857 PACKET_remaining(&appcookie)) == 0) { in tls_parse_ctos_cookie()
918 PACKET_remaining(&chhash), hrr, in tls_parse_ctos_cookie()
941 || PACKET_remaining(&supported_groups_list) == 0 in tls_parse_ctos_supported_groups()
942 || (PACKET_remaining(&supported_groups_list) % 2) != 0) { in tls_parse_ctos_supported_groups()
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()
1050 for (id = 0; PACKET_remaining(&identities) != 0; id++) { in tls_parse_ctos_psk()
1061 idlen = PACKET_remaining(&identity); in tls_parse_ctos_psk()
1155 PACKET_remaining(&identity), NULL, 0, in tls_parse_ctos_psk()
1246 if (PACKET_remaining(&binder) != (size_t)hashsize) { in tls_parse_ctos_psk()
1272 if (PACKET_remaining(pkt) != 0) { in tls_parse_ctos_post_handshake_auth()
2057 if ((len = PACKET_remaining(&supported_cert_types)) == 0) { in tls_parse_ctos_client_cert_type()
2122 if ((len = PACKET_remaining(&supported_cert_types)) == 0) { in tls_parse_ctos_server_cert_type()