summaryrefslogtreecommitdiff
path: root/source/kit/secure_random.h
blob: 54a40e08e4a4a2b1b2a0ad0ffdb62d7e10a73a3c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef KIT_SECURE_RANDOM_H
#define KIT_SECURE_RANDOM_H

#include "status.h"

#ifdef __cplusplus
extern "C" {
#endif

kit_status_t kit_secure_random(i64 size, void *data);

#ifdef __cplusplus
}
#endif

#ifndef KIT_DISABLE_SHORT_NAMES
#  define secure_random kit_secure_random
#endif

#endif