This commit is contained in:
roconnor-blockstream 2023-03-22 22:01:01 -04:00 committed by GitHub
parent 9c8c4f443c
commit d1e7ca192d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -97,7 +97,7 @@ static void secp256k1_ecmult_odd_multiples_table(int n, secp256k1_ge *pre_a, sec
secp256k1_gej_set_ge(&ai, &pre_a[0]); secp256k1_gej_set_ge(&ai, &pre_a[0]);
ai.z = a->z; ai.z = a->z;
/* pre_a[0] is the point (a.x*C^2, a.y*C^3, a.z*C) which is equvalent to a. /* pre_a[0] is the point (a.x*C^2, a.y*C^3, a.z*C) which is equivalent to a.
* Set zr[0] to C, which is the ratio between the omitted z(pre_a[0]) value and a.z. * Set zr[0] to C, which is the ratio between the omitted z(pre_a[0]) value and a.z.
*/ */
zr[0] = d.z; zr[0] = d.z;