Home | History | Annotate | Download | only in dist

Lines Matching refs:kex

75 #include "kex.h"
704 ssh->kex->hostkey_alg)) == KEY_RSA)
705 kex_rsa_sigalg = ssh->kex->hostkey_alg;
718 if ((ndx = ssh->kex->host_key_index(key, 1, ssh)) == -1) {
723 * XXX refactor: make kex->sign just use an index rather
736 * during KEX to the default (SHA1).
742 else if (ssh->kex->flags & KEX_RSA_SHA2_512_SUPPORTED)
744 else if (ssh->kex->flags & KEX_RSA_SHA2_256_SUPPORTED)
753 ssh->kex->session_id)) != 0 ||
755 (r = ssh->kex->sign(ssh, key_prv, key_pub, &sig, &slen,