forked from espressif/esp-idf
wpa_supplicant: Allow building with mbedTLS integration but no hardware MPI
Closes https://github.com/espressif/esp-idf/issues/5321
This commit is contained in:
committed by
Angus Gratton
parent
9718338984
commit
84d6d48fe0
@@ -160,7 +160,7 @@ int crypto_bignum_mulmod(const struct crypto_bignum *a,
|
||||
struct crypto_bignum *d)
|
||||
{
|
||||
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_init(&temp);
|
||||
|
||||
|
Reference in New Issue
Block a user