summaryrefslogtreecommitdiffstats
path: root/include/drivers/st/stm32_rng.h
blob: 6ac064d11ec9e0128d4992ee72cb5efd6d25b121 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
/*
 * 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 */