Lines Matching refs:sshbuf_len
259 if (sshbuf_len(ssh->kex->client_version) == 0 || in ssh_packet_next()
260 sshbuf_len(ssh->kex->server_version) == 0) in ssh_packet_next()
311 *len = sshbuf_len(output); in ssh_output_ptr()
349 if (j >= sshbuf_len(input)) in _ssh_read_banner()
362 if (sshbuf_len(banner) > SSH_MAX_BANNER_LEN) in _ssh_read_banner()
365 if (sshbuf_len(banner) >= 4 && in _ssh_read_banner()
368 debug_f("%.*s", (int)sshbuf_len(banner), in _ssh_read_banner()
384 (remote_version = calloc(1, sshbuf_len(banner))) == NULL) { in _ssh_read_banner()
450 if (sshbuf_len(ssh->kex->server_version) == 0) in _ssh_exchange_banner()
453 sshbuf_len(ssh->kex->server_version) != 0 && in _ssh_exchange_banner()
454 sshbuf_len(ssh->kex->client_version) == 0) in _ssh_exchange_banner()
457 if (sshbuf_len(ssh->kex->server_version) == 0) in _ssh_exchange_banner()
460 sshbuf_len(ssh->kex->server_version) != 0 && in _ssh_exchange_banner()
461 sshbuf_len(ssh->kex->client_version) == 0) in _ssh_exchange_banner()
467 if (sshbuf_len(ssh->kex->server_version) != 0 && in _ssh_exchange_banner()
468 sshbuf_len(ssh->kex->client_version) != 0) { in _ssh_exchange_banner()