1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-07-11 08:13:46 -05:00

Support aes256-ctr encryption when imported OpenSSH keys.

OpenSSH 7.6 switched from aes256-cbc to aes256-ctr for encrypting
new-style private keys.
This commit is contained in:
Tim Kosse
2018-04-09 09:28:43 +02:00
committed by Simon Tatham
parent f41d365029
commit eaac8768e4
3 changed files with 15 additions and 4 deletions

1
ssh.h
View File

@ -489,6 +489,7 @@ void aes256_key(void *handle, unsigned char *key);
void aes_iv(void *handle, unsigned char *iv);
void aes_ssh2_encrypt_blk(void *handle, unsigned char *blk, int len);
void aes_ssh2_decrypt_blk(void *handle, unsigned char *blk, int len);
void aes_ssh2_sdctr(void *handle, unsigned char *blk, int len);
/*
* PuTTY version number formatted as an SSH version string.