hostap/src/utils
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
..
.gitignore
base64.c UBSan: Avoid unsigned integer overflow in base64 encoding 2019-02-25 19:48:49 +02:00
base64.h
bitfield.c
bitfield.h
browser-android.c
browser-system.c
browser-wpadebug.c HS 2.0: Use execve() with custom env PATH to launch browser using 'am' 2018-10-12 15:51:05 +03:00
browser.c browser: Replace deprecated gtk_window_set_wmclass() 2019-01-01 20:36:42 +02:00
browser.h
build_config.h
common.c More forceful clearing of stack memory with keys 2019-05-26 16:11:56 +03:00
common.h More forceful clearing of stack memory with keys 2019-05-26 16:11:56 +03:00
const_time.h Add helper functions for constant time operations 2019-04-09 17:11:15 +03:00
crc32.c
crc32.h
edit.c
edit.h
edit_readline.c
edit_simple.c
eloop.c eloop: Fix kqueue event deletion filter 2019-01-02 12:11:52 +02:00
eloop.h
eloop_win.c
ext_password.c
ext_password.h
ext_password_i.h
ext_password_test.c
http-utils.h
http_curl.c HTTP (curl): Replace deprecated ASN1_STRING_data() 2019-01-01 20:29:34 +02:00
includes.h
ip_addr.c
ip_addr.h
json.c JSON: Fix string parsing when \\ escape is at the end of buffer 2019-02-11 02:35:29 +02:00
json.h
list.h Modify dl_list_for_each() to not use unaligned access with WPA_TRACE 2019-02-25 19:42:34 +02:00
Makefile tests: JSON parser fuzzer 2019-02-11 02:35:29 +02:00
module_tests.h
os.h
os_internal.c Remove forgotten os_strncpy() implementations 2019-03-10 15:56:51 +02:00
os_none.c Remove forgotten os_strncpy() implementations 2019-03-10 15:56:51 +02:00
os_unix.c UBSan: Avoid memcpy(ptr, NULL, 0) 2019-02-25 19:48:49 +02:00
os_win32.c
pcsc_funcs.c
pcsc_funcs.h
platform.h
radiotap.c
radiotap.h
radiotap_iter.h
state_machine.h
trace.c
trace.h
utils_module_tests.c tests: Module tests for const_time_*() functions 2019-04-09 17:11:15 +03:00
uuid.c
uuid.h
wpa_debug.c wpa_debug: Support wpa_hexdump_ascii() outputting into syslog 2018-12-26 16:42:25 +02:00
wpa_debug.h
wpabuf.c
wpabuf.h
xml-utils.c XML: Do not add empty Value node for nodes with child nodes in TNDS 2018-09-10 21:43:43 +03:00
xml-utils.h
xml_libxml2.c