#include <stdint.h>
#include <stdbool.h>
#include <stddef.h>
#include "nrf_cc3xx_platform_defines.h"
Go to the source code of this file.
|
| int | nrf_cc3xx_platform_ctr_drbg_init (nrf_cc3xx_platform_ctr_drbg_context_t *const context, const uint8_t *pers_string, size_t pers_string_len) |
| | Function that initializes a ctr_drbg context.
|
| |
| int | nrf_cc3xx_platform_ctr_drbg_free (nrf_cc3xx_platform_ctr_drbg_context_t *const context) |
| | Function that deintializes a ctr_drbg context.
|
| |
| int | nrf_cc3xx_platform_ctr_drbg_set_pr (nrf_cc3xx_platform_ctr_drbg_context_t *const context, bool pr_enabled) |
| | Function to enable prediction resistance.
|
| |
| int | nrf_cc3xx_platform_ctr_drbg_set_reseed_interval (nrf_cc3xx_platform_ctr_drbg_context_t *const context, int interval) |
| | Function to change the reseed interval.
|
| |
| int | nrf_cc3xx_platform_ctr_drbg_reseed (nrf_cc3xx_platform_ctr_drbg_context_t *const context, const uint8_t *additional, size_t add_len) |
| | Function to do a manual reseed of ctr_drbg (using TRNG)
|
| |
| int | nrf_cc3xx_platform_ctr_drbg_get_with_add (nrf_cc3xx_platform_ctr_drbg_context_t *const context, uint8_t *buffer, size_t len, size_t *olen, const uint8_t *additional, size_t add_len) |
| | Function to get PRNG using ctr_drbg and an additional string of data.
|
| |
| int | nrf_cc3xx_platform_ctr_drbg_get (nrf_cc3xx_platform_ctr_drbg_context_t *const context, uint8_t *buffer, size_t length, size_t *olen) |
| | Function to get PRNG data using ctr_drbg.
|
| |