| /plan9/sys/src/cmd/ssh2/ |
| H A D | cipheraes.c | 12 struct CipherState { struct 16 static CipherState * argument 19 CipherState *cs; in initaes() 22 cs = emalloc9p(sizeof(CipherState)); in initaes() 31 static CipherState* 37 static CipherState* 43 static CipherState* 50 encryptaes(CipherState *cs, uchar *buf, int nbuf) in encryptaes() 60 decryptaes(CipherState *cs, uchar *buf, int nbuf) in decryptaes()
|
| H A D | cipherrc4.c | 10 struct CipherState { struct 14 static CipherState* argument 17 CipherState *cs; in initrc4() 19 cs = emalloc9p(sizeof(CipherState)); in initrc4() 28 encryptrc4(CipherState *cs, uchar *buf, int nbuf) in encryptrc4() 34 decryptrc4(CipherState *cs, uchar *buf, int nbuf) in decryptrc4()
|
| H A D | cipher3des.c | 10 struct CipherState { struct 14 static CipherState* argument 17 CipherState *cs; in init3des() 20 cs = emalloc9p(sizeof(CipherState)); in init3des() 32 encrypt3des(CipherState *cs, uchar *buf, int nbuf) in encrypt3des() 38 decrypt3des(CipherState *cs, uchar *buf, int nbuf) in decrypt3des()
|
| H A D | cipherblowfish.c | 10 struct CipherState { struct 14 static CipherState* argument 18 CipherState *cs; in initblowfish() 35 cs = emalloc9p(sizeof(CipherState)); in initblowfish() 46 encryptblowfish(CipherState *cs, uchar *buf, int nbuf) in encryptblowfish() 52 decryptblowfish(CipherState *cs, uchar *buf, int nbuf) in decryptblowfish()
|
| H A D | netssh.h | 135 typedef struct CipherState CipherState; typedef 144 #pragma incomplete CipherState 274 CipherState *s2ccs; 275 CipherState *c2scs; 276 CipherState *enccs; 277 CipherState *deccs; 295 CipherState *(*init)(Conn*, int); 296 void (*encrypt)(CipherState*, uchar*, int); 297 void (*decrypt)(CipherState*, uchar*, int);
|
| /plan9/sys/src/cmd/ssh1/ |
| H A D | cipherdes.c | 3 struct CipherState struct 9 static CipherState* argument 12 CipherState *cs; in initdes() 14 cs = emalloc(sizeof(CipherState)); in initdes() 21 encryptdes(CipherState *cs, uchar *buf, int nbuf) in encryptdes() 27 decryptdes(CipherState *cs, uchar *buf, int nbuf) in decryptdes()
|
| H A D | cipherblowfish.c | 3 struct CipherState struct 9 static CipherState* argument 12 CipherState *cs; in initblowfish() 14 cs = emalloc(sizeof(CipherState)); in initblowfish() 21 encryptblowfish(CipherState *cs, uchar *buf, int nbuf) in encryptblowfish() 27 decryptblowfish(CipherState *cs, uchar *buf, int nbuf) in decryptblowfish()
|
| H A D | cipherrc4.c | 3 struct CipherState struct 9 static CipherState* argument 12 CipherState *cs; in initrc4() 14 cs = emalloc(sizeof(CipherState)); in initrc4() 26 encryptrc4(CipherState *cs, uchar *buf, int nbuf) in encryptrc4() 32 decryptrc4(CipherState *cs, uchar *buf, int nbuf) in decryptrc4()
|
| H A D | cipher3des.c | 3 struct CipherState struct 9 static CipherState* argument 13 CipherState *cs; in init3des() 15 cs = emalloc(sizeof(CipherState)); in init3des() 24 encrypt3des(CipherState *cs, uchar *buf, int nbuf) in encrypt3des() 32 decrypt3des(CipherState *cs, uchar *buf, int nbuf) in decrypt3des()
|
| H A D | ciphernone.c | 3 static CipherState* 7 return (CipherState*)~0; in initnone() 11 encryptnone(CipherState*, uchar*, int) in encryptnone() argument 16 decryptnone(CipherState*, uchar*, int) in decryptnone() argument
|
| H A D | ciphertwiddle.c | 3 static CipherState* 8 return (CipherState*)~0; in inittwiddle() 12 twiddle(CipherState*, uchar *buf, int n) in twiddle() argument
|
| H A D | ssh.h | 132 typedef struct CipherState CipherState; typedef 136 #pragma incomplete CipherState 157 CipherState *(*init)(Conn*, int isserver); 158 void (*encrypt)(CipherState*, uchar*, int); 159 void (*decrypt)(CipherState*, uchar*, int); 166 CipherState *cstate;
|