mirror of
https://github.com/apache/nuttx.git
synced 2026-05-22 22:20:01 +08:00
random_pool:add a new api arc4random
Signed-off-by: anjiahao <anjiahao@xiaomi.com>
This commit is contained in:
committed by
Petro Karashchenko
parent
352006af6d
commit
0c26658906
@@ -138,6 +138,7 @@ long random(void);
|
||||
|
||||
#ifdef CONFIG_CRYPTO_RANDOM_POOL
|
||||
void arc4random_buf(FAR void *bytes, size_t nbytes);
|
||||
uint32_t arc4random(void);
|
||||
#endif
|
||||
|
||||
/* Environment variable support */
|
||||
|
||||
Reference in New Issue
Block a user