diff options
Diffstat (limited to 'nacl/randombytes/devurandom.h')
-rw-r--r-- | nacl/randombytes/devurandom.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/nacl/randombytes/devurandom.h b/nacl/randombytes/devurandom.h new file mode 100644 index 00000000..2e0caf8a --- /dev/null +++ b/nacl/randombytes/devurandom.h | |||
@@ -0,0 +1,24 @@ | |||
1 | /* | ||
2 | randombytes/devurandom.h version 20080713 | ||
3 | D. J. Bernstein | ||
4 | Public domain. | ||
5 | */ | ||
6 | |||
7 | #ifndef randombytes_devurandom_H | ||
8 | #define randombytes_devurandom_H | ||
9 | |||
10 | #ifdef __cplusplus | ||
11 | extern "C" { | ||
12 | #endif | ||
13 | |||
14 | extern void randombytes(unsigned char *,unsigned long long); | ||
15 | |||
16 | #ifdef __cplusplus | ||
17 | } | ||
18 | #endif | ||
19 | |||
20 | #ifndef randombytes_implementation | ||
21 | #define randombytes_implementation "devurandom" | ||
22 | #endif | ||
23 | |||
24 | #endif | ||