1
0
mirror of https://git.libssh.org/projects/libssh.git synced 2025-11-30 13:01:23 +03:00

crypto: old-fashioned aes_ctr when evp_aes_ctr is missing

This commit is contained in:
Aris Adamantiadis
2015-09-25 11:51:45 +02:00
parent d46fe6a51c
commit 84a85803b4
4 changed files with 108 additions and 0 deletions

View File

@@ -124,6 +124,7 @@ struct ssh_cipher_struct {
gcry_cipher_hd_t *key;
#elif defined HAVE_LIBCRYPTO
struct ssh_3des_key_schedule *des3_key;
struct ssh_aes_key_schedule *aes_key;
const EVP_CIPHER *cipher;
EVP_CIPHER_CTX ctx;
#endif