|
lwIP
2.1.3
Lightweight IP stack
|
#include "lwip/opt.h"Macros | |
| #define | LWIP_ALTCP_TLS_MBEDTLS 0 |
| #define | ALTCP_MBEDTLS_DEBUG LWIP_DBG_OFF |
| #define | ALTCP_MBEDTLS_LIB_DEBUG LWIP_DBG_OFF |
| #define | ALTCP_MBEDTLS_LIB_DEBUG_LEVEL_MIN 0 |
| #define | ALTCP_MBEDTLS_USE_SESSION_CACHE 0 |
| #define | ALTCP_MBEDTLS_SESSION_CACHE_SIZE 30 |
| #define | ALTCP_MBEDTLS_SESSION_CACHE_TIMEOUT_SECONDS (60 * 60) |
| #define | ALTCP_MBEDTLS_USE_SESSION_TICKETS 0 |
| #define | ALTCP_MBEDTLS_SESSION_TICKET_CIPHER MBEDTLS_CIPHER_AES_256_GCM |
| #define | ALTCP_MBEDTLS_SESSION_TICKET_TIMEOUT_SECONDS (60 * 60 * 24) |
Application layered TCP/TLS connection API (to be used from TCPIP thread)
This file contains options for an mbedtls port of the TLS layer.
| #define ALTCP_MBEDTLS_DEBUG LWIP_DBG_OFF |
Configure debug level of this file
| #define ALTCP_MBEDTLS_LIB_DEBUG LWIP_DBG_OFF |
Configure lwIP debug level of the mbedTLS library
| #define ALTCP_MBEDTLS_LIB_DEBUG_LEVEL_MIN 0 |
Configure minimum internal debug level of the mbedTLS library
| #define ALTCP_MBEDTLS_SESSION_CACHE_SIZE 30 |
Maximum cache size of the basic session cache
| #define ALTCP_MBEDTLS_SESSION_CACHE_TIMEOUT_SECONDS (60 * 60) |
Set a session timeout in seconds for the basic session cache
| #define ALTCP_MBEDTLS_SESSION_TICKET_CIPHER MBEDTLS_CIPHER_AES_256_GCM |
Session ticket cipher
| #define ALTCP_MBEDTLS_SESSION_TICKET_TIMEOUT_SECONDS (60 * 60 * 24) |
Maximum timeout for session tickets
| #define ALTCP_MBEDTLS_USE_SESSION_CACHE 0 |
Enable the basic session cache ATTENTION: Using a session cache can lower security by reusing keys!
| #define ALTCP_MBEDTLS_USE_SESSION_TICKETS 0 |
Use session tickets to speed up connection setup (needs MBEDTLS_SSL_SESSION_TICKETS enabled in mbedTLS config). ATTENTION: Using session tickets can lower security by reusing keys!
| #define LWIP_ALTCP_TLS_MBEDTLS 0 |
LWIP_ALTCP_TLS_MBEDTLS==1: use mbedTLS for TLS support for altcp API mbedtls include directory must be reachable via include search path