1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-02 12:02:47 -05:00

Allow a cipher to override the SSH KEX's choice of MAC.

No cipher uses this facility yet, but one shortly will.
This commit is contained in:
Chris Staite
2015-06-07 13:40:11 +01:00
committed by Simon Tatham
parent 3ce4594d14
commit 705f159255
10 changed files with 53 additions and 23 deletions

View File

@ -102,14 +102,16 @@ const struct ssh2_cipher ssh_arcfour128_ssh2 = {
arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour128_key,
arcfour_block, arcfour_block,
"arcfour128",
1, 128, 0, "Arcfour-128"
1, 128, 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,
"arcfour256",
1, 256, 0, "Arcfour-256"
1, 256, 0, "Arcfour-256",
NULL
};
static const struct ssh2_cipher *const arcfour_list[] = {