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

◆ nrf_cc3xx_platform_hmac_drbg_set_reseed_interval()

int nrf_cc3xx_platform_hmac_drbg_set_reseed_interval ( nrf_cc3xx_platform_hmac_drbg_context_t *const context,
int interval )

#include <crypto/nrf_cc310_platform/include/nrf_cc3xx_platform_hmac_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 hmac_drbg is automatically reseeded

Note
Before calling this API the context to must be initialized by calling nrf_cc3xx_platform_hmac_drbg_init.
Changing the reseed interval is optional.
Parameters
[in,out]contextPointer to a structure holding the hmac_drbg context.
[in]intervalNew reseed interval value.
Returns
NRF_CC3XX_PLATFORM_SUCCESS on success, NRF_CC3XX_PLATFORM_ERROR_ENTROPY_NOT_INITIALIZED when entropy is not initialized