Go to the source code of this file.
◆ random_generator_init()
| void random_generator_init |
( |
void |
| ) |
|
This function performs to initials random generator post.
- Parameters
-
- Returns
- none.
◆ rand()
| unsigned int rand |
( |
void |
| ) |
|
This function performs to get one random number.
- Parameters
-
- Returns
- the value of one random number.
◆ generateRandomNum()
| void generateRandomNum |
( |
int |
len, |
|
|
unsigned char * |
data |
|
) |
| |
This function performs to get a serial of random number.
- Parameters
-
| [in] | len- | the length of random number |
| [in] | data | - the first address of buffer store random number in |
- Returns
- the result of a serial of random number.