Develop and Download Open Source Software

Browse Subversion Repository

Diff of /branches/ssh_chacha20poly1305/ttssh2/ttxssh/kex.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4305 by maya, Mon Feb 14 14:30:19 2011 UTC revision 4314 by maya, Wed Feb 16 15:55:41 2011 UTC
# Line 57  unsigned char *kex_dh_gex_hash(const EVP Line 57  unsigned char *kex_dh_gex_hash(const EVP
57                                 BIGNUM *server_dh_pub,                                 BIGNUM *server_dh_pub,
58                                 BIGNUM *shared_secret,                                 BIGNUM *shared_secret,
59                                 unsigned int *hashlen);                                 unsigned int *hashlen);
60    unsigned char *kex_ecdh_hash(const EVP_MD *evp_md,
61                                 const EC_GROUP *ec_group,
62                                 char *client_version_string,
63                                 char *server_version_string,
64                                 char *ckexinit, int ckexinitlen,
65                                 char *skexinit, int skexinitlen,
66                                 u_char *serverhostkeyblob, int sbloblen,
67                                 const EC_POINT *client_dh_pub,
68                                 const EC_POINT *server_dh_pub,
69                                 BIGNUM *shared_secret,
70                                   unsigned int *hashlen);
71    
72  int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub);  int dh_pub_is_valid(DH *dh, BIGNUM *dh_pub);
73    int key_ec_validate_public(const EC_GROUP *group, const EC_POINT *public);
74  void kex_derive_keys(PTInstVar pvar, int need, u_char *hash, BIGNUM *shared_secret,  void kex_derive_keys(PTInstVar pvar, int need, u_char *hash, BIGNUM *shared_secret,
75                       char *session_id, int session_id_len);                       char *session_id, int session_id_len);

Legend:
Removed from v.4305  
changed lines
  Added in v.4314

Back to OSDN">Back to OSDN
ViewVC Help
Powered by ViewVC 1.1.26