nrfxlib API 3.3.99
Loading...
Searching...
No Matches

◆ nrf_cc3xx_platform_ctr_drbg_set_reseed_interval()

int nrf_cc3xx_platform_ctr_drbg_set_reseed_interval ( nrf_cc3xx_platform_ctr_drbg_context_t *const context,
int interval )

#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_ctr_drbg.h>

Function to change the reseed interval.

Note
If the context is NULL the function uses an internal context.

This API controls when the ctr_drbg is automatically reseeded

Note
Before calling this API the context to must be initialized by calling nrf_cc3xx_platform_ctr_drbg_init.
Changing the reseed interval is optional.
Parameters
[in,out]contextPointer to a structure holding the ctr_drbg context.
[in]intervalNew reeseed interval value.
Returns
0 on success, otherwise a non-zero failure according to the API mbedtls_ctrl_drbg_reseed.