summaryrefslogtreecommitdiff
path: root/keyDerivation.h
diff options
context:
space:
mode:
authorErwin Nindl <nine@wirdorange.org>2007-12-27 11:57:12 +0000
committerErwin Nindl <nine@wirdorange.org>2007-12-27 11:57:12 +0000
commita3e710fbd44ca8a0f4840b4e3366c6fc946ecfc5 (patch)
treeb5b189fa102e382da25b8c7385e628ed3889b335 /keyDerivation.h
parentadded 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.h1
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_;