1 #include "ssh.h" 2 3 static CipherState* initnone(Conn *,int)4initnone(Conn*, int) 5 { 6 /* must be non-nil */ 7 return (CipherState*)~0; 8 } 9 10 static void encryptnone(CipherState *,uchar *,int)11encryptnone(CipherState*, uchar*, int) 12 { 13 } 14 15 static void decryptnone(CipherState *,uchar *,int)16decryptnone(CipherState*, uchar*, int) 17 { 18 } 19 20 Cipher ciphernone = 21 { 22 SSH_CIPHER_NONE, 23 "none", 24 initnone, 25 encryptnone, 26 decryptnone, 27 }; 28 29