![]() |
S115 SoftDevice for nRF54LM20 API documentation 10.0.0
|
| uint32_t sd_rand_seed_set | ( | uint8_t | p_seed[(32)] | ) |
#include <nrf_soc.h>
Seed the random number generator.
| [in] | p_seed | Pointer to array of SD_RAND_SEED_SIZE bytes of entropy. |
The entropy source must be NIST SP 800-90B compliant.
Must be called in reply to NRF_EVT_RAND_SEED_REQUEST. Can also be called without a request from the SoftDevice.
| NRF_SUCCESS | The random number generator was seeded. |
| NRF_ERROR_INVALID_ADDR | p_seed invalid. |