Stack Exchange network consists of 183 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
Cryptography Stack Exchange is a question and answer site for software developers, mathematicians and others interested in cryptography. It only takes a minute to sign up.
$\begingroup$If you wanted to set P to the Ed25519 base point, what 4 component values would you use for P? I'm guessing the problem is related to confusion between coordinate systems. When you add, normally the Augend is in P3 coordinate space, and the Addend is converted to "cached" coordinate space first, where the conversion is (X,Y,Z,T)->(Y + X, Y - X, Z, 2*d*T).$\endgroup$
$\begingroup$Sorry, my fault. It's neither the addition nor the doubling that's incorrect. It's that I'm generating points with random coordinates which are not valid curve points$\endgroup$
By clicking “Accept all cookies”, you agree Stack Exchange can store cookies on your device and disclose information in accordance with our Cookie Policy.