mirror of
https://github.com/Atmosphere-NX/Atmosphere.git
synced 2025-05-27 13:14:15 -04:00
exo2: implement GenerateRandomBytes
This commit is contained in:
parent
6bf283ec2e
commit
fa64bf4951
6 changed files with 101 additions and 7 deletions
|
@ -19,6 +19,8 @@
|
|||
|
||||
namespace ams::secmon::smc {
|
||||
|
||||
constexpr inline size_t MaxRandomBytes = sizeof(SmcArguments) - sizeof(SmcArguments{}.r[0]);
|
||||
|
||||
void FillRandomCache();
|
||||
void RefillRandomCache();
|
||||
void GetRandomFromCache(void *dst, size_t size);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue