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

Diff for /src/usr.bin/ssh/cipher.h between version 1.33 and 1.33.8.2

version 1.33, 2002/03/18 17:13:15 version 1.33.8.2, 2004/08/19 22:37:31
Line 43 
Line 43 
  * be removed for compatibility.  The maximum allowed value is 31.   * be removed for compatibility.  The maximum allowed value is 31.
  */   */
 #define SSH_CIPHER_SSH2         -3  #define SSH_CIPHER_SSH2         -3
 #define SSH_CIPHER_ILLEGAL      -2      /* No valid cipher selected. */  #define SSH_CIPHER_INVALID      -2      /* No valid cipher selected. */
 #define SSH_CIPHER_NOT_SET      -1      /* None selected (invalid number). */  #define SSH_CIPHER_NOT_SET      -1      /* None selected (invalid number). */
 #define SSH_CIPHER_NONE         0       /* no encryption */  #define SSH_CIPHER_NONE         0       /* no encryption */
 #define SSH_CIPHER_IDEA         1       /* IDEA CFB */  #define SSH_CIPHER_IDEA         1       /* IDEA CFB */
Line 79 
Line 79 
 void     cipher_crypt(CipherContext *, u_char *, const u_char *, u_int);  void     cipher_crypt(CipherContext *, u_char *, const u_char *, u_int);
 void     cipher_cleanup(CipherContext *);  void     cipher_cleanup(CipherContext *);
 void     cipher_set_key_string(CipherContext *, Cipher *, const char *, int);  void     cipher_set_key_string(CipherContext *, Cipher *, const char *, int);
 u_int    cipher_blocksize(Cipher *);  u_int    cipher_blocksize(const Cipher *);
 u_int    cipher_keylen(Cipher *);  u_int    cipher_keylen(const Cipher *);
   
 u_int    cipher_get_number(Cipher *);  u_int    cipher_get_number(const Cipher *);
 void     cipher_get_keyiv(CipherContext *, u_char *, u_int);  void     cipher_get_keyiv(CipherContext *, u_char *, u_int);
 void     cipher_set_keyiv(CipherContext *, u_char *);  void     cipher_set_keyiv(CipherContext *, u_char *);
 int      cipher_get_keyiv_len(CipherContext *);  int      cipher_get_keyiv_len(const CipherContext *);
 int      cipher_get_keycontext(CipherContext *, u_char *);  int      cipher_get_keycontext(const CipherContext *, u_char *);
 void     cipher_set_keycontext(CipherContext *, u_char *);  void     cipher_set_keycontext(CipherContext *, u_char *);
 #endif                          /* CIPHER_H */  #endif                          /* CIPHER_H */

Legend:
Removed from v.1.33  
changed lines
  Added in v.1.33.8.2