This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
Assumed Knowledge
What is an Elliptic Curve
An elliptic curve is simply a curve over 2 dimensions that has equation y2 = x3 + ax + b. What makes this worth studying is all of it's special properties as I will describe below
Addition Geometrically
To add the Points P and Q take the line between them and then extend it until it hits the curve again and call that point R, take the reflection of the point R in the x axis and then this point is P + Q.
There are however 3 different cases of the above statement that we need to think about as illustrated above
- This is where everything works perfectly as Q and P are different points and the line going through them hits the curve at exactly 1 other point so P + Q is just the reflection of that point
- This is where P = Q and so we take the line through these 2 points to be the tangent to the curve at P; however this line will still hit the curve at exactly 1 point and so 2P is just the reflection of that point
- This is where Q is directly under P (in this case we say Q = -P). This line will never hit to the curve again however for convenience sake we say that the curve includes a special point 𝓞 (called point at infinity or Poif) and so Q + P = 𝓞
- 3 now makes us consider what would happen if Q was this special point 𝓞; luckily we take the line between P and 𝓞 to be the line directly downwards so in image 3 this would mean it'd hit the curve again at Q making that R and so P + 𝓞 = P
𝓞 is called the unit of addition (as P + 𝓞 = P) but in some formulations of the Elliptic curve
Why is P + Q not just R
A lot of what makes Elliptic curves interesting and useful is the interesting way in which you can do multiplication by a number on them; and specifically the reason they are good for cryptography is that this multiplication is difficult to predict.
Now say P + Q = R as described above. Then P + P = R where R is where the tangent to the line at hits the curve again; R = 2P. R + P would therefore be 𝓞 as the line through P and R doesn't hit the curve at any other points (as the tangent to the curve at P goes through P and R and those are the only points it hits the curve). So for any point 3P = 𝓞 and so 4P = P (by 4 above). However this makes multiplication rather less exciting as nP is either P, 2P or 𝓞 which takes away the difficulty of the problem that we rely upon when we're doing cryptography over elliptic curves.
All of these problems are solved by making P + Q = -R, and so that's what we do
abbreviation(with HTML of abbr label)
That is, the abbreviation of a longer word or phrase, provided that recognition is turned on HTML Label is turned on by default
Multiplication
Now we aren't very interested in multiplication by other points on the elliptic curve - we are more interested in np where n is a integer.
We can define multiplication as below
0P = 𝓞
(n+1)P = P + nP
The smallest positive n such that nP = 𝓞 is called the order of P.
Types
| Name | Formula | The unit | Addition Formula | Doubling Formula |
|---|---|---|---|---|
| Short Weierstrass | Poif | |||
| Montgomery | Poif | |||
| Edwards | (0, 1) |
