Chapter 2. API Reference
CONFIG_OPENSSL_DEBUG
Enable OpenSSL debugging
Found in: Component config > OpenSSL
Enable OpenSSL debugging function.
If the option is enabled, “SSL_DEBUG”works.
Default value:
• No (disabled)
CONFIG_OPENSSL_ERROR_STACK
Enable OpenSSL error structure
Found in: Component config > OpenSSL
Enable OpenSSL Error reporting
Default value:
• Yes (enabled)
CONFIG_OPENSSL_DEBUG_LEVEL
OpenSSL debugging level
Found in: Component config > OpenSSL
OpenSSL debugging level.
Only function whose debugging level is higher than “OPENSSL_DEBUG_LEVEL”works.
For example: If OPENSSL_DEBUG_LEVEL = 2, you use function“SSL_DEBUG(1,“malloc failed”
)”. Because 1 < 2, it will not print.
Range:
• from 0 to 255 if CONFIG_OPENSSL_DEBUG
Default value:
• 0 if CONFIG_OPENSSL_DEBUG
CONFIG_OPENSSL_LOWLEVEL_DEBUG
Enable OpenSSL low-level module debugging
Found in: Component config > OpenSSL
If the option is enabled, low-level module debugging function of OpenSSL is enabled, e.g. mbedtls
internal debugging function.
Default value:
• No (disabled) if CONFIG_OPENSSL_DEBUG
CONFIG_OPENSSL_ASSERT
Select OpenSSL assert function
Found in: Component config > OpenSSL
OpenSSL function needs “assert”function to check if input parameters are valid.
If you want to use assert debugging function, “OPENSSL_DEBUG”should be enabled.
Available options:
• Do nothing (OPENSSL_ASSERT_DO_NOTHING)
Do nothing and “SSL_ASSERT”does not work.
Espressif Systems 1212
Submit Document Feedback
Release v4.4