1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-11-18 13:38:12 +00:00
trezor-firmware/embed/trezorhal/rng.h
2017-11-05 19:37:05 +01:00

11 lines
201 B
C

#ifndef TREZORHAL_RNG_H
#define TREZORHAL_RNG_H
#include STM32_HAL_H
void rng_init(void);
uint32_t rng_read(const uint32_t previous, const uint32_t compare_previous);
uint32_t rng_get(void);
#endif