ref: f34b8f9637647eea4ea57f50b44238201ce5440d
dir: /sys/src/cmd/ssh/ciphernone.c/
#include "ssh.h"
static CipherState*
initnone(Conn*, int)
{
/* must be non-nil */
return (CipherState*)~0;
}
static void
encryptnone(CipherState*, uchar*, int)
{
}
static void
decryptnone(CipherState*, uchar*, int)
{
}
Cipher ciphernone =
{
SSH_CIPHER_NONE,
"none",
initnone,
encryptnone,
decryptnone,
};