diff options
Diffstat (limited to 'keyDerivation.cpp')
-rw-r--r-- | keyDerivation.cpp | 2 |
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 ); |