summaryrefslogtreecommitdiff
path: root/include/trng.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/trng.h')
-rw-r--r--include/trng.h7
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