stm32_rng.h 279 B

123456789101112131415
  1. /*
  2. * Copyright (c) 2022, STMicroelectronics - All Rights Reserved
  3. *
  4. * SPDX-License-Identifier: BSD-3-Clause
  5. */
  6. #ifndef STM32_RNG_H
  7. #define STM32_RNG_H
  8. #include <stdint.h>
  9. int stm32_rng_read(uint8_t *out, uint32_t size);
  10. int stm32_rng_init(void);
  11. #endif /* STM32_RNG_H */