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
Description: According to the referenced papers value returned by finalExponentiation() is not A^((p^12 -1)/r) but A^(s*((p^12 -1)/r)) where s is not divisible by r.
Recommendation: Update doc comment and add context information why it's not a problem that the result is raised to the power of s = 2u (6u^2 + 3u + 1), where u is the curve seed.
zkSync:
Spearbit:
The text was updated successfully, but these errors were encountered:
Context: EcPairing.yul#L1419
Description: According to the referenced papers value returned by
finalExponentiation()
is notA^((p^12 -1)/r)
butA^(s*((p^12 -1)/r))
wheres
is not divisible byr
.Recommendation: Update doc comment and add context information why it's not a problem that the result is raised to the power of
s = 2u (6u^2 + 3u + 1)
, whereu
is the curve seed.zkSync:
Spearbit:
The text was updated successfully, but these errors were encountered: