This website requires JavaScript.
Explore
Help
Sign In
OrgZephyr
/
zephyr
mirror of
https://github.com/zephyrproject-rtos/zephyr.git
Watch
1
Star
0
Fork
You've already forked zephyr
0
Code
Issues
Releases
Wiki
Activity
eb351436ad
zephyr
/
tests
/
posix
/
getentropy
/
prj.conf
4 lines
67 B
Plaintext
Raw
Normal View
History
Unescape
Escape
posix: Introduce getentropy() function The function writes random data to the provided buffer. Maximum permitted buffer size is 256 bytes. On success the function returns 0, otherwise it returns -1 and sets errno to appropriate value. Signed-off-by: Patryk Duda <patrykd@google.com>
2024-04-12 19:34:46 +08:00
CONFIG_ENTROPY_GENERATOR=y
posix: deprecate POSIX_FNMATCH GETOPT GETENTROPY The functions fnmatch(), getopt(), getentropy() and others are grouped into the standard Option Group POSIX_C_LIB_EXT. The getentropy() function is currently in-draft for Issue 8 as of 2021. https://www.opengroup.org/austin/docs/austin_1110.pdf Not surprisingly, the POSIX_C_LIB_EXT Option Group also includes the highly debated strnlen() function. Moving that function will be deferred until later. Signed-off-by: Chris Friedt <cfriedt@tenstorrent.com>
2024-05-23 07:44:17 +08:00
CONFIG_POSIX_C_LIB_EXT=y
posix: Introduce getentropy() function The function writes random data to the provided buffer. Maximum permitted buffer size is 256 bytes. On success the function returns 0, otherwise it returns -1 and sets errno to appropriate value. Signed-off-by: Patryk Duda <patrykd@google.com>
2024-04-12 19:34:46 +08:00
CONFIG_ZTEST=y