mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 12:14:32 +02:00
Merge branch 'bugfix/wpa_supplicant_no_hw_mpi_v4.0' into 'release/v4.0'
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI (v4.0) See merge request espressif/esp-idf!9014
This commit is contained in:
@@ -160,7 +160,7 @@ int crypto_bignum_mulmod(const struct crypto_bignum *a,
|
|||||||
struct crypto_bignum *d)
|
struct crypto_bignum *d)
|
||||||
{
|
{
|
||||||
int res;
|
int res;
|
||||||
#if ALLOW_EVEN_MOD // Must enable this macro if c is even.
|
#if ALLOW_EVEN_MOD || !CONFIG_MBEDTLS_HARDWARE_MPI // Must enable ALLOW_EVEN_MOD if c is even
|
||||||
mbedtls_mpi temp;
|
mbedtls_mpi temp;
|
||||||
mbedtls_mpi_init(&temp);
|
mbedtls_mpi_init(&temp);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user