hostap/src/crypto
Jouni Malinen 2e38079531 TLS: Fix memory leak with multiple TLS server instances
When using CONFIG_TLS=internal and starting hostapd with multiple
configuration files that each initialize TLS server, the server
certificate and related data was not freed for all the interfaces on
exit path. Fix this by freeing the credential data that is stored
separately for each call to tls_init().

Signed-off-by: Jouni Malinen <j@w1.fi>
2015-10-31 18:15:22 +02:00
..
.gitignore
aes-cbc.c
aes-ccm.c AES-CCM: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:47 +03:00
aes-ctr.c Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
aes-eax.c crypto: Clear temporary heap allocations before freeing 2015-01-06 02:49:13 +02:00
aes-encblock.c
aes-gcm.c AES-GCM: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:47 +03:00
aes-internal-dec.c
aes-internal-enc.c
aes-internal.c
aes-omac1.c tests: Add TEST_FAIL() condition to omac1_aes_vector() 2015-10-17 20:40:36 +03:00
aes-siv.c crypto: Clear temporary heap allocations before freeing 2015-01-06 02:49:13 +02:00
aes-unwrap.c AES: Extend key wrap implementation to support longer data 2014-10-07 14:57:10 +03:00
aes-wrap.c AES: Extend key wrap implementation to support longer data 2014-10-07 14:57:10 +03:00
aes.h
aes_i.h
aes_siv.h Implement RFC 5297 AES-SIV 2014-10-19 12:43:38 +03:00
aes_wrap.h Extend AES-CMAC routines to support 256-bit keys 2015-01-24 19:37:42 +02:00
crypto.h crypto: Add functions for computing the Legendre symbol and EC y^2 2015-06-26 22:41:51 +03:00
crypto_gnutls.c
crypto_internal-cipher.c
crypto_internal-modexp.c
crypto_internal-rsa.c
crypto_internal.c
crypto_libtomcrypt.c
crypto_module_tests.c tests: Fix build without CONFIG_ERP=y 2015-10-26 00:42:14 +02:00
crypto_none.c
crypto_openssl.c tests: Add TEST_FAIL() condition to omac1_aes_vector() 2015-10-17 20:40:36 +03:00
des-internal.c
des_i.h
dh_group5.c
dh_group5.h
dh_groups.c Declare all read only data structures as const 2015-04-25 17:33:06 +03:00
dh_groups.h
fips_prf_internal.c
fips_prf_openssl.c Updates for stricter automatic memcpy bounds checking 2015-04-13 14:01:40 +03:00
Makefile Implement RFC 5297 AES-SIV 2014-10-19 12:43:38 +03:00
md4-internal.c
md5-internal.c
md5.c crypto: Clear temporary stack buffers after use 2015-01-06 02:49:13 +02:00
md5.h
md5_i.h
milenage.c Milenage: Use os_memcmp_const() for hash/password comparisons 2014-07-02 12:38:47 +03:00
milenage.h
ms_funcs.c Fix MSCHAP UTF-8 to UCS-2 conversion check for three-byte encoding 2015-10-10 18:38:37 +03:00
ms_funcs.h ms_funcs: Make challenge_hash() non-static 2015-03-29 22:27:00 +03:00
random.c random: Fix random_get_bytes() with CONFIG_FIPS=y 2015-08-01 21:08:11 +03:00
random.h
rc4.c
sha1-internal.c
sha1-pbkdf2.c
sha1-prf.c crypto: Clear temporary stack buffers after use 2015-01-06 02:49:13 +02:00
sha1-tlsprf.c Explicitly clear temporary stack buffers in tls_prf_sha1_md5() 2015-03-29 16:43:03 +03:00
sha1-tprf.c Explicitly clear temporary stack buffer in sha1_t_prf() 2015-03-29 16:40:55 +03:00
sha1.c crypto: Clear temporary stack buffers after use 2015-01-06 02:49:13 +02:00
sha1.h
sha1_i.h
sha256-internal.c
sha256-kdf.c Explicitly clear temporary stack buffer in hmac_sha256_kdf() 2015-03-29 16:38:37 +03:00
sha256-prf.c crypto: Clear temporary stack buffers after use 2015-01-06 02:49:13 +02:00
sha256-tlsprf.c
sha256.c OpenSSL: Implement SHA256 HMAC functions using HMAC API 2012-08-16 22:34:35 +03:00
sha256.h ERP: Add HMAC-SHA256 KDF (RFC 5295) 2014-12-04 12:08:59 +02:00
sha256_i.h
sha384-prf.c Fix key derivation for Suite B 192-bit AKM to use SHA384 2015-08-27 20:42:14 +03:00
sha384.h Fix key derivation for Suite B 192-bit AKM to use SHA384 2015-08-27 20:42:14 +03:00
tls.h TLS: Add functions for managing cached session state 2015-08-24 02:29:30 +03:00
tls_gnutls.c TLS: Add functions for managing cached session state 2015-08-24 02:29:30 +03:00
tls_internal.c TLS: Fix memory leak with multiple TLS server instances 2015-10-31 18:15:22 +02:00
tls_none.c TLS: Add functions for managing cached session state 2015-08-24 02:29:30 +03:00
tls_openssl.c OpenSSL: Make msg_callback debug prints easier to read 2015-10-11 11:35:35 +03:00