From c7ad33e5d497489d16afc84c90a73ed867c63167 Mon Sep 17 00:00:00 2001 From: Vikram Adiga Date: Tue, 12 Apr 2016 12:00:31 -0700 Subject: [PATCH] enable aesgcm and alpn support in TI-RTOS/WolfSSL configuration These macros enable the AES GCM cipher suites and application layer protocol negotiation in the TLS layer. Adding these macros would allow connecting to websites with higher security requirements and also support newer web technologies like HTTP/2 but the drawback is that they add ~2K increase in memory footprint. Applications not requiring these features can comment the macros and rebuild the library to get smaller footprint. Signed-off-by: Vikram Adiga --- wolfssl/wolfcrypt/settings.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wolfssl/wolfcrypt/settings.h b/wolfssl/wolfcrypt/settings.h index d3bbd452b..90bb9dbf2 100644 --- a/wolfssl/wolfcrypt/settings.h +++ b/wolfssl/wolfcrypt/settings.h @@ -546,6 +546,9 @@ static char *fgets(char *buff, int sz, FILE *fp) #define NO_ERROR_STRINGS #define USER_TIME #define HAVE_ECC + #define HAVE_ALPN + #define HAVE_TLS_EXTENSIONS + #define HAVE_AESGCM #ifdef __IAR_SYSTEMS_ICC__ #pragma diag_suppress=Pa089