mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
Add comment about seed
This commit is contained in:
parent
15fe53dad3
commit
3faa6e8325
@ -128,6 +128,7 @@ void _randomInit(void)
|
||||
int i;
|
||||
for (i=0; i<4; i++)
|
||||
{
|
||||
// Get process TRNG seeds from kernel.
|
||||
if (R_FAILED(svcGetInfo(&seed[i], 11, 0, i)))
|
||||
fatalSimple(MAKERESULT(MODULE_LIBNX, LIBNX_BADGETINFO_RNG));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user