Skip to content

Commit

Permalink
sdkconfig: disable AES HW acceleration
Browse files Browse the repository at this point in the history
During several torture runs, the following error appeared sporadically:

E (23:45:27.704) esp-tls-mbedtls: read error :-0x7180:
E (23:45:27.705) TRANSPORT_BASE: esp_tls_conn_read error, errno=Success

Disabling AES hardware acceleration seems to fix those.
  • Loading branch information
stintel committed Aug 17, 2023
1 parent c8561a1 commit 3f8cb2d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions sdkconfig.willow
Original file line number Diff line number Diff line change
Expand Up @@ -982,8 +982,7 @@ CONFIG_MBEDTLS_CERTIFICATE_BUNDLE_MAX_CERTS=1000

# CONFIG_MBEDTLS_ECP_RESTARTABLE is not set
# CONFIG_MBEDTLS_CMAC_C is not set
CONFIG_MBEDTLS_HARDWARE_AES=y
CONFIG_MBEDTLS_AES_USE_INTERRUPT=y
# CONFIG_MBEDTLS_HARDWARE_AES is not set
CONFIG_MBEDTLS_HARDWARE_MPI=y
# CONFIG_MBEDTLS_HARDWARE_SHA is not set
CONFIG_MBEDTLS_ROM_MD5=y
Expand Down

0 comments on commit 3f8cb2d

Please sign in to comment.