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
{{ message }}
This repository has been archived by the owner on Dec 27, 2023. It is now read-only.
This is unexpected from a function that's supposed to return an affine representation, since it actually mutates the point (and can cause nasty race conditions in code assuming the Affine is really just a getter and not a setter.)
The text was updated successfully, but these errors were encountered:
Currently, the
Affine
function is callingg.affine(p, p)
:bls12-381/g1.go
Lines 336 to 338 in 3a0f255
But then it changes the underlying point
p
, because of thisSet
:bls12-381/g1.go
Lines 352 to 355 in 3a0f255
This is unexpected from a function that's supposed to return an affine representation, since it actually mutates the point (and can cause nasty race conditions in code assuming the
Affine
is really just a getter and not a setter.)The text was updated successfully, but these errors were encountered: