Skip to content
Commit a418ad4b authored by Marcin Niestroj's avatar Marcin Niestroj Committed by Carles Cufí
Browse files

modules: mbedtls: move debug log hook implementation to modules/mbedtls/



So far there was a debug log hook installed in TLS socket implementation.
However, mbedTLS (with debug enabled) might be used outside from TLS socket
and even outside from networking context.

Add new module, which implements debug log hook and makes it available
whenever CONFIG_MBEDTLS_DEBUG is enabled.

Note that debug hook needs to be installed for each mbedTLS context
separately, which means that this requires action from mbedTLS users, such
as TLS sockets implementation.

Signed-off-by: default avatarMarcin Niestroj <m.niestroj@emb.dev>
parent 6b386336
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment