Now that my arcfour-fixes draft has been approved by the IESG, use the

IANA-assigned names for its modes.

[originally from svn r6263]
This commit is contained in:
Ben Harris 2005-09-03 17:03:49 +00:00
Родитель a42d103cf9
Коммит bcf547a069
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -101,14 +101,14 @@ static void arcfour_iv(void *handle, unsigned char *key)
const struct ssh2_cipher ssh_arcfour128_ssh2 = { const struct ssh2_cipher ssh_arcfour128_ssh2 = {
arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour128_key, arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour128_key,
arcfour_block, arcfour_block, arcfour_block, arcfour_block,
"arcfour128-draft-00@putty.projects.tartarus.org", "arcfour128",
1, 128, 0, "Arcfour-128" 1, 128, 0, "Arcfour-128"
}; };
const struct ssh2_cipher ssh_arcfour256_ssh2 = { const struct ssh2_cipher ssh_arcfour256_ssh2 = {
arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour256_key, arcfour_make_context, arcfour_free_context, arcfour_iv, arcfour256_key,
arcfour_block, arcfour_block, arcfour_block, arcfour_block,
"arcfour256-draft-00@putty.projects.tartarus.org", "arcfour256",
1, 256, 0, "Arcfour-256" 1, 256, 0, "Arcfour-256"
}; };