hostap/src/eap_server
Jouni Malinen 31bc66e4d1 More forceful clearing of stack memory with keys
gcc 8.3.0 was apparently clever enough to optimize away the previously
used os_memset() to explicitly clear a stack buffer that contains keys
when that clearing happened just before returning from the function.
Since memset_s() is not exactly portable (or commonly available yet..),
use a less robust mechanism that is still pretty likely to prevent
current compilers from optimizing the explicit clearing of the memory
away.

Signed-off-by: Jouni Malinen <j@w1.fi>
2019-05-26 16:11:56 +03:00
..
eap.h EAP-pwd server: Fix memory leak with salted passwords 2019-03-08 16:59:27 +02:00
eap_i.h EAP: Make method and IMSI available from server structures 2018-12-14 15:56:16 +02:00
eap_methods.h EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server.c EAP-pwd server: Fix memory leak with salted passwords 2019-03-08 16:59:27 +02:00
eap_server_aka.c EAP-AKA: Add Session-Id derivation during fast-reauth 2019-05-25 17:17:00 +03:00
eap_server_eke.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_server_fast.c Silence new gcc warnings on switch statement fallthroughs 2018-05-15 20:55:17 +03:00
eap_server_gpsk.c EAP-GPSK server: Fix memory freeing on error path 2019-04-19 17:08:27 +03:00
eap_server_gtc.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_server_identity.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_ikev2.c Silence new gcc warnings on switch statement fallthroughs 2018-05-15 20:55:17 +03:00
eap_server_md5.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_methods.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_mschapv2.c EAP-MSCHAPv2: Propagate GetAsymetricStartKey() failures up from getKey() 2019-04-16 21:21:35 +03:00
eap_server_pax.c EAP-PAX server: Avoid debug prints of uninitialized memory in error cases 2019-05-08 19:02:19 +03:00
eap_server_peap.c More forceful clearing of stack memory with keys 2019-05-26 16:11:56 +03:00
eap_server_psk.c Use os_memdup() 2017-03-07 13:19:10 +02:00
eap_server_pwd.c More forceful clearing of stack memory with keys 2019-05-26 16:11:56 +03:00
eap_server_sake.c EAP-SAKE: Report hash function failures to callers 2019-04-19 16:52:01 +03:00
eap_server_sim.c EAP-SIM: Add Session-Id derivation during fast-reauth 2019-05-25 17:05:03 +03:00
eap_server_tls.c Add support for an optional context parameter to TLS exporter 2019-03-16 18:52:09 +02:00
eap_server_tls_common.c Add support for an optional context parameter to TLS exporter 2019-03-16 18:52:09 +02:00
eap_server_tnc.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_ttls.c Add support for an optional context parameter to TLS exporter 2019-03-16 18:52:09 +02:00
eap_server_vendor_test.c EAP server: Simplify EAP method registration call 2016-01-13 23:35:53 +02:00
eap_server_wsc.c Silence new gcc warnings on switch statement fallthroughs 2018-05-15 20:55:17 +03:00
eap_sim_db.c eap_sim_db: Implement eap_sim_db_expire_pending() 2015-10-31 16:28:16 +02:00
eap_sim_db.h eap_sim_db: Implement eap_sim_db_expire_pending() 2015-10-31 16:28:16 +02:00
eap_tls_common.h Add support for an optional context parameter to TLS exporter 2019-03-16 18:52:09 +02:00
ikev2.c Use os_memdup() 2017-03-07 13:19:10 +02:00
ikev2.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
Makefile tests: Add ap-mgmt-fuzzer 2015-04-22 11:44:19 +03:00
tncs.c Use os_memdup() 2017-03-07 13:19:10 +02:00
tncs.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00