xref: /arm-trusted-firmware/services/std_svc/trng/trng_entropy_pool.h (revision 91f16700b400a8c0651d24a598fc48ee2997a0d7)
1*91f16700Schasinglulu /*
2*91f16700Schasinglulu  * Copyright (c) 2021, ARM Limited and Contributors. All rights reserved.
3*91f16700Schasinglulu  *
4*91f16700Schasinglulu  * SPDX-License-Identifier: BSD-3-Clause
5*91f16700Schasinglulu  */
6*91f16700Schasinglulu 
7*91f16700Schasinglulu #ifndef TRNG_ENTROPY_POOL_H
8*91f16700Schasinglulu #define TRNG_ENTROPY_POOL_H
9*91f16700Schasinglulu 
10*91f16700Schasinglulu #include <stdbool.h>
11*91f16700Schasinglulu #include <stdint.h>
12*91f16700Schasinglulu 
13*91f16700Schasinglulu bool trng_pack_entropy(uint32_t nbits, uint64_t *out);
14*91f16700Schasinglulu void trng_entropy_pool_setup(void);
15*91f16700Schasinglulu 
16*91f16700Schasinglulu #endif /* TRNG_ENTROPY_POOL_H */
17