MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / randomBytes

Method randomBytes

switch/source/script/scripthost.cpp:304–309  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

302 }
303
304 bool randomBytes(void* out, size_t size) override
305 {
306 // libnx's randomGet is the kernel CSPRNG; it has no failure mode.
307 randomGet(out, size);
308 return true;
309 }
310
311 void lowerPriority(void) override
312 {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected