summaryrefslogtreecommitdiff
path: root/kex.h
diff options
context:
space:
mode:
authorDamien Miller <djm@mindrot.org>2000-05-30 13:44:51 +1000
committerDamien Miller <djm@mindrot.org>2000-05-30 13:44:51 +1000
commitb1715dc0cf5ea91707b437310f63b17bed2dc7a6 (patch)
treef7fe557697d12b37c6be6a97c6ce083d23fd07de /kex.h
parent9448c002db7427058ecca76760f3a75e379bf0a1 (diff)
- OpenBSD CVS updates:
- markus@cvs.openbsd.org [session.c] make x11-fwd work w/ localhost (xauth add host/unix:11) [cipher.c compat.c readconf.c servconf.c] check strtok() != NULL; ok niels@ [key.c] fix key_read() for uuencoded keys w/o '=' [serverloop.c] group ssh1 vs. ssh2 in serverloop [kex.c kex.h myproposal.h sshconnect2.c sshd.c] split kexinit/kexdh, factor out common code [readconf.c ssh.1 ssh.c] forwardagent defaults to no, add ssh -A - theo@cvs.openbsd.org [session.c] just some line shortening
Diffstat (limited to 'kex.h')
-rw-r--r--kex.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/kex.h b/kex.h
index 5395ebc3f..7e5c67024 100644
--- a/kex.h
+++ b/kex.h
@@ -91,12 +91,17 @@ struct Kex {
91}; 91};
92 92
93Buffer *kex_init(char *myproposal[PROPOSAL_MAX]); 93Buffer *kex_init(char *myproposal[PROPOSAL_MAX]);
94int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); 94void
95DH *dh_new_group1(); 95kex_exchange_kexinit(
96Kex *kex_choose_conf(char *cprop[PROPOSAL_MAX], char *sprop[PROPOSAL_MAX], int server); 96 Buffer *my_kexinit, Buffer *peer_kexint,
97 char *peer_proposal[PROPOSAL_MAX]);
98Kex *
99kex_choose_conf(char *cprop[PROPOSAL_MAX],
100 char *sprop[PROPOSAL_MAX], int server);
97int kex_derive_keys(Kex *k, unsigned char *hash, BIGNUM *shared_secret); 101int kex_derive_keys(Kex *k, unsigned char *hash, BIGNUM *shared_secret);
98void bignum_print(BIGNUM *b);
99void packet_set_kex(Kex *k); 102void packet_set_kex(Kex *k);
103int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub);
104DH *dh_new_group1();
100 105
101unsigned char * 106unsigned char *
102kex_hash( 107kex_hash(