1
0
mirror of https://github.com/switchbrew/libnx.git synced 2025-07-26 20:12:14 +02:00
libnx/nx/include/switch/services/csrng.h
friedkeenan da4c060278 Add a bunch of GetServiceSession functions ()
* Add a bunch of GetServiceSession functions
2019-07-13 15:09:28 -04:00

16 lines
373 B
C

/**
* @file csrng.h
* @brief Cryptographically-Secure Random Number Generation (csrng) service IPC wrapper.
* @author SciresM
* @copyright libnx Authors
*/
#pragma once
#include "../types.h"
#include "../services/sm.h"
Result csrngInitialize(void);
void csrngExit(void);
Service* csrngGetServiceSession(void);
Result csrngGetRandomBytes(void *out, size_t out_size);