summaryrefslogtreecommitdiff
path: root/keyDerivation.cpp
diff options
context:
space:
mode:
authorChristian Pointner <equinox@anytun.org>2008-02-24 22:17:48 +0000
committerChristian Pointner <equinox@anytun.org>2008-02-24 22:17:48 +0000
commit9ef6972b360e5e8dd8485d25f0727cafea5e5331 (patch)
tree0b485fdb8eb5ce61609cdfc9c24d53a12c436ada /keyDerivation.cpp
parentadded NullKeyDerivation (diff)
sorry forgot to add keyDerivatioFactory
Diffstat (limited to 'keyDerivation.cpp')
-rw-r--r--keyDerivation.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/keyDerivation.cpp b/keyDerivation.cpp
index 79086b2..ac69f80 100644
--- a/keyDerivation.cpp
+++ b/keyDerivation.cpp
@@ -80,7 +80,7 @@ void AesIcmKeyDerivation::init(Buffer key, Buffer salt)
if(cipher_)
gcry_cipher_close( cipher_ );
- // TODO: hardcoded cipher-type and keysize??
+ // TODO: hardcoded size
gcry_error_t err = gcry_cipher_open( &cipher_, GCRY_CIPHER_AES128, GCRY_CIPHER_MODE_CTR, 0 );
if( err ) {
cLog.msg(Log::PRIO_ERR) << "KeyDerivation::init: Failed to open cipher: " << gpg_strerror( err );