comparison kex.h @ 219:654bc8327787

merge of 9522146cb07d4576f161fc4567c2c2fbd6f61fbb and b11630c15bc4d0649dba51c3572cac6f44e0ab0e
author Matt Johnston <matt@ucc.asn.au>
date Fri, 08 Jul 2005 13:28:03 +0000
parents 161557a9dde8
children ad1b24e39bf3
comparison
equal deleted inserted replaced
218:3ee0c2f85e1e 219:654bc8327787
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 void recv_msg_kexdh_init(); // server 40 void recv_msg_kexdh_init(); /* server */
41 41
42 void send_msg_kexdh_init(); // client 42 void send_msg_kexdh_init(); /* client */
43 void recv_msg_kexdh_reply(); // client 43 void recv_msg_kexdh_reply(); /* client */
44 44
45 extern const unsigned char dh_p_val[]; 45 extern const unsigned char dh_p_val[];
46 #define DH_P_LEN 128 /* The length of the dh_p_val array */ 46 #define DH_P_LEN 128 /* The length of the dh_p_val array */
47 47
48 extern const int DH_G_VAL; /* == 2 */ 48 extern const int DH_G_VAL; /* == 2 */