summaryrefslogtreecommitdiff
path: root/src/cipher.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-21 18:59:34 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-21 18:59:34 +0000
commiteb89126a5a21fcf56ca239c31e46a725c319e9f7 (patch)
treea2e5ade54b0e2ac10aa28da82eac4eed12aca21a /src/cipher.h
parentadded defines for nettle as crypto lib (diff)
implemented cipher with nettle (not tested yet)
Diffstat (limited to 'src/cipher.h')
-rw-r--r--src/cipher.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/cipher.h b/src/cipher.h
index 8221a3c..e5976b0 100644
--- a/src/cipher.h
+++ b/src/cipher.h
@@ -100,8 +100,7 @@ struct cipher_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