wolfssl
wolfssl copied to clipboard
Apply various Espressif compatibility updates
Description
Updates wolfCrypt for various Espressif device and environment / version compatibility.
A non-obvious but critical update is the WOLFSSL_CMAKE_REQUIRED_ESP_TLS detection in the new esp-tls component and bundle support. When a compatible environment is found, the esp-tls component's respective <esp_tls.h> is included so that the non-wolfSSL esp_tls_free_global_ca_store(); can be called during cleanup.
As wolfSSL support is defined in the respective ESP-IDF CMakeLists.txt, the WOLFSSL_CMAKE_REQUIRED_ESP_TLS is expected to be defined in that cmake file when the component support is added to the ESP-IDF.
See my esp_http_client_example for an example.
Also, during testing on multiple different flavors of the ESP32 / ESP8266, some attributes in the memory library are not available and are now gated out.
Includes various spelling corrections, comment updates, and more.
Fixes zd# n/a
Testing
Tested on my 9-device jig, Espressif only
Checklist
- [ ] added tests
- [ ] updated/added doxygen
- [ ] updated appropriate READMEs
- [ ] Updated manual and documentation
Jenkins retest this please
Jenkins retest this please
Force push to resolve a minor merge conflict with https://github.com/wolfSSL/wolfssl/pull/8076 & squash commits.