Skip to content

Conversation

@gojimmypi
Copy link
Contributor

Description

The latest (unreleased) version of Espressif ESP-IDF v6 was observed misbehaving with ESP32 hardware acceleration on RISC-V targets such as the ESP32-C6.

This PR adds a newly introduced sha_hal_set_mode that is now required.

Fixes zd# n/a

Testing

How did you test? Manually testing on target ESP32C6:

I (896) esp32_util: CONFIG_IDF_TARGET = esp32c6
I (900) esp32_util: Found WOLFSSL_ESP_NO_WATCHDOG
I (904) esp32_util: CONFIG_MAIN_TASK_STACK_SIZE: 25500
I (909) esp32_util: CONFIG_ESP_MAIN_TASK_STACK_SIZE: 25500
I (915) esp32_util: CONFIG_TIMER_TASK_STACK_SIZE: 3584
I (919) esp32_util: CONFIG_TIMER_TASK_STACK_DEPTH: 2048
I (924) esp32_util: Stack HWM: 40816cff
I (928) esp32_util: ESP32_CRYPT is enabled for ESP32-C6.
I (933) esp32_util: SINGLE_THREADED
I (936) esp32_util: Boot count: 1
I (939) wolfssl_test: Stack HWM: 24052

I (944) wolfssl_test: Free heap memory: 436812 bytes; Start 436812
I (949) wolfssl_test: Stack HWM: 24052

------------------------------------------------------------------------------
 wolfSSL version 5.8.2
------------------------------------------------------------------------------
error    test passed!
MEMORY   test passed!
base64   test passed!
asn      test passed!
MD5      test passed!
MD2      test passed!
MD4      test passed!
SHA      test passed!
SHA-224  test passed!
SHA-256  test passed!
SHA-384  test passed!
SHA-512  test passed!
SHA-512/224  test passed!
SHA-512/256  test passed!
RANDOM   test passed!
Hash     test passed!
BLAKE2b  test passed!
BLAKE2s  test passed!
HMAC-MD5 test passed!
HMAC-SHA test passed!
HMAC-SHA224 test passed!
... etc ...

Checklist

  • added tests
  • updated/added doxygen
  • updated appropriate READMEs
  • Updated manual and documentation

@gojimmypi gojimmypi self-assigned this Sep 19, 2025
@gojimmypi
Copy link
Contributor Author

Jenkins retest this please

For AgentOfflineException: Unable to create live FilePath for wolf-linux-cloud-node-[n]; wolf-linux-cloud-node-[n] was marked offline: Connection was broken

@gojimmypi
Copy link
Contributor Author

Jenkins retest this please

For unrelated wolfSSL error: Compare TX and RX buffers failed unit test failure.

@gojimmypi gojimmypi mentioned this pull request Sep 24, 2025
4 tasks
@dgarske dgarske merged commit 36ce93d into wolfSSL:master Oct 2, 2025
252 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants