hostapd/src/utils
Jouni Malinen 167205d455 os_unix: Seed random() for os_random()
While the users of os_random() do not really need strong pseudo random
numebrs, there is no significant harm in seeding random() with data from
os_get_random(), i.e., /dev/urandom, to get different sequence of not so
strong pseudo random values from os_random() for each time the process
is started.

Signed-off-by: Jouni Malinen <j@w1.fi>
2020-02-28 22:59:32 +02:00
..
.gitignore Add build rules for building a library from src/utils files 2009-12-05 21:39:41 +02:00
base64.c Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00
base64.h Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02: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 hs20_web_browser() to allow TLS server validation to be enabled 2020-02-16 17:40:52 +02:00
browser-system.c hs20_web_browser() to allow TLS server validation to be enabled 2020-02-16 17:40:52 +02:00
browser-wpadebug.c hs20_web_browser() to allow TLS server validation to be enabled 2020-02-16 17:40:52 +02:00
browser.c webkit: Clean up USE_WEBKIT2 blocks 2020-02-16 19:21:06 +02:00
browser.h hs20_web_browser() to allow TLS server validation to be enabled 2020-02-16 17:40:52 +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 wlantest: Process VLAN tagged Data frames 2019-09-20 23:54:05 +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 Fix memory leak in case allocation of token fails during JSON parsing 2019-12-21 17:32:19 +02:00
json.h JSON: Add helper functions for building tokens 2019-11-28 16:39:09 +02: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 os_sleep: Use nanosleep for POSIX versions 2008 and higher 2019-09-09 16:45:40 +03:00
os_none.c Remove forgotten os_strncpy() implementations 2019-03-10 15:56:51 +02:00
os_unix.c os_unix: Seed random() for os_random() 2020-02-28 22:59:32 +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: Handle binutils bfd.h breakage 2020-01-20 21:17:21 +02:00
trace.h trace: Free symbols on program exit 2016-02-16 14:10:29 +02:00
utils_module_tests.c tests: Fix undefined behavior in module tests 2020-01-08 14:56:55 +02: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 Allow debug log to be written to both syslog and file 2019-12-28 18:28:10 +02:00
wpa_debug.h Allow debug log to be written to both syslog and file 2019-12-28 18:28:10 +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 Clean up base64_{encode,decode} pointer types 2019-11-28 16:39:09 +02:00