summaryrefslogtreecommitdiff
path: root/src/cipher.h
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2014-06-22 22:36:12 +0000
committerChristian Pointner <equinox@anytun.org>2014-06-22 22:36:12 +0000
commitd4ed0c56ec47f93a118aa2ebd6aad00ef45024a8 (patch)
tree7a346ac8797c1f469968e6e0ef4f3436058e7dfd /src/cipher.h
parentadded compile switches for libnettle (diff)
implemented cipher using 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 a9ce59b..0eca1b5 100644
--- a/src/cipher.h
+++ b/src/cipher.h
@@ -104,8 +104,7 @@ private:
AES_KEY aes_key_;
uint8_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