From 4e2c7b2b070699b9f0a9cfe75de8316866cc5ed1 Mon Sep 17 00:00:00 2001 From: Uros Majstorovic Date: Thu, 31 Mar 2022 13:17:48 +0200 Subject: random numbers for fe310 --- fw/fe310/eos/rng.h | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 fw/fe310/eos/rng.h (limited to 'fw/fe310/eos/rng.h') diff --git a/fw/fe310/eos/rng.h b/fw/fe310/eos/rng.h new file mode 100644 index 0000000..27bbf74 --- /dev/null +++ b/fw/fe310/eos/rng.h @@ -0,0 +1,5 @@ +#include + +int getentropy(unsigned char *b, size_t sz); +int arc4random_alloc(void **rsp, size_t rsp_size, void **rsxp, size_t rsxp_size); +void arc4random_close(void **rsp, void **rsxp); \ No newline at end of file -- cgit v1.2.3