mirror of
https://github.com/espressif/esp-idf.git
synced 2024-10-05 20:47:46 -04:00
c097e6bcab
In commit de22f3a4e5cdb9d7d40c74a191f5f0061a7d7d94, combination of hardware and software MPI (bignum) related approach was used to work around chip (e.g. ESP32-C3) limitation of max 3072 bits support. This was done using linker "--wrap" flag but since the relevant API is being used in same translation (compilation unit), hardware mode was not getting used in some cases (e.g., RSA key generation). This commit modified internal mbedTLS API and makes software+hardware combination deterministic.