aboutsummaryrefslogtreecommitdiff
path: root/services/std_svc/trng/trng_entropy_pool.h
blob: fab2367d20c79b72a3e230d619fbe3dc773f9032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
 * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.
 *
 * SPDX-License-Identifier: BSD-3-Clause
 */

#ifndef TRNG_ENTROPY_POOL_H
#define TRNG_ENTROPY_POOL_H

#include <stdbool.h>
#include <stdint.h>

bool trng_pack_entropy(uint32_t nbits, uint64_t *out);
void trng_entropy_pool_setup(void);

#endif /* TRNG_ENTROPY_POOL_H */