![]() |
nRF5 SDK
v15.3.0
|
Choose documentation: | nRF5 SDK | S112 SoftDevice API | S132 SoftDevice API | S140 SoftDevice API | S212 SoftDevice API | S312 SoftDevice API | S332 SoftDevice API | S340 SoftDevice API |
Macros | |
#define | NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED |
Use static memory buffers for context and temporary init buffer. More... | |
#define | NRF_CRYPTO_RNG_AUTO_INIT_ENABLED |
Initialize the RNG module automatically when nrf_crypto is initialized. More... | |
#define NRF_CRYPTO_RNG_AUTO_INIT_ENABLED |
Initialize the RNG module automatically when nrf_crypto is initialized.
Automatic initialization is only supported with static or internally allocated context and temporary memory.
Set to 1 to activate.
#define NRF_CRYPTO_RNG_STATIC_MEMORY_BUFFERS_ENABLED |
Use static memory buffers for context and temporary init buffer.
Always recommended when using the nRF HW RNG as the context and temporary buffers are small. Consider disabling if using the CC310 RNG in a RAM constrained application. In this case, memory must be provided to nrf_crypto_rng_init, or it can be allocated internally provided that NRF_CRYPTO_ALLOCATOR does not allocate memory on the stack.
Set to 1 to activate.