diff options
author | Erwin Nindl <nine@wirdorange.org> | 2007-12-27 11:57:12 +0000 |
---|---|---|
committer | Erwin Nindl <nine@wirdorange.org> | 2007-12-27 11:57:12 +0000 |
commit | a3e710fbd44ca8a0f4840b4e3366c6fc946ecfc5 (patch) | |
tree | b5b189fa102e382da25b8c7385e628ed3889b335 /keyDerivation.h | |
parent | added anytun to isakmpd (diff) |
* cypher and auth-algo selectable via commandline
* libgcrypt uses secure memory now
* a few bugfixes
Diffstat (limited to 'keyDerivation.h')
-rw-r--r-- | keyDerivation.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/keyDerivation.h b/keyDerivation.h index 531d441..214a1a4 100644 --- a/keyDerivation.h +++ b/keyDerivation.h @@ -75,6 +75,7 @@ protected: int8_t ld_kdr_; // ld(key_derivation_rate) SyncBuffer salt_; static const char* MIN_GCRYPT_VERSION; + static const u_int32_t GCRYPT_SEC_MEM = 32768; // 32k secure memory gcry_cipher_hd_t cipher_; Mutex mutex_; |