Warning: Attempt to read property "date" on null in /usr/local/www/websvn.planix.org/blame.php on line 247

Warning: Attempt to read property "msg" on null in /usr/local/www/websvn.planix.org/blame.php on line 247
WebSVN – planix.SVN – Blame – /os/branches/feature_tlsv12/sys/src/cmd/ssh1/ciphernone.c – Rev 2

Subversion Repositories planix.SVN

Rev

Go to most recent revision | Details | Last modification | View Log | RSS feed

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