Skip to content

Apply various Espressif compatibility updates#8066

Merged
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
gojimmypi:pr-espressif-wolfcrypt
Oct 21, 2024
Merged

Apply various Espressif compatibility updates#8066
JacobBarthelmeh merged 1 commit intowolfSSL:masterfrom
gojimmypi:pr-espressif-wolfcrypt

Conversation

@gojimmypi
Copy link
Copy Markdown
Contributor

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 gojimmypi requested a review from dgarske October 14, 2024 15:12
@gojimmypi gojimmypi requested a review from wolfSSL-Bot October 14, 2024 15:31
@gojimmypi gojimmypi added the For This Release Release version 5.9.1 label Oct 15, 2024
@gojimmypi
Copy link
Copy Markdown
Contributor Author

Jenkins retest this please

@gojimmypi gojimmypi force-pushed the pr-espressif-wolfcrypt branch from 4e18ed0 to 9e6d6b2 Compare October 16, 2024 02:51
@gojimmypi
Copy link
Copy Markdown
Contributor Author

Jenkins retest this please

@gojimmypi gojimmypi changed the title Apply various espressif compatibility updates Apply various Espressif compatibility updates Oct 16, 2024
@gojimmypi gojimmypi force-pushed the pr-espressif-wolfcrypt branch from 9e6d6b2 to 187a9b5 Compare October 21, 2024 16:20
@gojimmypi
Copy link
Copy Markdown
Contributor Author

Force push to resolve a minor merge conflict with #8076 & squash commits.

@JacobBarthelmeh JacobBarthelmeh merged commit 8a71c3b into wolfSSL:master Oct 21, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

For This Release Release version 5.9.1

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants