summaryrefslogtreecommitdiffstats
path: root/include/drivers/st/stm32_rng.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/drivers/st/stm32_rng.h')
-rw-r--r--include/drivers/st/stm32_rng.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/include/drivers/st/stm32_rng.h b/include/drivers/st/stm32_rng.h
new file mode 100644
index 0000000..6ac064d
--- /dev/null
+++ b/include/drivers/st/stm32_rng.h
@@ -0,0 +1,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 */