1
0
mirror of https://github.com/trezor/trezor-firmware.git synced 2024-12-20 21:38:26 +00:00
trezor-firmware/embed/trezorhal/rng.h
2017-12-15 16:56:08 +01:00

11 lines
200 B
C

#ifndef TREZORHAL_RNG_H
#define TREZORHAL_RNG_H
#include <stdint.h>
void rng_init(void);
uint32_t rng_read(const uint32_t previous, const uint32_t compare_previous);
uint32_t rng_get(void);
#endif