mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-05-28 08:12:28 +00:00
Refactor out some duplicated code
This commit is contained in:
parent
e963d9c8e3
commit
579b597ded
58 changed files with 1110 additions and 3214 deletions
5
third_party/mbedtls/config.h
vendored
5
third_party/mbedtls/config.h
vendored
|
@ -109,13 +109,12 @@
|
|||
#define MBEDTLS_ENTROPY_MAX_SOURCES 4
|
||||
#define MBEDTLS_X509_MAX_INTERMEDIATE_CA 8
|
||||
|
||||
#ifndef TINY
|
||||
/*
|
||||
* Boosts performance from 230k qps to 330k
|
||||
* Hardens against against sbox side channels
|
||||
*/
|
||||
#define MBEDTLS_AESNI_C
|
||||
#define MBEDTLS_HAVE_ASM
|
||||
#ifndef TINY
|
||||
#define MBEDTLS_HAVE_X86_64
|
||||
#define MBEDTLS_HAVE_SSE2
|
||||
#endif
|
||||
|
@ -1263,5 +1262,5 @@
|
|||
#define MBEDTLS_HAVE_UDBL
|
||||
|
||||
#include "libc/dce.h"
|
||||
#include "third_party/mbedtls/check.h"
|
||||
#include "third_party/mbedtls/check.inc"
|
||||
#endif /* MBEDTLS_CONFIG_H_ */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue