-
Notifications
You must be signed in to change notification settings - Fork 1.1k
AliOS Things API HAL SOC RNG Guide
librae8226 edited this page Mar 1, 2018
·
1 revision
int32_t hal_random_num_read(random_dev_t random, void *buf, int32_t bytes)
-
Description
Fill in a memory buffer with random data
-
Parameters
IN/OUT NAME DESC [in] random the random device [out] inBuffer Point to a valid memory buffer, this function will fill in this memory with random numbers after executed [in] inByteCount Length of the memory buffer (bytes) -
Returns
0 : on success, EIO : if an error occurred with any step
| Home | Tutorial | Hardware | Porting Guide | Utilities | API Reference | Technical Docs | Certification |
Crafted with ❤️ by AliOS Things Team.