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

SSH 2 support, phase 1, debugging. Currently does Diffie-Hellman and gets

the same results as the server, which is a pretty good start.

[originally from svn r569]
This commit is contained in:
Simon Tatham
2000-09-05 14:28:17 +00:00
parent 5ca4d2d1c5
commit 35205e5cb7
10 changed files with 1324 additions and 304 deletions

View File

@ -685,7 +685,9 @@ static void des3_decrypt_blk(unsigned char *blk, int len) {
struct ssh_cipher ssh_3des = {
des3_sesskey,
des3_encrypt_blk,
des3_decrypt_blk
des3_decrypt_blk,
"3des-cbc",
8
};
static void des_sesskey(unsigned char *key) {
@ -705,5 +707,7 @@ static void des_decrypt_blk(unsigned char *blk, int len) {
struct ssh_cipher ssh_des = {
des_sesskey,
des_encrypt_blk,
des_decrypt_blk
des_decrypt_blk,
"des-cbc", /* should never be used - not a valid cipher in ssh2 */
8
};