mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 03:27:39 +00:00
fa20edc44d
- Remove most __ASSEMBLER__ __LINKER__ ifdefs - Rename libc/intrin/bits.h to libc/serialize.h - Block pthread cancelation in fchmodat() polyfill - Remove `clang-format off` statements in third_party
14 lines
787 B
C
14 lines
787 B
C
#ifndef COSMOPOLITAN_THIRD_PARTY_MBEDTLS_ENTROPY_POLL_H_
|
|
#define COSMOPOLITAN_THIRD_PARTY_MBEDTLS_ENTROPY_POLL_H_
|
|
COSMOPOLITAN_C_START_
|
|
|
|
int mbedtls_null_entropy_poll(void *, unsigned char *, size_t, size_t *);
|
|
int mbedtls_platform_entropy_poll(void *, unsigned char *, size_t, size_t *);
|
|
int mbedtls_hardclock_poll(void *, unsigned char *, size_t, size_t *);
|
|
int mbedtls_hardware_poll(void *, unsigned char *, size_t, size_t *);
|
|
|
|
COSMOPOLITAN_C_END_
|
|
#define MBEDTLS_ENTROPY_MIN_PLATFORM 32 /*< Minimum for platform source */
|
|
#define MBEDTLS_ENTROPY_MIN_HARDCLOCK 4 /*< Minimum for mbedtls_timing_hardclock() */
|
|
#define MBEDTLS_ENTROPY_MIN_HARDWARE 32 /*< Minimum for the hardware source */
|
|
#endif /* COSMOPOLITAN_THIRD_PARTY_MBEDTLS_ENTROPY_POLL_H_ */
|