]>
Commit | Line | Data |
---|---|---|
0c1f3509 MG |
1 | #ifndef _ENTROPY_H_ |
2 | #define _ENTROPY_H_ | |
3 | ||
4 | #include <stddef.h> | |
5 | #include <stdint.h> | |
6 | ||
7 | /** | |
8 | * entropy_read(buf, buflen): | |
9 | * Fill the given buffer with random bytes provided by the operating system. | |
10 | */ | |
11 | int entropy_read(uint8_t *, size_t); | |
12 | ||
13 | #endif /* !_ENTROPY_H_ */ |