diff options
author | khm <devnull@localhost> | 2017-01-12 16:36:38 -0800 |
---|---|---|
committer | khm <devnull@localhost> | 2017-01-12 16:36:38 -0800 |
commit | dc8c7bf2b73d608ac2483aee303a51a3507b4c5a (patch) | |
tree | f8c69dbf5f36de6f9acea724f2068054b5b8e7a6 /sys/src/cmd/ssh/ciphertwiddle.c | |
parent | cb1555c7d741fa482c339aa9ac8a44753e2ad296 (diff) |
ssh: R.I.P.
Diffstat (limited to 'sys/src/cmd/ssh/ciphertwiddle.c')
-rw-r--r-- | sys/src/cmd/ssh/ciphertwiddle.c | 28 |
1 files changed, 0 insertions, 28 deletions
diff --git a/sys/src/cmd/ssh/ciphertwiddle.c b/sys/src/cmd/ssh/ciphertwiddle.c deleted file mode 100644 index 4b3088eb1..000000000 --- a/sys/src/cmd/ssh/ciphertwiddle.c +++ /dev/null @@ -1,28 +0,0 @@ -#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 void -twiddle(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, -}; - |