mirror of
https://github.com/ARM-software/arm-trusted-firmware.git
synced 2025-04-16 17:44:19 +00:00

This driver manages the STM32 Random Number Generator peripheral. Change-Id: I4403ebb2dbdaa8df993a4413f1ef48eeba00427c Signed-off-by: Yann Gautier <yann.gautier@st.com> Signed-off-by: Lionel Debieve <lionel.debieve@foss.st.com>
15 lines
279 B
C
15 lines
279 B
C
/*
|
|
* Copyright (c) 2022, STMicroelectronics - All Rights Reserved
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#ifndef STM32_RNG_H
|
|
#define STM32_RNG_H
|
|
|
|
#include <stdint.h>
|
|
|
|
int stm32_rng_read(uint8_t *out, uint32_t size);
|
|
int stm32_rng_init(void);
|
|
|
|
#endif /* STM32_RNG_H */
|