diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-30 04:01:56 +0000 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2018-01-31 18:44:51 +0000 |
commit | f20179d6931df17c9310fd911dd4a348141ba72c (patch) | |
tree | f360310ea410b6466e2303a5efaad8fb7d0d2cb9 /include | |
parent | 25ae0a3f30c9651dd22507a66f7ddea009973154 (diff) |
remove arc4random (rc4 based)
OpenBSD arc4random is using chacha20 cipher algorithm for
a long time. This copy is still based on deprecated rc4
cipher algorithm. We could either update the arc4random.c
or drop it. Drop it. Users should better use libbsd when
using arc4random interface. Musl/glibc does not have arc4random
either.
Diffstat (limited to 'include')
-rw-r--r-- | include/stdlib.h | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/include/stdlib.h b/include/stdlib.h index 89477967e..6a253cc3f 100644 --- a/include/stdlib.h +++ b/include/stdlib.h @@ -987,13 +987,6 @@ extern int getloadavg (double __loadavg[], int __nelem) __THROW __nonnull ((1)); #endif -#ifdef __UCLIBC_HAS_ARC4RANDOM__ -# include <sys/types.h> -extern u_int32_t arc4random(void); -extern void arc4random_stir(void); -extern void arc4random_addrandom(unsigned char *, int); -#endif - #ifdef _LIBC extern int __drand48_iterate (unsigned short int xsubi[3], struct drand48_data *buffer) attribute_hidden; |