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

Add a key length indication to each SSH2 cipher structure, in

preparation for needing to know how much key material each cipher
needs in order to select a suitable Diffie-Hellman group.

[originally from svn r961]
This commit is contained in:
Simon Tatham
2001-03-01 17:45:31 +00:00
parent f72b5aa95f
commit 862d6a496d
3 changed files with 6 additions and 5 deletions

View File

@ -797,7 +797,7 @@ struct ssh_cipher ssh_3des_ssh2 = {
des3_ssh2_encrypt_blk,
des3_ssh2_decrypt_blk,
"3des-cbc",
8
8, 168
};
struct ssh_cipher ssh_3des = {
@ -806,7 +806,7 @@ struct ssh_cipher ssh_3des = {
des3_encrypt_blk,
des3_decrypt_blk,
"3des-cbc",
8
8, 168
};
static void des_sesskey(unsigned char *key) {
@ -829,5 +829,5 @@ struct ssh_cipher ssh_des = {
des_encrypt_blk,
des_decrypt_blk,
"des-cbc", /* should never be used - not a valid cipher in ssh2 */
8
8, 56
};