Newer
Older
Atmosphere / exosphere / randomcache.h
@Michael Scire Michael Scire on 20 Feb 2018 258 bytes smcGetRandomFor{User,Priv} Implementations.
#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