mirror of
https://github.com/Dasharo/zephyr.git
synced 2026-03-06 14:57:20 -08:00
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: Marcin Niestroj <m.niestroj@emb.dev>