mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-31 23:08:22 -04:00
smcGetRandomFor{User,Priv} Implementations.
This commit is contained in:
parent
34667a65f9
commit
cec055a44b
4 changed files with 132 additions and 1 deletions
13
exosphere/randomcache.h
Normal file
13
exosphere/randomcache.h
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue