1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677 |
- /* Configuration */
- #define IPHONE /* Needed for Xcode */
- #define HAVE_HASHDRBG
- #define HAVE_AESGCM
- #define WOLFSSL_SHA512
- #define WOLFSSL_SHA384
- #ifdef HAVE_FIPS
- #define NO_MD4
- #define NO_HC128
- #define NO_RABBIT
- #define NO_DSA
- #define NO_PWDBASED
- #else
- /* disable "main" entry */
- #define NO_MAIN_DRIVER
- /* fast math */
- #define USE_FAST_MATH
- #define HAVE_ECC
- /* ECC speedups */
- #define ECC_SHAMIR
- #define TFM_ECC256
- /* timing resistance */
- #if 0
- #define WC_RSA_BLINDING
- #define TFM_TIMING_RESISTANT
- #define ECC_TIMING_RESISTANT
- #else
- #define WC_NO_HARDEN
- #endif
- /* single precision math */
- #if 1
- #define WOLFSSL_HAVE_SP_RSA
- #define WOLFSSL_HAVE_SP_DH
- #define WOLFSSL_HAVE_SP_ECC
- #endif
- /* ARMv8 - iPhone 8/8Plus and iPhone X */
- #ifdef __ARM_FEATURE_CRYPTO
- #define WOLFSSL_ARMASM
- #endif
- /* newer algorithms */
- #define WOLFSSL_SHA3
- #define HAVE_POLY1305
- #define HAVE_CHACHA
- #define HAVE_CURVE25519
- #define HAVE_ED25519
- /* TLS extensions */
- #define HAVE_ONE_TIME_AUTH
- #define HAVE_TLS_EXTENSIONS
- #define HAVE_SUPPORTED_CURVES
- #define HAVE_EXTENDED_MASTER
- /* off by default */
- #define NO_RC4
- #define NO_MD4
- #define NO_HC128
- #define NO_RABBIT
- #define NO_DSA
- #define NO_PSK
- #define NO_PWDBASED
- /* test certificate buffers */
- #define USE_CERT_BUFFERS_2048
- #define USE_CERT_BUFFERS_256
- //#define DEBUG_WOLFSSL
- #endif
|