diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/trng.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/include/trng.h b/include/trng.h index ca8144eeec..06fbcc8544 100644 --- a/include/trng.h +++ b/include/trng.h @@ -26,6 +26,13 @@ void trng_init(void); /** + * Generate true random number. + * + * Not supported by all platforms. + **/ +uint32_t trng_rand(void); + +/** * Shutdown the true random number generator. * * The opposite operation of trng_init(), disable the hardware resources |