| /freebsd-11-stable/crypto/openssh/ |
| HD | packet.h | 52 struct ssh { struct 54 struct session_state *state; 57 struct kex *kex; 60 char *remote_ipaddr; 84 typedef int (ssh_packet_hook_fn)(struct ssh *, struct sshbuf *, argument
|
| HD | packet.c | 234 struct ssh *ssh = NULL; in ssh_alloc_session_state() local 273 ssh_packet_set_input_hook(struct ssh *ssh, ssh_packet_hook_fn *hook, void *ctx) in ssh_packet_set_input_hook() 281 ssh_packet_is_rekeying(struct ssh *ssh) in ssh_packet_is_rekeying() 292 ssh_packet_set_connection(struct ssh *ssh, int fd_in, int fd_out) in ssh_packet_set_connection() 330 ssh_packet_set_timeout(struct ssh *ssh, int timeout, int count) in ssh_packet_set_timeout() 345 ssh_packet_set_mux(struct ssh *ssh) in ssh_packet_set_mux() 352 ssh_packet_get_mux(struct ssh *ssh) in ssh_packet_get_mux() 358 ssh_packet_set_log_preamble(struct ssh *ssh, const char *fmt, ...) in ssh_packet_set_log_preamble() 377 ssh_packet_stop_discard(struct ssh *ssh) in ssh_packet_stop_discard() 404 ssh_packet_start_discard(struct ssh *ssh, struct sshenc *enc, in ssh_packet_start_discard() [all …]
|
| HD | ssh_api.c | 76 struct ssh *ssh; in ssh_init() local 138 ssh_free(struct ssh *ssh) in ssh_free() 163 ssh_set_app_data(struct ssh *ssh, void *app_data) in ssh_set_app_data() 169 ssh_get_app_data(struct ssh *ssh) in ssh_get_app_data() 176 ssh_add_hostkey(struct ssh *ssh, struct sshkey *key) in ssh_add_hostkey() 210 ssh_set_verify_host_key_callback(struct ssh *ssh, in ssh_set_verify_host_key_callback() 222 ssh_input_append(struct ssh *ssh, const u_char *data, size_t len) in ssh_input_append() 228 ssh_packet_next(struct ssh *ssh, u_char *typep) in ssh_packet_next() 269 ssh_packet_payload(struct ssh *ssh, size_t *lenp) in ssh_packet_payload() 275 ssh_packet_put(struct ssh *ssh, int type, const u_char *data, size_t len) in ssh_packet_put() [all …]
|
| HD | opacket.c | 14 ssh_packet_start(struct ssh *ssh, u_char type) in ssh_packet_start() 23 ssh_packet_put_char(struct ssh *ssh, int value) in ssh_packet_put_char() 33 ssh_packet_put_int(struct ssh *ssh, u_int value) in ssh_packet_put_int() 42 ssh_packet_put_int64(struct ssh *ssh, u_int64_t value) in ssh_packet_put_int64() 51 ssh_packet_put_string(struct ssh *ssh, const void *buf, u_int len) in ssh_packet_put_string() 60 ssh_packet_put_cstring(struct ssh *ssh, const char *str) in ssh_packet_put_cstring() 69 ssh_packet_put_raw(struct ssh *ssh, const void *buf, u_int len) in ssh_packet_put_raw() 79 ssh_packet_put_bignum(struct ssh *ssh, BIGNUM * value) in ssh_packet_put_bignum() 90 ssh_packet_put_bignum2(struct ssh *ssh, BIGNUM * value) in ssh_packet_put_bignum2() 100 ssh_packet_put_ecpoint(struct ssh *ssh, const EC_GROUP *curve, in ssh_packet_put_ecpoint() [all …]
|
| HD | dispatch.c | 44 struct ssh *ssh = active_state; /* XXX */ in dispatch_protocol_error() local 59 dispatch_protocol_ignore(int type, u_int32_t seq, void *ssh) in dispatch_protocol_ignore() 66 ssh_dispatch_init(struct ssh *ssh, dispatch_fn *dflt) in ssh_dispatch_init() 74 ssh_dispatch_range(struct ssh *ssh, u_int from, u_int to, dispatch_fn *fn) in ssh_dispatch_range() 86 ssh_dispatch_set(struct ssh *ssh, int type, dispatch_fn *fn) in ssh_dispatch_set() 92 ssh_dispatch_run(struct ssh *ssh, int mode, volatile sig_atomic_t *done, in ssh_dispatch_run() 135 ssh_dispatch_run_fatal(struct ssh *ssh, int mode, volatile sig_atomic_t *done, in ssh_dispatch_run_fatal()
|
| HD | kex.c | 328 struct ssh *ssh = active_state; /* XXX */ in kex_protocol_error() local 340 kex_reset_dispatch(struct ssh *ssh) in kex_reset_dispatch() 347 kex_send_ext_info(struct ssh *ssh) in kex_send_ext_info() 368 kex_send_newkeys(struct ssh *ssh) in kex_send_newkeys() 388 struct ssh *ssh = ctxt; in kex_input_ext_info() local 427 struct ssh *ssh = ctxt; in kex_input_newkeys() local 448 kex_send_kexinit(struct ssh *ssh) in kex_send_kexinit() 480 struct ssh *ssh = ctxt; in kex_input_kexinit() local 531 kex_new(struct ssh *ssh, char *proposal[PROPOSAL_MAX], struct kex **kexp) in kex_new() 617 kex_setup(struct ssh *ssh, char *proposal[PROPOSAL_MAX]) in kex_setup() [all …]
|
| HD | kexgexs.c | 61 kexgex_server(struct ssh *ssh) in kexgex_server() 72 struct ssh *ssh = ctxt; in input_kex_dh_gex_request() local 125 struct ssh *ssh = ctxt; in input_kex_dh_gex_init() local
|
| HD | kexgexc.c | 58 kexgex_client(struct ssh *ssh) in kexgex_client() 94 struct ssh *ssh = ctxt; in input_kex_dh_gex_group() local 148 struct ssh *ssh = ctxt; in input_kex_dh_gex_reply() local
|
| HD | auth.c | 104 struct ssh *ssh = active_state; /* XXX */ in allowed_user() local 293 struct ssh *ssh = active_state; /* XXX */ in auth_log() local 354 struct ssh *ssh = active_state; /* XXX */ in auth_maxtries_exceeded() local 372 struct ssh *ssh = active_state; /* XXX */ in auth_root_allowed() local 631 struct ssh *ssh = active_state; /* XXX */ in getpwnamallow() local 814 remote_hostname(struct ssh *ssh) in remote_hostname() 903 auth_get_canonical_hostname(struct ssh *ssh, int use_dns) in auth_get_canonical_hostname()
|
| HD | kexc25519c.c | 50 kexc25519_client(struct ssh *ssh) in kexc25519_client() 74 struct ssh *ssh = ctxt; in input_kex_c25519_reply() local
|
| HD | kexc25519s.c | 47 kexc25519_server(struct ssh *ssh) in kexc25519_server() 57 struct ssh *ssh = ctxt; in input_kex_c25519_init() local
|
| HD | kexdhc.c | 55 kexdh_client(struct ssh *ssh) in kexdh_client() 105 struct ssh *ssh = ctxt; in input_kex_dh() local
|
| HD | kexecdhs.c | 53 kexecdh_server(struct ssh *ssh) in kexecdh_server() 63 struct ssh *ssh = ctxt; in input_kex_ecdh_init() local
|
| HD | kexdhs.c | 55 kexdh_server(struct ssh *ssh) in kexdh_server() 96 struct ssh *ssh = ctxt; in input_kex_dh_init() local
|
| HD | kexecdhc.c | 55 kexecdh_client(struct ssh *ssh) in kexecdh_client() 100 struct ssh *ssh = ctxt; in input_kex_ecdh_reply() local
|
| HD | sshd.c | 382 sshd_exchange_identification(struct ssh *ssh, int sock_in, int sock_out) in sshd_exchange_identification() 768 get_hostkey_by_type(int type, int nid, int need_private, struct ssh *ssh) 796 get_hostkey_public_by_type(int type, int nid, struct ssh *ssh) 802 get_hostkey_private_by_type(int type, int nid, struct ssh *ssh) 816 get_hostkey_public_by_index(int ind, struct ssh *ssh) 824 get_hostkey_index(Key *key, int compare, struct ssh *ssh) 851 notify_hostkeys(struct ssh *ssh) 1348 check_ip_options(struct ssh *ssh) 1384 struct ssh *ssh = NULL; local
|
| HD | auth-options.c | 124 struct ssh *ssh = active_state; /* XXX */ in auth_parse_options() local 462 struct ssh *ssh = active_state; /* XXX */ in parse_option_list() local
|
| HD | audit-linux.c | 102 struct ssh *ssh = active_state; /* XXX */ in audit_event() local
|
| HD | session.c | 587 struct ssh *ssh = active_state; /* XXX */ in do_pre_login() local 619 struct ssh *ssh = active_state; /* XXX */ in do_exec() local 698 struct ssh *ssh = active_state; /* XXX */ in do_login() local 982 struct ssh *ssh = active_state; /* XXX */ in do_setup_env() local 2315 struct ssh *ssh = active_state; /* XXX */ in session_close() local 2589 session_get_remote_name_or_ip(struct ssh *ssh, u_int utmp_size, int use_dns) in session_get_remote_name_or_ip()
|
| HD | auth2-hostbased.c | 163 struct ssh *ssh = active_state; /* XXX */ in hostbased_key_allowed() local
|
| HD | monitor.c | 286 struct ssh *ssh = active_state; /* XXX */ in monitor_child_preauth() local 598 struct ssh *ssh = active_state; /* XXX */ in mm_answer_sign() local 700 struct ssh *ssh = active_state; /* XXX */ in mm_answer_pwnamallow() local 1396 struct ssh *ssh = active_state; /* XXX */ in mm_record_login() local 1584 struct ssh *ssh = active_state; /* XXX */ in monitor_apply_keystate() local
|
| HD | auth2.c | 217 struct ssh *ssh = active_state; /* XXX */ in input_userauth_request() local 325 struct ssh *ssh = active_state; /* XXX */ in userauth_finish() local
|
| HD | sshconnect2.c | 96 verify_host_key_callback(Key *hostkey, struct ssh *ssh) in verify_host_key_callback() 368 struct ssh *ssh = active_state; in ssh_userauth2() local 418 struct ssh *ssh = active_state; in input_userauth_service_accept() local 1001 struct ssh *ssh = active_state; in key_sign_encode() local 1727 struct ssh *ssh = active_state; in userauth_hostbased() local
|
| HD | serverloop.c | 284 struct ssh *ssh = active_state; /* XXX */ in process_input() local 638 struct ssh *ssh = active_state; /* XXX */ in server_input_hostkeys_prove() local
|
| HD | auth-pam.c | 626 struct ssh *ssh = active_state; /* XXX */ in sshpam_init() local 718 struct ssh *ssh = active_state; /* XXX */ in sshpam_query() local
|