xref: /optee_os/core/include/rng_support.h (revision e7d4dea37e13d55b16d89321d854fdfe64734307)
1 /* SPDX-License-Identifier: BSD-2-Clause */
2 /*
3  * Copyright (c) 2014, STMicroelectronics International N.V.
4  */
5 #ifndef __RNG_SUPPORT_H__
6 #define __RNG_SUPPORT_H__
7 
8 #include <stdint.h>
9 
10 uint8_t hw_get_random_byte(void);
11 TEE_Result hw_get_random_bytes(void *buf, size_t blen);
12 
13 #endif /* __RNG_SUPPORT_H__ */
14