Kconfig 2.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. menu "ESP-TLS"
  2. choice ESP_TLS_LIBRARY_CHOOSE
  3. prompt "Choose SSL/TLS library for ESP-TLS (See help for more Info)"
  4. default ESP_TLS_USING_MBEDTLS
  5. help
  6. The ESP-TLS APIs support multiple backend TLS libraries. Currently mbedTLS and WolfSSL are
  7. supported. Different TLS libraries may support different features and have different resource
  8. usage. Consult the ESP-TLS documentation in ESP-IDF Programming guide for more details.
  9. config ESP_TLS_USING_MBEDTLS
  10. bool "mbedTLS"
  11. config ESP_TLS_USING_WOLFSSL
  12. depends on TLS_STACK_WOLFSSL
  13. bool "wolfSSL (License info in wolfSSL directory README)"
  14. endchoice
  15. config ESP_TLS_USE_SECURE_ELEMENT
  16. bool "Use Secure Element (ATECC608A) with ESP-TLS"
  17. depends on IDF_TARGET_ESP32 && ESP_TLS_USING_MBEDTLS
  18. select ATCA_MBEDTLS_ECDSA
  19. select ATCA_MBEDTLS_ECDSA_SIGN
  20. select ATCA_MBEDTLS_ECDSA_VERIFY
  21. default n
  22. help
  23. Enable use of Secure Element for ESP-TLS, this enables internal support for
  24. ATECC608A peripheral on ESPWROOM32SE, which can be used for TLS connection.
  25. config ESP_TLS_SERVER
  26. bool "Enable ESP-TLS Server"
  27. default n
  28. help
  29. Enable support for creating server side SSL/TLS session, available for mbedTLS
  30. as well as wolfSSL TLS library.
  31. config ESP_TLS_PSK_VERIFICATION
  32. bool "Enable PSK verification"
  33. select MBEDTLS_PSK_MODES if ESP_TLS_USING_MBEDTLS
  34. select MBEDTLS_KEY_EXCHANGE_PSK if ESP_TLS_USING_MBEDTLS
  35. select MBEDTLS_KEY_EXCHANGE_DHE_PSK if ESP_TLS_USING_MBEDTLS
  36. select MBEDTLS_KEY_EXCHANGE_ECDHE_PSK if ESP_TLS_USING_MBEDTLS
  37. select MBEDTLS_KEY_EXCHANGE_RSA_PSK if ESP_TLS_USING_MBEDTLS
  38. default n
  39. help
  40. Enable support for pre shared key ciphers, supported for both mbedTLS as well as
  41. wolfSSL TLS library.
  42. config ESP_WOLFSSL_SMALL_CERT_VERIFY
  43. bool "Enable SMALL_CERT_VERIFY"
  44. depends on ESP_TLS_USING_WOLFSSL
  45. default y
  46. help
  47. Enables server verification with Intermediate CA cert, does not authenticate full chain
  48. of trust upto the root CA cert (After Enabling this option client only needs to have Intermediate
  49. CA certificate of the server to authenticate server, root CA cert is not necessary).
  50. config ESP_DEBUG_WOLFSSL
  51. bool "Enable debug logs for wolfSSL"
  52. depends on ESP_TLS_USING_WOLFSSL
  53. default n
  54. help
  55. Enable detailed debug prints for wolfSSL SSL library.
  56. endmenu