mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-01-31 11:37:35 +00:00
6ff46ca373
This cuts build latency down from 5 seconds to 500 milliseconds.
15 lines
810 B
C
15 lines
810 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_
|
|
/* clang-format off */
|
|
#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_ */
|