summaryrefslogtreecommitdiff
path: root/src/key_derivation.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-21 19:46:49 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-21 19:46:49 +0000
commit49b279e8d329a21cbc120186dd25852f302c02a3 (patch)
tree6b26bf687a2e6fb22f57db12b7b14ea70a91a210 /src/key_derivation.h
parentimplemented auth tag with nettle (not tested yet) (diff)
implemented key derivation in nettle
fixed key length for cipher
Diffstat (limited to 'src/key_derivation.h')
-rw-r--r--src/key_derivation.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/key_derivation.h b/src/key_derivation.h
index 01c9a26..df97765 100644
--- a/src/key_derivation.h
+++ b/src/key_derivation.h
@@ -109,8 +109,7 @@ struct key_derivation_aesctr_param_struct {
AES_KEY aes_key_;
u_int8_t ecount_buf_[AES_BLOCK_SIZE];
#elif defined(USE_NETTLE)
- // TODO: nettle
-
+ struct aes_ctx ctx_;
#else // USE_GCRYPT is the default
gcry_cipher_hd_t handle_;
#endif