#include <stdint.h>
Go to the source code of this file.
◆ CRYPTO_generate_random_uint32()
| uint32_t CRYPTO_generate_random_uint32 |
( |
uint32_t | more_random_data | ) |
|
Generate a pseudo-random number. Not intended for cryptographic use.
- Parameters
-
| more_random_data | A seed input value, like HAL_GetTick(). |
- Returns
- A pseudo-random number.
◆ CRYPTO_random_fill_buffer()
| void CRYPTO_random_fill_buffer |
( |
uint32_t | more_random_data, |
|
|
uint8_t | buffer[], |
|
|
uint32_t | size ) |
Fill a buffer with pseudo-random data.
- Parameters
-
| more_random_data | A seed input value, like HAL_GetTick(). |
| buffer | Destination buffer. |
| size | Size of the buffer in bytes. |