![]() This changes OpenSSL calls to explicitly clear the EC_POINT memory allocations when freeing them. This adds an extra layer of security by avoiding leaving potentially private keys into local memory after they are not needed anymore. While some of these variables are not really private (e.g., they are sent in clear anyway), the extra cost of clearing them is not significant and it is simpler to just clear these explicitly rather than review each possible code path to confirm where this does not help. Signed-off-by: Florent Daigniere <nextgens@freenetproject.org> |
||
---|---|---|
.. | ||
.gitignore | ||
aes-cbc.c | ||
aes-ccm.c | ||
aes-ctr.c | ||
aes-eax.c | ||
aes-encblock.c | ||
aes-gcm.c | ||
aes-internal-dec.c | ||
aes-internal-enc.c | ||
aes-internal.c | ||
aes-omac1.c | ||
aes-unwrap.c | ||
aes-wrap.c | ||
aes.h | ||
aes_i.h | ||
aes_wrap.h | ||
crypto.h | ||
crypto_cryptoapi.c | ||
crypto_gnutls.c | ||
crypto_internal-cipher.c | ||
crypto_internal-modexp.c | ||
crypto_internal-rsa.c | ||
crypto_internal.c | ||
crypto_libtomcrypt.c | ||
crypto_none.c | ||
crypto_nss.c | ||
crypto_openssl.c | ||
des-internal.c | ||
des_i.h | ||
dh_group5.c | ||
dh_group5.h | ||
dh_groups.c | ||
dh_groups.h | ||
fips_prf_internal.c | ||
fips_prf_openssl.c | ||
Makefile | ||
md4-internal.c | ||
md5-internal.c | ||
md5.c | ||
md5.h | ||
md5_i.h | ||
milenage.c | ||
milenage.h | ||
ms_funcs.c | ||
ms_funcs.h | ||
random.c | ||
random.h | ||
rc4.c | ||
sha1-internal.c | ||
sha1-pbkdf2.c | ||
sha1-prf.c | ||
sha1-tlsprf.c | ||
sha1-tprf.c | ||
sha1.c | ||
sha1.h | ||
sha1_i.h | ||
sha256-internal.c | ||
sha256-prf.c | ||
sha256-tlsprf.c | ||
sha256.c | ||
sha256.h | ||
sha256_i.h | ||
tls.h | ||
tls_gnutls.c | ||
tls_internal.c | ||
tls_none.c | ||
tls_nss.c | ||
tls_openssl.c | ||
tls_schannel.c |