[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 and 1.22.2.2

version 1.22, 2001/04/04 20:25:37 version 1.22.2.2, 2002/03/09 00:20:44
Line 1 
Line 1 
 /*      $OpenBSD$       */  /*      $OpenBSD$       */
   
 /*  /*
  * Copyright (c) 2000 Markus Friedl.  All rights reserved.   * Copyright (c) 2000, 2001 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 107 
Line 109 
         int     flags;          int     flags;
         char    *client_version_string;          char    *client_version_string;
         char    *server_version_string;          char    *server_version_string;
         int     (*check_host_key)(Key *hostkey);          int     (*verify_host_key)(Key *);
         Key     *(*load_host_key)(int type);          Key     *(*load_host_key)(int);
 };  };
   
 Kex     *kex_setup(char *proposal[PROPOSAL_MAX]);  Kex     *kex_setup(char *[PROPOSAL_MAX]);
 void    kex_finish(Kex *kex);  void     kex_finish(Kex *);
   
 void    kex_send_kexinit(Kex *kex);  void     kex_send_kexinit(Kex *);
 void    kex_input_kexinit(int type, int plen, void *ctxt);  void     kex_input_kexinit(int, u_int32_t, void *);
 void    kex_derive_keys(Kex *k, u_char *hash, BIGNUM *shared_secret);  void     kex_derive_keys(Kex *, u_char *, BIGNUM *);
   
 void    kexdh(Kex *);  void     kexdh(Kex *);
 void    kexgex(Kex *);  void     kexgex(Kex *);
   
 Newkeys *kex_get_newkeys(int mode);  Newkeys *kex_get_newkeys(int);
   
 #if defined(DEBUG_KEX) || defined(DEBUG_KEXDH)  #if defined(DEBUG_KEX) || defined(DEBUG_KEXDH)
 void    dump_digest(char *msg, u_char *digest, int len);  void    dump_digest(char *, u_char *, int);
 #endif  #endif
   
 #endif  #endif

Legend:
Removed from v.1.22  
changed lines
  Added in v.1.22.2.2