libnx
csrng.h
Go to the documentation of this file.
1 /**
2  * @file csrng.h
3  * @brief Cryptographically-Secure Random Number Generation (csrng) service IPC wrapper.
4  * @author SciresM
5  * @copyright libnx Authors
6  */
7 #pragma once
8 #include "../types.h"
9 
10 Result csrngInitialize(void);
11 void csrngExit(void);
12 
13 Result csrngGetRandomBytes(void *out, size_t out_size);
u32 Result
Function error code result type.
Definition: types.h:46