zephyr/ext/lib/crypto
Michael Scott afd5442521 ext: mbedtls: change MBEDTLS_DEBUG config from string to bool
When default "n" is selected (as it is by default) this sets:
CONFIG_MBEDTLS_DEBUG="n"

When checked by the existing logic (example shown below) will always
be true and debug will be enabled all the time:
//#if defined(CONFIG_MBEDTLS_DEBUG)

Instead, let's change the config type to "bool" which will be
undefined when set to "n" (by default).  The existing #if defined()
checks will work correctly.

NOTE: This fix saves a lot of binary space when MBEDTLS is enabled
due to the amount debug output being compiled in.

Signed-off-by: Michael Scott <michael.scott@linaro.org>
2017-10-01 17:34:09 -04:00
..
mbedtls ext: mbedtls: change MBEDTLS_DEBUG config from string to bool 2017-10-01 17:34:09 -04:00
tinycrypt tinycrypt/sha256: Array compared to NULL has no effect 2017-08-29 16:31:53 -04:00
Kconfig license: use SPDX identifier for files in ext/ 2017-01-20 20:22:57 -05:00
Makefile ext/lib : Integrating mbedTLS to build process 2016-07-26 16:00:04 -07:00