rminnichinitial1fcdf7916 years agoHistory
28 lines · 380 B · C
RawDownload
#include "ssh.h" static CipherState*inittwiddle(Conn *c, int){	/* must be non-nil */	fprint(2, "twiddle key is %.*H\n", SESSKEYLEN, c->sesskey);	return (CipherState*)~0;} static voidtwiddle(CipherState*, uchar *buf, int n){	int i; 	for(i=0; i<n; i++)		buf[i] ^= 0xFF;} Cipher ciphertwiddle ={	SSH_CIPHER_TWIDDLE,	"twiddle",	inittwiddle,	twiddle,	twiddle,}; 

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t