Simple TLS Client with wolfSSL

Dependencies:   wolfSSL

Embed: (wiki syntax)

« Back to documentation index

Show/hide line numbers user_settings.h Source File

user_settings.h

00001 #include <stddef.h>
00002 
00003     #define WOLFSSL_CMSIS_RTOS    
00004     #define WOLFSSL_USER_IO
00005     #define NO_WRITEV
00006     #define NO_DEV_RANDOM
00007     
00008     #define HAVE_ECC
00009     #define HAVE_AESGCM
00010     #define WOLFSSL_GENSEED_FORTEST
00011     
00012     #define WOLFSSL_TLS13
00013     #define HAVE_SUPPORTED_CURVES
00014     #define HAVE_TLS_EXTENSIONS
00015     #define WC_RSA_PSS 
00016     #define HAVE_HKDF
00017     #define HAVE_FFDHE_2048
00018     #define TLS13_SUPPORTS_0RTT
00019     
00020     #define WOLFSSL_SHA384
00021     #define WOLFSSL_SHA512
00022     #define HAVE_CURVE25519
00023     #define HAVE_ED25519   /* with HAVE_SHA512 */
00024     #define HAVE_POLY1305
00025     #define HAVE_CHACHA
00026     #define HAVE_ONE_TIME_AUTH
00027     
00028     #define NO_SESSION_CACHE // For Small RAM
00029     #define NO_WOLFSSL_DIR 
00030      
00031     //#define DEBUG_WOLFSSL
00032 
00033 
00034     #define SIZEOF_LONG_LONG  8
00035     /* Options for Sample program */
00036     //#define WOLFSSL_NO_VERIFYSERVER
00037 
00038 
00039     /* Options for test */
00040     #define USE_CERT_BUFFERS_2048 /* use test certs */
00041     #define NO_ASN_TIME /* No cert date validity check */