Home | History | Annotate | Download | only in openssh

Lines Matching refs:ssh

50 kexc25519_client(struct ssh *ssh)
52 struct kex *kex = ssh->kex;
60 if ((r = sshpkt_start(ssh, SSH2_MSG_KEX_ECDH_INIT)) != 0 ||
61 (r = sshpkt_put_string(ssh, kex->c25519_client_pubkey,
63 (r = sshpkt_send(ssh)) != 0)
67 ssh_dispatch_set(ssh, SSH2_MSG_KEX_ECDH_REPLY, &input_kex_c25519_reply);
74 struct ssh *ssh = ctxt;
75 struct kex *kex = ssh->kex;
90 if ((r = sshpkt_get_string(ssh, &server_host_key_blob,
101 if (kex->verify_host_key(server_host_key, ssh) == -1) {
108 if ((r = sshpkt_get_string(ssh, &server_pubkey, &pklen)) != 0 ||
109 (r = sshpkt_get_string(ssh, &signature, &slen)) != 0 ||
110 (r = sshpkt_get_end(ssh)) != 0)
145 ssh->compat)) != 0)
159 if ((r = kex_derive_keys(ssh, hash, hashlen, shared_secret)) == 0)
160 r = kex_send_newkeys(ssh);