crypto/arc4random: rename getrandom to arc4random_buf

Change-Id: I5c9f0c9acf5af71f01beceaf06ebe0a2c87676bc
Signed-off-by: chao.an <anchao@xiaomi.com>
This commit is contained in:
chao.an
2020-12-12 14:16:07 +08:00
parent f10bf64b18
commit 093e8b994f
8 changed files with 12 additions and 87 deletions
+4
View File
@@ -121,6 +121,10 @@ int rand(void);
#define srandom(s) srand(s)
long random(void);
#ifdef CONFIG_CRYPTO_RANDOM_POOL
void arc4random_buf(FAR void *bytes, size_t nbytes);
#endif
/* Environment variable support */
FAR char **get_environ_ptr(void);