dhcpcd/compat
Roy Marples 65190fa017 compat: test for memset_explicit, explicit_bzero and memset_s
These won't be optimised away by the compiler and our arc4random
compat function should use them *if* available.
If none are then a warning will be emitted to say it's potentially insecure.

Hopefully only uclibc users will see this message.

Fixes #252.
2023-10-23 15:28:40 +01:00
..
crypt compat: Remove literal suffix from md5.h 2023-01-09 11:16:13 +00:00
crypt_openssl Support libcrypto for hmac and sha256 (#223) 2023-09-25 09:49:00 +01:00
_strtoi.h compat: Add a guard to _strtoi.h 2019-12-11 16:09:18 +00:00
arc4random_uniform.c compat sync (#226) 2023-07-19 13:29:48 +01:00
arc4random_uniform.h Place correct license in compat headers. 2017-03-21 17:04:52 +00:00
arc4random.c compat: test for memset_explicit, explicit_bzero and memset_s 2023-10-23 15:28:40 +01:00
arc4random.h compat: update arc4random() to newer chacha20 based version from OpenBSD (#227) 2023-09-04 14:53:44 +01:00
bitops.h Move md5 and sha256 out to compat. 2017-03-19 20:21:18 +00:00
chacha_private.h compat: update arc4random() to newer chacha20 based version from OpenBSD (#227) 2023-09-04 14:53:44 +01:00
consttime_memequal.h Really add consttime_memequal 2019-04-19 21:47:37 +01:00
dprintf.c dprintf should append, not truncate. 2017-04-14 10:17:27 +01:00
dprintf.h dprintf should append, not truncate. 2017-04-14 10:17:27 +01:00
endian.h Move compat out of src. 2017-03-19 15:00:45 +00:00
pidfile.c compat sync (#226) 2023-07-19 13:29:48 +01:00
pidfile.h Place correct license in compat headers. 2017-03-21 17:04:52 +00:00
queue.h Move compat out of src. 2017-03-19 15:00:45 +00:00
rb.c compat sync (#226) 2023-07-19 13:29:48 +01:00
rbtree.h Solaris: Fix compile. 2019-08-30 10:34:44 +00:00
reallocarray.c Update copyrights and headers to better credit the sources. 2017-03-30 21:53:45 +01:00
reallocarray.h Update copyrights and headers to better credit the sources. 2017-03-30 21:53:45 +01:00
setproctitle.c compat: Use libbsd's setproctitle(3) 2020-10-09 20:21:52 +01:00
setproctitle.h Change copyright on setproctitle.h 2020-10-09 20:38:48 +01:00
strlcpy.c compat sync (#226) 2023-07-19 13:29:48 +01:00
strlcpy.h Add compat/strlcpy.c from OpenBSD libc to use instead of 2017-10-04 16:07:49 +01:00
strtoi.c Sync strtoi and strtou with latest upstream to allow -Wundef 2019-11-28 12:34:29 +00:00
strtoi.h Use new strtoi changes. 2017-03-22 15:27:45 +00:00
strtou.c Sync strtoi and strtou with latest upstream to allow -Wundef 2019-11-28 12:34:29 +00:00