comparison kex.h @ 756:bf9dc2d9c2b1 ecc

more bits on ecc branch
author Matt Johnston <matt@ucc.asn.au>
date Wed, 27 Mar 2013 00:38:03 +0800
parents b07eb3dc23ec
children 76fba0856749
comparison
equal deleted inserted replaced
755:b07eb3dc23ec 756:bf9dc2d9c2b1
71 unsigned int datatrans; /* data transmitted since last kex */ 71 unsigned int datatrans; /* data transmitted since last kex */
72 unsigned int datarecv; /* data received since last kex */ 72 unsigned int datarecv; /* data received since last kex */
73 73
74 }; 74 };
75 75
76 #define DH_P_1_LEN 128
77 extern const const unsigned char dh_p_1[DH_P_1_LEN];
78 #define DH_P_14_LEN 256
79 const unsigned char dh_p_14[DH_P_14_LEN] = {
80
76 struct kex_dh_param { 81 struct kex_dh_param {
77 mp_int pub; 82 mp_int pub;
78 mp_int priv; 83 mp_int priv;
79 }; 84 };
80 85