wolfssl icon indicating copy to clipboard operation
wolfssl copied to clipboard

Espressif updates to fix Apple Homekit SHA / SRP

Open gojimmypi opened this issue 1 year ago • 0 comments

Description

This PR addresses the problems encountered for the ESP32-C2 as noted in https://github.com/wolfSSL/wolfssl/issues/7210 (see https://github.com/wolfSSL/wolfssl/issues/7210#issuecomment-2042123598).

In particular, the concurrent SHA calculations have been improved: both in a multi-threaded environment, as well as for multiple, different SHA calculations (e.g. multiple SHA256, and/or concurrent, ongoing SHA512 hash calculations, suc as those in the SRP)

See application & notes in https://github.com/AchimPieters/esp32-homekit-demo/pull/3

Fixes zd# n/a

Testing

How did you test?

Exhaustively tested on 8 types of ESP32 flavors + ESP8288 using my test jig and the wolfssl_test example app for Espressif.

Also tested on Apple iPhone 5c with the Apple Homekit app and confirmed working for:

  • ESP32
  • ESP32-S2
  • ESP32-S3
  • ESP32-C2
  • ESP32-C3
  • ESP32-C6

A variety of other minor changes, comments, and various code cleanup.

Checklist

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

gojimmypi avatar May 04 '24 22:05 gojimmypi