summaryrefslogtreecommitdiff
path: root/sys/src/cmd/ssh/ciphertwiddle.c
diff options
context:
space:
mode:
Diffstat (limited to 'sys/src/cmd/ssh/ciphertwiddle.c')
-rw-r--r--sys/src/cmd/ssh/ciphertwiddle.c28
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,
-};
-