|
cwist
Modern C web framework with libttak runtime
|
mbedTLS TLS backend: RAND_bytes over mbedTLS CTR-DRBG. More...

Go to the source code of this file.
Macros | |
| #define | RAND_bytes cwist_mtls_RAND_bytes |
Functions | |
| int | cwist_mtls_RAND_bytes (unsigned char *buf, int num) |
mbedTLS TLS backend: RAND_bytes over mbedTLS CTR-DRBG.
Part of the CWIST TLS backend seam; see shim/openssl/ssl.h for the design. The DRBG is seeded lazily from the system entropy source and re-seeded after fork(), so CWIST's pre-fork worker model never shares DRBG state between worker processes.
Definition in file rand.h.
| #define RAND_bytes cwist_mtls_RAND_bytes |