smcGetRandomFor{User,Priv} Implementations.

This commit is contained in:
Michael Scire 2018-02-20 03:19:35 -08:00
parent 34667a65f9
commit cec055a44b
4 changed files with 132 additions and 1 deletions

13
exosphere/randomcache.h Normal file
View file

@ -0,0 +1,13 @@
#ifndef EXOSPHERE_RANDOM_CACHE_H
#define EXOSPHERE_RANDOM_CACHE_H
#include <stdint.h>
/* This method must be called on startup. */
void randomcache_init(void);
void randomcache_refill(void);
void randomcache_getbytes(void *dst, size_t num_bytes);
#endif