forked from wolfSSL/wolfssl
Fix issue with ECC_SHAMIR disabled due to curve->b remnant from async branch.
This commit is contained in:
@ -3628,11 +3628,9 @@ int wc_ecc_verify_hash_ex(mp_int *r, mp_int *s, const byte* hash,
|
||||
|
||||
/* compute u1*mG + u2*mQ = mG */
|
||||
if (err == MP_OKAY)
|
||||
err = wc_ecc_mulmod(&u1, mG, mG, &curve->Af, &curve->Bf,
|
||||
&curve->prime, 0);
|
||||
err = wc_ecc_mulmod(&u1, mG, mG, &curve->Af, &curve->prime, 0);
|
||||
if (err == MP_OKAY)
|
||||
err = wc_ecc_mulmod(&u2, mQ, mQ, &curve->Af, &curve->Bf,
|
||||
&curve->prime, 0);
|
||||
err = wc_ecc_mulmod(&u2, mQ, mQ, &curve->Af, &curve->prime, 0);
|
||||
|
||||
/* find the montgomery mp */
|
||||
if (err == MP_OKAY)
|
||||
|
Reference in New Issue
Block a user