diff options
Diffstat (limited to 'kex.h')
-rw-r--r-- | kex.h | 13 |
1 files changed, 9 insertions, 4 deletions
@@ -91,12 +91,17 @@ struct Kex { | |||
91 | }; | 91 | }; |
92 | 92 | ||
93 | Buffer *kex_init(char *myproposal[PROPOSAL_MAX]); | 93 | Buffer *kex_init(char *myproposal[PROPOSAL_MAX]); |
94 | int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); | 94 | void |
95 | DH *dh_new_group1(); | 95 | kex_exchange_kexinit( |
96 | Kex *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]); | ||
98 | Kex * | ||
99 | kex_choose_conf(char *cprop[PROPOSAL_MAX], | ||
100 | char *sprop[PROPOSAL_MAX], int server); | ||
97 | int kex_derive_keys(Kex *k, unsigned char *hash, BIGNUM *shared_secret); | 101 | int kex_derive_keys(Kex *k, unsigned char *hash, BIGNUM *shared_secret); |
98 | void bignum_print(BIGNUM *b); | ||
99 | void packet_set_kex(Kex *k); | 102 | void packet_set_kex(Kex *k); |
103 | int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub); | ||
104 | DH *dh_new_group1(); | ||
100 | 105 | ||
101 | unsigned char * | 106 | unsigned char * |
102 | kex_hash( | 107 | kex_hash( |