You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
halo2-ecc/src/ecc/mod.rs helper ec_double helper only work for secp256k1 , not work for p256, need to be updated as following:
if current point is P (x, y)
then
lambda = (3* x ^2 + a) / 2y (mod p)
x_3 = lambda^2 - 2x (mod p)
y_3 = lambda(x_3 -x) (mod p)
the point(x_3, y_3) is the addition result.
The text was updated successfully, but these errors were encountered:
halo2-ecc/src/ecc/mod.rs helper
ec_double
helper only work for secp256k1 , not work for p256, need to be updated as following:if current point is P (x, y)
then
lambda = (3* x ^2 + a) / 2y (mod p)
x_3 = lambda^2 - 2x (mod p)
y_3 = lambda(x_3 -x) (mod p)
the point(x_3, y_3) is the addition result.
The text was updated successfully, but these errors were encountered: