]>
Commit | Line | Data |
---|---|---|
0c1f3509 MG |
1 | #ifndef _CRYPTO_ENTROPY_H_ |
2 | #define _CRYPTO_ENTROPY_H_ | |
3 | ||
4 | #include <stddef.h> | |
5 | #include <stdint.h> | |
6 | ||
7 | /** | |
8 | * crypto_entropy_read(buf, buflen): | |
9 | * Fill the buffer with unpredictable bits. The value ${buflen} must be | |
10 | * less than 2^16. | |
11 | */ | |
12 | int crypto_entropy_read(uint8_t *, size_t); | |
13 | ||
14 | #endif /* !_CRYPTO_ENTROPY_H_ */ |