]> asedeno.scripts.mit.edu Git - PuTTY.git/blobdiff - ssharcf.c
first pass
[PuTTY.git] / ssharcf.c
index cec65c11505a26e0cca6ef4cd8e9f7b7a3425521..d16ce22540b85a8f937c7f03cb3b06bddee8e612 100644 (file)
--- a/ssharcf.c
+++ b/ssharcf.c
@@ -100,17 +100,17 @@ static void arcfour_iv(void *handle, unsigned char *key)
 
 const struct ssh2_cipher ssh_arcfour128_ssh2 = {
     arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour128_key,
-    arcfour_block, arcfour_block,
+    arcfour_block, arcfour_block, NULL, NULL,
     "arcfour128",
-    1, 128, 0, "Arcfour-128",
+    1, 128, 16, 0, "Arcfour-128",
     NULL
 };
 
 const struct ssh2_cipher ssh_arcfour256_ssh2 = {
     arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour256_key,
-    arcfour_block, arcfour_block,
+    arcfour_block, arcfour_block, NULL, NULL,
     "arcfour256",
-    1, 256, 0, "Arcfour-256",
+    1, 256, 32, 0, "Arcfour-256",
     NULL
 };