mirror of
https://github.com/espressif/esp-idf.git
synced 2025-08-02 20:24:32 +02:00
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)
|
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