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
implEdwardsPoint{/// Convert to a ProjectiveNielsPointpub(crate)fnas_projective_niels(&self) -> ProjectiveNielsPoint{ProjectiveNielsPoint{Y_plus_X:&self.Y + &self.X,Y_minus_X:&self.Y - &self.X,Z:self.Z,T2d:&self.T*&constants::EDWARDS_D2,}}}
We know that in the $\mathbb{P}^3$ model, $XY=ZT$, so $XY$ is not equal to $T$.
Is it a document error?
Is it correct to change to $(Y-X, Y+X, Z, 2dT)$?
The text was updated successfully, but these errors were encountered:
The document states as follows:$(Y+X,Y−X,Z,2dXY)$ $(Y+X,Y-X,Z,2dXY)$ in ‘Niels coordinates’."
DOC1 ProjectiveNielsPoint:
DOC2 "..., represented as
But the relevant code is as follows:
curve25519-dalek/curve25519-dalek/src/edwards.rs
Line 513 in 89aabac
We know that in the$\mathbb{P}^3$ model, $XY=ZT$ , so $XY$ is not equal to $T$ .$(Y-X, Y+X, Z, 2dT)$ ?
Is it a document error?
Is it correct to change to
The text was updated successfully, but these errors were encountered: