hostapd/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 Add build rules for building a library from src/utils files 2009-12-05 21:39:41 +02:00
base64.c UBSan: Avoid unsigned integer overflow in base64 encoding 2019-02-25 19:48:49 +02:00
base64.h Add base64url encoding/decoding per RFC 4648 2017-06-17 18:04:32 +03:00
bitfield.c Fix bitfield_get_first_zero() to not read beyond buffer 2015-03-14 13:50:12 +02:00
bitfield.h Add bitfield routines 2013-04-27 22:16:40 +03:00
browser-android.c Android: Give user the option for selecting browser for HS 2.0 OSU 2015-11-22 21:06:17 +02:00
browser-system.c Clean up debug prints to use wpa_printf() 2014-12-26 13:20:57 +02:00
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 HS 2.0R2: Add wrapper functions for WebKit 2014-03-12 01:09:21 +02:00
build_config.h Remove forgotten Xcode defines 2013-07-09 15:20:17 +03:00
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 Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
crc32.h Move CRC-32 routine from wlantest to src/utils 2016-10-09 17:13:23 +03:00
edit.c edit: Increase buffer size to 4096 bytes 2014-03-31 12:30:50 +03:00
edit.h edit: Add support for setting prompt string 2012-08-05 20:46:34 +03:00
edit_readline.c edit: Fix libreadline history clearing with WPA_TRACE 2013-05-14 16:46:38 +03:00
edit_simple.c wpa_cli: Add backspace key process for some terminal 2016-05-13 18:48:45 +03:00
eloop.c eloop: Fix kqueue event deletion filter 2019-01-02 12:11:52 +02:00
eloop.h eloop: Fix comments mismatch eloop_event/timeout_handler definitions 2017-02-04 20:41:12 +02:00
eloop_win.c eloop: Add eloop_sock_requeue() 2016-02-07 12:38:04 +02:00
ext_password.c Move extern declarations for ext_password backends into a header file 2016-06-24 19:02:58 +03:00
ext_password.h EXT PW: Add framework for supporting external password storage 2012-08-03 22:15:42 +03:00
ext_password_i.h Move extern declarations for ext_password backends into a header file 2016-06-24 19:02:58 +03:00
ext_password_test.c Clear wpa_supplicant configuration keys explicitly 2014-07-02 12:38:48 +03:00
http-utils.h HS 2.0R2: Add parse_cert command for debugging purposes 2014-03-12 01:09:22 +02:00
http_curl.c HTTP (curl): Replace deprecated ASN1_STRING_data() 2019-01-01 20:29:34 +02:00
includes.h Drop CONFIG_TI_COMPILER ifdefs 2015-07-17 21:57:07 +03:00
ip_addr.c Remove unused hostapd_ip_diff() 2014-05-26 17:21:44 +03:00
ip_addr.h Remove unused hostapd_ip_diff() 2014-05-26 17:21:44 +03:00
json.c JSON: Fix string parsing when \\ escape is at the end of buffer 2019-02-11 02:35:29 +02:00
json.h Add JavaScript Object Notation (JSON) parser (RFC7159) 2017-06-17 18:04:51 +03:00
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 tests: Declare module test functions in a header file 2016-06-23 18:26:09 +03:00
os.h Introduce os_memdup() 2017-03-07 13:18:49 +02:00
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 Introduce os_memdup() 2017-03-07 13:18:49 +02:00
pcsc_funcs.c Link to, and adjust types for, the PCSC framework included with OSX 2016-08-07 11:20:33 +03:00
pcsc_funcs.h SCARD: Clean up SIM/USIM selection 2013-11-17 16:47:38 +02:00
platform.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap.c radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
radiotap_iter.h radiotap: Silence sparse warnings about byte order swapping 2016-06-23 18:08:11 +03:00
state_machine.h Remove the GPL notification from files contributed by Jouni Malinen 2012-02-11 19:39:36 +02:00
trace.c trace: Look up start to cope with ASLR 2017-02-28 11:37:19 +02:00
trace.h trace: Free symbols on program exit 2016-02-16 14:10:29 +02:00
utils_module_tests.c tests: Module tests for const_time_*() functions 2019-04-09 17:11:15 +03:00
uuid.c WPS: Add option for using random UUID 2017-04-13 17:38:55 +03:00
uuid.h WPS: Add option for using random UUID 2017-04-13 17:38:55 +03:00
wpa_debug.c wpa_debug: Support wpa_hexdump_ascii() outputting into syslog 2018-12-26 16:42:25 +02:00
wpa_debug.h hostapd: Add possibility to send debug messages to syslog 2017-01-30 00:57:13 +02:00
wpabuf.c Removed redundant NULL check for b in wpabuf_concat() 2016-10-28 19:05:08 +03:00
wpabuf.h utils: Rename hostapd_parse_bin to wpabuf_parse_bin and move it 2016-04-09 11:23:36 +03:00
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: Remove forgotten, unused definition of debug_print_func 2014-03-31 12:25:13 +03:00
xml_libxml2.c libxml2: Check for xmlDocDumpFormatMemory() error case 2016-03-16 21:49:28 +02:00