Make redbean ssl handshake go a little faster

This commit is contained in:
Justine Tunney 2021-07-03 05:51:04 -07:00
parent 87222aad35
commit 74200a0ea0
6 changed files with 33 additions and 18 deletions

View file

@ -36,6 +36,11 @@ asm(".include \"libc/disclaimer.inc\"");
#if defined(MBEDTLS_ECDH_C) && defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED)
#ifdef memcpy
#undef memcpy
#endif
#define memcpy(x,y,z) __builtin_memcpy(x,y,z)
#define load64_le(b) READ64LE(b)
#define store64_le(b, i) WRITE64LE(b, i)