nrfxlib API 2.7.99
Loading...
Searching...
No Matches

◆ rand_poll

void(* sdc_rand_source_t::rand_poll) (uint8_t *p_buff, uint8_t length)

Function used by the controller to obtain random numbers. This function must block until length bytes of random numbers were written to p_buff. The function will be executed in the same context as mpsl_low_priority_process.

Parameters
[out]p_buffThe destination buffer for the random numbers
[in]lengthThe requested number of random bytes and the maximum length of the destination buffer