Define AVS_COMMONS_NET_WITH_MBEDTLS_SSLKEYLOG

Define Documentation

AVS_COMMONS_NET_WITH_MBEDTLS_SSLKEYLOG

Enables (Pre-)Master-Secret logs generation.

These logs contain TLS session secrets that tools like Wireshark can use to decrypt captured TLS traffic.

NOTE: This only works with Mbed TLS starting from v3.0.0. If you’re using Mbed TLS earlier than v3.1.0, you must enable MBEDTLS_SSL_EXPORT_KEYS.

NOTE: The user must specify the stream to which the logs will be transferred using the avs_mbedtls_set_sslkeylog_stream function.