Home
last modified time | relevance | path

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

/freebsd-13.1/crypto/openssh/
H A Dkex.c703 free(kex->hostkey_alg); in kex_free()
843 free(k->hostkey_alg); in choose_hostkeyalg()
844 k->hostkey_alg = match_list(client, server, NULL); in choose_hostkeyalg()
847 k->hostkey_alg ? k->hostkey_alg : "(no match)"); in choose_hostkeyalg()
848 if (k->hostkey_alg == NULL) in choose_hostkeyalg()
850 k->hostkey_type = sshkey_type_from_name(k->hostkey_alg); in choose_hostkeyalg()
852 error_f("unsupported hostkey algorithm %s", k->hostkey_alg); in choose_hostkeyalg()
855 k->hostkey_nid = sshkey_ecdsa_nid_from_name(k->hostkey_alg); in choose_hostkeyalg()
H A Dkexgen.c218 kex->hostkey_alg, ssh->compat, NULL)) != 0) in input_kex_gen_reply()
325 &signature, &slen, hash, hashlen, kex->hostkey_alg)) != 0) in input_kex_gen_init()
H A Dkexgexs.c186 &signature, &slen, hash, hashlen, kex->hostkey_alg)) < 0) in input_kex_dh_gex_init()
H A Dkex.h140 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.c696 sshkey_type_from_name(ssh->kex->hostkey_alg)); in server_input_hostkeys_prove()
738 use_kexsigtype ? ssh->kex->hostkey_alg : NULL)) != 0 || in server_input_hostkeys_prove()
H A Dmonitor_wrap.c218 const u_char *data, size_t datalen, const char *hostkey_alg, in mm_sshkey_sign() argument
231 (r = sshbuf_put_cstring(m, hostkey_alg)) != 0 || in mm_sshkey_sign()
H A Dclientloop.c2114 sshkey_type_from_name(ssh->kex->hostkey_alg)); in client_global_hostkeys_private_confirm()
2147 use_kexsigtype ? ssh->kex->hostkey_alg : "default"); in client_global_hostkeys_private_confirm()
2150 use_kexsigtype ? ssh->kex->hostkey_alg : NULL, 0, in client_global_hostkeys_private_confirm()
H A Dpacket.c2208 (r = sshbuf_put_cstring(m, kex->hostkey_alg)) != 0 || in kex_to_blob()
2370 (r = sshbuf_get_cstring(m, &kex->hostkey_alg, NULL)) != 0 || in kex_from_blob()
H A DChangeLog5153 upstream: fix minor memleak of kex->hostkey_alg on rekex