Lines Matching refs:PACKET_remaining
1289 cookie_len = PACKET_remaining(&cookiepkt); in dtls_process_hello_verify()
1396 && PACKET_remaining(pkt) >= SSL3_RANDOM_SIZE in tls_process_server_hello()
1416 session_id_len = PACKET_remaining(&session_id); in tls_process_server_hello()
1434 if (PACKET_remaining(pkt) == 0 && !hrr) { in tls_process_server_hello()
1437 || PACKET_remaining(pkt) != 0) { in tls_process_server_hello()
1783 || PACKET_remaining(pkt) != cert_list_len in tls_process_server_certificate()
1784 || PACKET_remaining(pkt) == 0) { in tls_process_server_certificate()
1788 for (chainidx = 0; PACKET_remaining(pkt); chainidx++) { in tls_process_server_certificate()
1826 PACKET_remaining(pkt) == 0)) { in tls_process_server_certificate()
1952 if (PACKET_remaining(&psk_identity_hint) > PSK_MAX_IDENTITY_LEN) { in tls_process_ske_psk_preamble()
1957 if (PACKET_remaining(&psk_identity_hint) == 0) { in tls_process_ske_psk_preamble()
1988 (int)PACKET_remaining(&prime), NULL)) == NULL in tls_process_ske_srp()
1991 (int)PACKET_remaining(&generator), NULL)) == NULL in tls_process_ske_srp()
1994 (int)PACKET_remaining(&salt), NULL)) == NULL in tls_process_ske_srp()
1997 (int)PACKET_remaining(&server_pub), NULL)) == NULL) { in tls_process_ske_srp()
2035 p = BN_bin2bn(PACKET_data(&prime), (int)PACKET_remaining(&prime), NULL); in tls_process_ske_dhe()
2036 g = BN_bin2bn(PACKET_data(&generator), (int)PACKET_remaining(&generator), in tls_process_ske_dhe()
2039 (int)PACKET_remaining(&pub_key), NULL); in tls_process_ske_dhe()
2151 PACKET_remaining(&encoded_pt)) <= 0) { in tls_process_ske_ecdhe()
2229 PACKET_remaining(&save_param_start) - in tls_process_key_exchange()
2230 PACKET_remaining(pkt))) { in tls_process_key_exchange()
2261 || PACKET_remaining(pkt) != 0) { in tls_process_key_exchange()
2288 PACKET_remaining(¶ms)); in tls_process_key_exchange()
2295 PACKET_remaining(&signature), tbs, tbslen); 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()
2462 || (SSL_IS_TLS13(s) ? (ticklen == 0 || PACKET_remaining(pkt) < ticklen) in tls_process_new_session_ticket()
2463 : PACKET_remaining(pkt) != ticklen)) { in tls_process_new_session_ticket()
2535 || PACKET_remaining(pkt) != 0) { in tls_process_new_session_ticket()
2601 PACKET_remaining(&nonce), in tls_process_new_session_ticket()
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()
3626 || PACKET_remaining(pkt) != 0) { in tls_process_encrypted_extensions()