[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.3 and 1.4

version 1.3, 1999/09/26 22:53:25 version 1.4, 1999/09/28 04:45:36
Line 17 
Line 17 
 #define CIPHER_H  #define CIPHER_H
   
 #include "des.h"  #include "des.h"
 #ifdef WITH_RC4  
 #include "rc4.h"  
 #endif  
 #include "blowfish.h"  #include "blowfish.h"
   
 /* Cipher types.  New types can be added, but old types should not be removed  /* Cipher types.  New types can be added, but old types should not be removed
    for compatibility.  The maximum allowed value is 31. */     for compatibility.  The maximum allowed value is 31. */
 #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 -- not implemented */  #define SSH_CIPHER_IDEA         1 /* IDEA CFB */
 #define SSH_CIPHER_DES          2 /* DES CBC */  #define SSH_CIPHER_DES          2 /* DES CBC */
 #define SSH_CIPHER_3DES         3 /* 3DES CBC */  #define SSH_CIPHER_3DES         3 /* 3DES CBC */
 #define SSH_CIPHER_TSS          4 /* TRI's Simple Stream encryption CBC */  #define SSH_CIPHER_TSS          4 /* TRI's Simple Stream encryption CBC */
Line 49 
Line 46 
       des_key_schedule key3;        des_key_schedule key3;
       des_cblock iv3;        des_cblock iv3;
     } des3;      } des3;
 #ifdef WITH_RC4  
     RC4Context rc4;  
 #endif  
     struct {      struct {
       struct bf_key_st key;        struct bf_key_st key;
       unsigned char iv[8];        unsigned char iv[8];

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4