[BACK]Return to kex.h CVS log [TXT][DIR] Up to [local] / src / usr.bin / ssh

Diff for /src/usr.bin/ssh/kex.h between version 1.22.2.3 and 1.23

version 1.22.2.3, 2002/06/02 22:56:10 version 1.23, 2001/06/23 02:34:28
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
   
 /*  /*
  * Copyright (c) 2000, 2001 Markus Friedl.  All rights reserved.   * Copyright (c) 2000 Markus Friedl.  All rights reserved.
  *   *
  * Redistribution and use in source and binary forms, with or without   * Redistribution and use in source and binary forms, with or without
  * modification, are permitted provided that the following conditions   * modification, are permitted provided that the following conditions
Line 71 
Line 71 
         char    *name;          char    *name;
         Cipher  *cipher;          Cipher  *cipher;
         int     enabled;          int     enabled;
         u_int   key_len;  
         u_int   block_size;  
         u_char  *key;          u_char  *key;
         u_char  *iv;          u_char  *iv;
 };  };
Line 109 
Line 107 
         int     flags;          int     flags;
         char    *client_version_string;          char    *client_version_string;
         char    *server_version_string;          char    *server_version_string;
         int     (*verify_host_key)(Key *);          int     (*verify_host_key)(Key *hostkey);
         Key     *(*load_host_key)(int);          Key     *(*load_host_key)(int type);
         int     (*host_key_index)(Key *);  
 };  };
   
 Kex     *kex_setup(char *[PROPOSAL_MAX]);  Kex     *kex_setup(char *proposal[PROPOSAL_MAX]);
 void     kex_finish(Kex *);  void    kex_finish(Kex *kex);
   
 void     kex_send_kexinit(Kex *);  void    kex_send_kexinit(Kex *kex);
 void     kex_input_kexinit(int, u_int32_t, void *);  void    kex_input_kexinit(int type, int plen, void *ctxt);
 void     kex_derive_keys(Kex *, u_char *, BIGNUM *);  void    kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret);
   
 void     kexdh(Kex *);  void    kexdh(Kex *);
 void     kexgex(Kex *);  void    kexgex(Kex *);
   
 Newkeys *kex_get_newkeys(int);  Newkeys *kex_get_newkeys(int mode);
   
 #if defined(DEBUG_KEX) || defined(DEBUG_KEXDH)  #if defined(DEBUG_KEX) || defined(DEBUG_KEXDH)
 void    dump_digest(char *, u_char *, int);  void    dump_digest(char *msg, u_char *digest, int len);
 #endif  #endif
   
 #endif  #endif

Legend:
Removed from v.1.22.2.3  
changed lines
  Added in v.1.23