1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-06-30 19:12:48 -05:00

Implement my experimental arcfour modes. The 256-bit version is disabled

until I can test it against someone else's implementation.

[originally from svn r5633]
This commit is contained in:
Ben Harris
2005-04-14 22:58:29 +00:00
parent 6eec320f0b
commit 09951c6078
10 changed files with 141 additions and 2 deletions

3
ssh.c
View File

@ -4915,6 +4915,9 @@ static int do_ssh2_transport(Ssh ssh, void *vin, int inlen,
case CIPHER_AES:
s->preferred_ciphers[s->n_preferred_ciphers++] = &ssh2_aes;
break;
case CIPHER_ARCFOUR:
s->preferred_ciphers[s->n_preferred_ciphers++] = &ssh2_arcfour;
break;
case CIPHER_WARN:
/* Flag for later. Don't bother if it's the last in
* the list. */