summaryrefslogtreecommitdiff
path: root/src/keyDerivation.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/keyDerivation.h')
-rw-r--r--src/keyDerivation.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/keyDerivation.h b/src/keyDerivation.h
index 3acd475..96904d1 100644
--- a/src/keyDerivation.h
+++ b/src/keyDerivation.h
@@ -44,7 +44,7 @@
#if defined(USE_SSL_CRYPTO)
#include <openssl/aes.h>
#elif defined(USE_NETTLE)
-#include <openssl/aes.h>
+#include <nettle/aes.h>
#else // USE_GCRYPT is the default
#include <gcrypt.h>
#endif
@@ -176,8 +176,7 @@ private:
AES_KEY aes_key_[2];
uint8_t ecount_buf_[2][AES_BLOCK_SIZE];
#elif defined(USE_NETTLE)
- // TODO: nettle
-
+ struct aes_ctx ctx_[2];
#else // USE_GCRYPT is the default
gcry_cipher_hd_t handle_[2];
#endif