mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-08-04 13:14:45 +02:00
Merge pull request #6272 from gojimmypi/wolfcrypt-mpi-fix
mp_setneg(Z), not mpi
This commit is contained in:
@@ -370,7 +370,7 @@ int esp_mp_mul(MATH_INT_T* X, MATH_INT_T* Y, MATH_INT_T* Z)
|
||||
esp_mp_hw_unlock();
|
||||
|
||||
if (!mp_iszero(Z) && neg) {
|
||||
mp_setneg(mpi);
|
||||
mp_setneg(Z);
|
||||
}
|
||||
|
||||
return ret;
|
||||
|
Reference in New Issue
Block a user