Loading [MathJax]/jax/output/HTML-CSS/jax.js
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

answered 4 years ago

Max Alekseyev gravatar image

Apparently, xP and xQ are coordinates of point on an elliptic curve over a finite field GF(p). In this case they represent residues modulo p, and operation % is not defined for them. If one wants to treat them as integers, a conversion is needed: uu = int(xQ) % int(xP)

click to hide/show revision 2
No.2 Revision

Apparently, xP and xQ are coordinates of point some points on an elliptic curve over a finite field GF(p). In this case they represent residues modulo p, and operation % is not defined for them. If one wants to treat them as integers, a conversion is needed: uu = int(xQ) % int(xP)

click to hide/show revision 3
No.3 Revision

Apparently, xP and xQ are coordinates of some points on an elliptic curve over a finite field GF(p). In this case they represent residues modulo p, and operation % is not defined for them. If one wants to treat them as integers, a conversion lifting is needed: uu = int(xQ) lift(xQ) % int(xP)lift(xP)