I recently spent a bunch of time debugging following issues: with debug logging enabled in mbedTLS, some messages are printed ok, some not, a bit of garbage was printed. Turned out, that we have MBEDTLS_PLATFORM_NO_STD_FUNCTIONS and MBED...