wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Apply various Espressif compatibility updates

Open gojimmypi opened this issue 1 year ago • 2 comments

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

gojimmypi avatar Oct 13 '24 18:10 gojimmypi

Jenkins retest this please

gojimmypi avatar Oct 16 '24 02:10 gojimmypi

Jenkins retest this please

gojimmypi avatar Oct 16 '24 03:10 gojimmypi

Force push to resolve a minor merge conflict with https://github.com/wolfSSL/wolfssl/pull/8076 & squash commits.

gojimmypi avatar Oct 21 '24 16:10 gojimmypi