Hello, Messaging! I'm trying to adapt Elligator2 p2r() to the uNaCl X25519 library for embedded systems. The original p2r() uses the sign(v) to select between sqrt(-u/(2(u+A))) and sqrt(-(u+A)/(2u))) . But X25519 point has no v ( sign(v) is always assumed to be 0 ). Can I use sign(v)=0 or must select the sign(v) randomly to get a completely random representation string of X25519 u-point with p2r()?
Thanks, Van Gegel.
_______________________________________________ Messaging mailing list Messaging@moderncrypto.org https://moderncrypto.org/mailman/listinfo/messaging