mirror of
https://github.com/switchbrew/libnx.git
synced 2025-06-21 20:42:44 +02:00
16 lines
373 B
C
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);
|