X-Git-Url: https://asedeno.scripts.mit.edu/gitweb/?a=blobdiff_plain;f=sshdes.c;h=13487fcd79bdb704451eb2f296af77dc6b2f126e;hb=510f49e405e71ba5c97875e7a019364e1ef5fac9;hp=9276fe06ca34f55ac1ec881b39399bf6ae9f1d86;hpb=5d9a9a7bdf6f227a2a592d57ea71b69d0111e341;p=PuTTY.git diff --git a/sshdes.c b/sshdes.c index 9276fe06..13487fcd 100644 --- a/sshdes.c +++ b/sshdes.c @@ -949,7 +949,7 @@ static const struct ssh2_cipher ssh_3des_ssh2 = { des3_make_context, des3_free_context, des3_iv, des3_key, des3_ssh2_encrypt_blk, des3_ssh2_decrypt_blk, NULL, NULL, "3des-cbc", - 8, 168, SSH_CIPHER_IS_CBC, "triple-DES CBC", + 8, 168, 24, SSH_CIPHER_IS_CBC, "triple-DES CBC", NULL }; @@ -957,7 +957,7 @@ static const struct ssh2_cipher ssh_3des_ssh2_ctr = { des3_make_context, des3_free_context, des3_iv, des3_key, des3_ssh2_sdctr, des3_ssh2_sdctr, NULL, NULL, "3des-ctr", - 8, 168, 0, "triple-DES SDCTR", + 8, 168, 24, 0, "triple-DES SDCTR", NULL }; @@ -973,7 +973,7 @@ static const struct ssh2_cipher ssh_des_ssh2 = { des_make_context, des3_free_context, des3_iv, des_key, des_ssh2_encrypt_blk, des_ssh2_decrypt_blk, NULL, NULL, "des-cbc", - 8, 56, SSH_CIPHER_IS_CBC, "single-DES CBC", + 8, 56, 8, SSH_CIPHER_IS_CBC, "single-DES CBC", NULL }; @@ -981,7 +981,7 @@ static const struct ssh2_cipher ssh_des_sshcom_ssh2 = { des_make_context, des3_free_context, des3_iv, des_key, des_ssh2_encrypt_blk, des_ssh2_decrypt_blk, NULL, NULL, "des-cbc@ssh.com", - 8, 56, SSH_CIPHER_IS_CBC, "single-DES CBC", + 8, 56, 8, SSH_CIPHER_IS_CBC, "single-DES CBC", NULL };