Home
last modified time | relevance | path

Searched refs:hostkey_alg (Results 1 – 9 of 9) sorted by relevance

/freebsd/crypto/openssh/
H A Dkex.c752 free(kex->hostkey_alg); in kex_free()
889 free(k->hostkey_alg); in choose_hostkeyalg()
890 k->hostkey_alg = match_list(client, server, NULL); in choose_hostkeyalg()
893 k->hostkey_alg ? k->hostkey_alg : "(no match)"); in choose_hostkeyalg()
894 if (k->hostkey_alg == NULL) in choose_hostkeyalg()
896 k->hostkey_type = sshkey_type_from_name(k->hostkey_alg); in choose_hostkeyalg()
898 error_f("unsupported hostkey algorithm %s", k->hostkey_alg); in choose_hostkeyalg()
901 k->hostkey_nid = sshkey_ecdsa_nid_from_name(k->hostkey_alg); in choose_hostkeyalg()
H A Dkexgen.c225 kex->hostkey_alg, ssh->compat, NULL)) != 0) in input_kex_gen_reply()
356 &signature, &slen, hash, hashlen, kex->hostkey_alg)) != 0) in input_kex_gen_init()
H A Dmonitor_wrap.c274 const u_char *data, size_t datalen, const char *hostkey_alg, in mm_sshkey_sign() argument
285 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign()
296 debug3_f("%s signature len=%zu", hostkey_alg ? hostkey_alg : "(null)", in mm_sshkey_sign()
H A Dkexgexs.c184 &signature, &slen, hash, hashlen, kex->hostkey_alg)) < 0) in input_kex_dh_gex_init()
H A Dkex.h154 char *hostkey_alg; member
H A Dkexgexc.c205 hashlen, kex->hostkey_alg, ssh->compat, NULL)) != 0) in input_kex_dh_gex_reply()
H A Dserverloop.c684 ssh->kex->hostkey_alg)) == KEY_RSA) in server_input_hostkeys_prove()
685 kex_rsa_sigalg = ssh->kex->hostkey_alg; in server_input_hostkeys_prove()
H A Dpacket.c2424 (r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 || in kex_to_blob()
2598 (r = sshbuf_get_cstring(m, &kex->hostkey_alg, NULL)) != 0 || in kex_from_blob()
3114 kex->name, kex->hostkey_alg, in connection_info_message()
H A Dclientloop.c2384 ssh->kex->hostkey_alg)) == KEY_RSA) in client_global_hostkeys_prove_confirm()
2385 rsa_kexalg = ssh->kex->hostkey_alg; in client_global_hostkeys_prove_confirm()