mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
mbedtls: Temporarily disable hardware acceleration in dual-core mode
Temporary fix, until DPORT bugs in crypto accelerators are completely fixed.
This commit is contained in:
parent
3d3994632b
commit
3ab2436b11
@ -31,14 +31,25 @@ config MBEDTLS_DEBUG
|
|||||||
at runtime in order to enable mbedTLS debug output via the ESP
|
at runtime in order to enable mbedTLS debug output via the ESP
|
||||||
log mechanism.
|
log mechanism.
|
||||||
|
|
||||||
|
config MBEDTLS_UNSAFE_ACCELERATION
|
||||||
|
bool "Allow buggy hardware acceleration features"
|
||||||
|
depends on !FREERTOS_UNICORE
|
||||||
|
default n
|
||||||
|
help
|
||||||
|
A bug currently prevents dual cores & crypto hardware acceleration from being used together.
|
||||||
|
|
||||||
|
Enable this option to allow hardware acceleration anyhow (note that invalid results or crashes may occur.)
|
||||||
|
|
||||||
config MBEDTLS_HARDWARE_AES
|
config MBEDTLS_HARDWARE_AES
|
||||||
bool "Enable hardware AES acceleration"
|
bool "Enable hardware AES acceleration"
|
||||||
|
depends on MBEDTLS_UNSAFE_ACCELERATION || FREERTOS_UNICORE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable hardware accelerated AES encryption & decryption.
|
Enable hardware accelerated AES encryption & decryption.
|
||||||
|
|
||||||
config MBEDTLS_HARDWARE_MPI
|
config MBEDTLS_HARDWARE_MPI
|
||||||
bool "Enable hardware MPI (bignum) acceleration"
|
bool "Enable hardware MPI (bignum) acceleration"
|
||||||
|
depends on MBEDTLS_UNSAFE_ACCELERATION || FREERTOS_UNICORE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable hardware accelerated multiple precision integer operations.
|
Enable hardware accelerated multiple precision integer operations.
|
||||||
@ -60,6 +71,7 @@ config MBEDTLS_MPI_USE_INTERRUPT
|
|||||||
|
|
||||||
config MBEDTLS_HARDWARE_SHA
|
config MBEDTLS_HARDWARE_SHA
|
||||||
bool "Enable hardware SHA acceleration"
|
bool "Enable hardware SHA acceleration"
|
||||||
|
depends on MBEDTLS_UNSAFE_ACCELERATION || FREERTOS_UNICORE
|
||||||
default y
|
default y
|
||||||
help
|
help
|
||||||
Enable hardware accelerated SHA1, SHA256, SHA384 & SHA512 in mbedTLS.
|
Enable hardware accelerated SHA1, SHA256, SHA384 & SHA512 in mbedTLS.
|
||||||
|
Loading…
x
Reference in New Issue
Block a user