From 7d65d96ec3f941a4de1e1673197aa5a6d55c4e69 Mon Sep 17 00:00:00 2001 From: Christian Pointner Date: Sun, 22 Jun 2014 23:08:20 +0000 Subject: implemented key derivation using libnettle --- src/keyDerivation.h | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'src/keyDerivation.h') 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 #elif defined(USE_NETTLE) -#include +#include #else // USE_GCRYPT is the default #include #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 -- cgit v1.2.3