20 if (!ctx)
return false;
24#ifdef CWIST_TLS_MBEDTLS
28 CWIST_LOG_WARN(
"PQC layer: mbedTLS backend has no hybrid post-quantum groups; "
29 "enforcing TLS 1.3 with classical key exchange");
38 groups =
"X25519MLKEM768:X25519:P-256";
Lightweight macro-based internal logging for CWIST.
#define CWIST_LOG_ERROR(fmt,...)
#define CWIST_LOG_INFO(fmt,...)
#define CWIST_LOG_WARN(fmt,...)
bool cwist_tls_apply_pqc_layer(cwist_app *app, SSL_CTX *ctx)
Apply PQC hybrid key exchange settings to an SSL context.
mbedTLS TLS backend: OpenSSL-shaped seam over the CWIST TLS subset.
#define SSL_CTX_set_options
#define SSL_OP_NO_TLSv1_2
#define SSL_CTX_set1_groups_list
struct cwist_mtls_ctx SSL_CTX
#define SSL_OP_NO_TLSv1_1
#define SSL_CTX_set_min_proto_version
Main Application Context.
char * tls_groups
Explicit TLS groups override (NULL = automatic)
bool pqc_layer_enabled
PQC Layer enabled flag.
Core Application Structure and Lifecycle Management.