~ubuntu-branches/ubuntu/utopic/dropbear/utopic-proposed

« back to all changes in this revision

Viewing changes to kex.h

  • Committer: Bazaar Package Importer
  • Author(s): Matt Johnston
  • Date: 2005-12-08 19:20:21 UTC
  • mfrom: (1.2.2 upstream)
  • Revision ID: james.westby@ubuntu.com-20051208192021-nyp9rwnt77nsg6ty
Tags: 0.47-1
* New upstream release.
* SECURITY: Fix incorrect buffer sizing.

Show diffs side-by-side

added added

removed removed

Lines of Context:
37
37
void kexdh_comb_key(mp_int *dh_pub_us, mp_int *dh_priv, mp_int *dh_pub_them,
38
38
                sign_key *hostkey);
39
39
 
40
 
void recv_msg_kexdh_init(); // server
41
 
 
42
 
void send_msg_kexdh_init(); // client
43
 
void recv_msg_kexdh_reply(); // client
44
 
 
45
 
extern const unsigned char dh_p_val[];
46
 
#define DH_P_LEN 128 /* The length of the dh_p_val array */
47
 
 
48
 
extern const int DH_G_VAL; /* == 2 */
 
40
void recv_msg_kexdh_init(); /* server */
 
41
 
 
42
void send_msg_kexdh_init(); /* client */
 
43
void recv_msg_kexdh_reply(); /* client */
49
44
 
50
45
struct KEXState {
51
46