Home
last modified time | relevance | path

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

/freebsd/crypto/openssh/
H A Dkex.c743 free(kex->hostkey_alg); in kex_free()
879 free(k->hostkey_alg); in choose_hostkeyalg()
880 k->hostkey_alg = match_list(client, server, NULL); in choose_hostkeyalg()
883 k->hostkey_alg ? k->hostkey_alg : "(no match)"); in choose_hostkeyalg()
884 if (k->hostkey_alg == NULL) in choose_hostkeyalg()
886 k->hostkey_type = sshkey_type_from_name(k->hostkey_alg); in choose_hostkeyalg()
888 error_f("unsupported hostkey algorithm %s", k->hostkey_alg); in choose_hostkeyalg()
891 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 Dkexgexs.c185 &signature, &slen, hash, hashlen, kex->hostkey_alg)) < 0) in input_kex_dh_gex_init()
H A Dkex.h148 char *hostkey_alg; member
H A Dkexgexc.c206 hashlen, kex->hostkey_alg, ssh->compat, NULL)) != 0) in input_kex_dh_gex_reply()
H A Dserverloop.c659 ssh->kex->hostkey_alg)) == KEY_RSA) in server_input_hostkeys_prove()
660 kex_rsa_sigalg = ssh->kex->hostkey_alg; in server_input_hostkeys_prove()
H A Dmonitor_wrap.c264 const u_char *data, size_t datalen, const char *hostkey_alg, in mm_sshkey_sign() argument
277 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign()
H A Dclientloop.c2350 ssh->kex->hostkey_alg)) == KEY_RSA) in client_global_hostkeys_prove_confirm()
2351 rsa_kexalg = ssh->kex->hostkey_alg; in client_global_hostkeys_prove_confirm()
H A Dpacket.c2354 (r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 || in kex_to_blob()
2517 (r = sshbuf_get_cstring(m, &kex->hostkey_alg, NULL)) != 0 || in kex_from_blob()