comparison kex.h @ 501:d58c478bd399

Add support for [email protected] delayed compression. Are still advertising 'zlib' for the server, need to allow delayed-only as an option
author Matt Johnston <matt@ucc.asn.au>
date Mon, 29 Sep 2008 02:23:04 +0000
parents 7e43f5e473b9
children 895fbe068f2c 76097ec1a29a
comparison
equal deleted inserted replaced
499:f3ca5ebc319a 501:d58c478bd399
35 void kexfirstinitialise(); 35 void kexfirstinitialise();
36 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv); 36 void gen_kexdh_vals(mp_int *dh_pub, mp_int *dh_priv);
37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them, 37 void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
38 sign_key *hostkey); 38 sign_key *hostkey);
39 39
40 #ifndef DISABLE_ZLIB
41 int is_compress_trans();
42 int is_compress_recv();
43 #endif
44
40 void recv_msg_kexdh_init(); /* server */ 45 void recv_msg_kexdh_init(); /* server */
41 46
42 void send_msg_kexdh_init(); /* client */ 47 void send_msg_kexdh_init(); /* client */
43 void recv_msg_kexdh_reply(); /* client */ 48 void recv_msg_kexdh_reply(); /* client */
44 49