xref: /haiku/headers/private/system/random_defs.h (revision 6bde05aebd17e946ea8af7ef4e55cb609aa4c68e)
1 /*
2  * Copyright 2023, Haiku, Inc. All rights reserved.
3  * Distributed under the terms of the MIT License.
4  */
5 #ifndef _KERNEL_RANDOM_DEFS_H
6 #define _KERNEL_RANDOM_DEFS_H
7 
8 
9 #include <stddef.h>
10 
11 
12 #define RANDOM_SYSCALLS			"random"
13 #define RANDOM_GET_ENTROPY		1
14 
15 
16 struct random_get_entropy_args {
17 	void* buffer;
18 	size_t length;
19 };
20 
21 
22 #endif	/* _KERNEL_RANDOM_DEFS_H */
23