|
TuyaOS
|
tuya random module 更多...
#include <stdint.h>#include <stddef.h>
函数 | |
| uint32_t | uni_random (void) |
| generate a random 32bit unsigned integer 更多... | |
| int | uni_random_bytes (unsigned char *output, size_t output_len) |
| int | uni_random_init (void) |
| int | uni_random_range (unsigned int range) |
| int | uni_random_string (char *dst, int size) |
| generate a random string 更多... | |
tuya random module
| uint32_t uni_random | ( | void | ) |
generate a random 32bit unsigned integer
| int uni_random_string | ( | char * | dst, |
| int | size | ||
| ) |
generate a random string
| [out] | dst | the output random string |
| [in] | size | the length of the random string |