nn::ssl::GenerateRandomBytes FunctionResult GenerateRandomBytes( u8 pOutData[], size_t outDataSize );
| Name | Description | |
|---|---|---|
| out | pOutData[] | Buffer that stores a random number. |
| in | outDataSize | Size of pOutData. |
Result values listed below. | Value | Description |
|---|---|
ResultSuccess |
Process was successful. |
| ResultNotInitializedErr | Error indicating that the library is not initialized. None of the functions in this library can be run without first running nn::ssl::Initialize. |
| A value other than the above. | Unexpected error (see ssl_Result.h for error details). |
Gets a random number.
CONFIDENTIAL