nRF Connect SDK API 3.3.99
Loading...
Searching...
No Matches
prng_pool.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2023 Nordic Semiconductor ASA
3 *
4 * SPDX-License-Identifier: LicenseRef-Nordic-5-Clause
5 */
6
17#ifndef PRNG_POOL_H
18#define PRNG_POOL_H
19
20#include <stdint.h>
21
41int cracen_prng_value_from_pool(uint32_t *prng_value);
42
45#endif /* PRNG_POOL_H */
int cracen_prng_value_from_pool(uint32_t *prng_value)
Get a secure random number from a pre-computed pool. Refill the pool before returning if necessary.