ArticleslgStudy

computer science

Edwards curve

Edwards curve is a computer science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Edwards curve rather than just read about it. In short: In mathematics, the Edwards curves are a family of elliptic curves studied by Harold Edwards in 2007. The concept of elliptic curves over finite fields is widely used in elliptic curve cryptography.

Edwards curve — main illustration
Edwards curve — illustration

Key takeaways

  • Edwards curve belongs to computer science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Edwards curve to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Edwards curve from memory before moving on to harder problems.

Reference excerpt

In mathematics, the Edwards curves are a family of elliptic curves studied by Harold Edwards in 2007. The concept of elliptic curves over finite fields is widely used in elliptic curve cryptography. Applications of Edwards curves to cryptography were developed by Daniel J. Bernstein and Tanja Lange: they pointed out several advantages of the Edwards form in comparison to the more well known Weierstrass form.

Definition The equation of an Edwards curve over a field K which does not have characteristic 2 is:

x2+y2=1+d x2y2 for some scalar d∈K∖{0,1}. Also the following form with parameters c and d is called an Edwards curve:

x2+y2=c2(1+d x2y2) where c, d ∈ K with cd(1 − c4·d) ≠ 0. Every Edwards curve is birationally equivalent to an elliptic curve in Montgomery form, and thus admits an algebraic group law once one chooses a point to serve as a neutral element. If K is finite, then a sizeable fraction of all elliptic curves over K can be written as Edwards curves. Often elliptic curves in Edwards form are defined having c=1, without loss of generality. In the following sections, it is assumed that c=1.

The group law (See also Weierstrass curve group law) Every Edwards curve x2+y2=1+dx2y2 over field K with characteristic not equal to 2 with d≠1 is birationally equivalent to an elliptic curve over the same field: (1/e)v2=u3+(4/e−2)u2+u, where e=1−d,u=1+y1−y,v=2(1+y)x(1−y) and the point P=(0,1) is mapped to the infinity O. This birational mapping induces a group on any Edwards curve.

Edwards addition law On any elliptic curve the sum of two points is given by a rational expression of the coordinates of the points, although in general one may need to use several formulas to cover all possible pairs. For the Edwards curve, taking the neutral element to be the point (0, 1), the sum of the points (x1,y1) and (x2,y2) is given by the formula

(x1,y1)+(x2,y2)=(x1y2+x2y11+dx1x2y1y2,y1y2−x1x21−dx1x2y1y2) The opposite of any point (x,y) is (−x,y). The point (0,−1) has order 2, and the points (±1,0) have order 4. In particular, an Edwards curve always has a point of order 4 with coordinates in K. If d is not a square in K and {(x1,y1),(x2,y2)}∈{(x,y)|x2+y2=1+dx2y2}2, then there are no exceptional points: the denominators 1+dx1x2y1y2 and 1−dx1x2y1y2 are always nonzero. Therefore, the Edwards addition law is complete when d is not a square in K. This means that the formulas work for all pairs of input points on the Edwards curve with no exceptions for doubling, no exception for the neutral element, no exception for negatives, etc. In other words, it is defined for all pairs of input points on the Edwards curve over K and the result gives the sum of the input points. If d is a square in K, then the same operation can have exceptional points, i.e. there can be pairs of points (x1,y1),(x2,y2)∈{(x,y)|x2+y2=1+dx2y2} such that one of the denominators becomes zero: either 1+dx1x2y1y2=0 or 1−dx1x2y1y2=0. The addition formula above is faster than other unified formulas and has the strong property of completeness, which refers to its property of not requiring exceptions or branches in its computation. One of the attractive features of the Edwards Addition law is that it is strongly unified i.e. it can also be used to double a point, simplifying protection against side-channel attacks. The fact that the Edwards Addition law is a non-branching algorithm means that it can avoid leaking timing information related to branching via the amount of power drawn by the computer. Example of addition law : Consider the elliptic curve in the Edwards form with d=2

x2+y2=1+2x2y2 and the point P1=(1,0) on it. It is possible to prove that the sum of P1 with the neutral element (0,1) gives again P1. Indeed, using the formula given above, the coordinates of the point given by this sum are:

x3=x1y2+y1x21+2x1x2y1y2=1 y3=y1y2−x1x21−2x1x2y1y2=0

An analogue on the circle

To understand better the concept of "addition" of points on a curve, a nice example is given by the classical circle group: take the circle of radius 1

x2+y2=1 and consider two points P1=(x1,y1), P2=(x2,y2) on it. Let α1 and α2 be the angles such that:

P1=(x1,y1)=(sin⁡α1,cos⁡α1) P2=(x2,y2)=(sin⁡α2,cos⁡α2) The sum of P1 and P2 is, thus, given by the sum of "their angles". That is, the point P3=P1+P2 is a point on the circle with coordinates (x3,y3), where:

x3=sin⁡(α1+α2)=sin⁡α1cos⁡α2+sin⁡α2cos⁡α1=x1y2+x2y1 y3=cos⁡(α1+α2)=cos⁡α1cos⁡α2−sin⁡α1sin⁡α2=y1y2−x1x2. In this way, the addition formula for points on the circle of radius 1 is:

(x1,y1)+(x2,y2)=(x1y2+x2y1,y1y2−x1x2).

Addition on Edwards curves

The points on an elliptic curve form an abelian group: one can add points and take integer multiples of a single point. When an elliptic curve is described by a non-singular cubic equation, then the sum of two points P and Q, denoted P + Q, is directly related to third point of intersection between the curve and the line that passes through P and Q. The birational mapping between an Edwards curve and the corresponding cubic elliptic curve maps the straight lines into conic sections Axy+Bx+Cy+D=0. In other words, for the Edwards curves the three points P, Q and −(P+Q) lie on a hyperbola. Given two distinct non-identity points P1=(x1,y1),P2=(x2,y2),P1≠P2, the coefficients of the quadratic form are (up to scalars): A=(x1−x2)+(x1y2−x2y1), B=(x2y2−x1y1)+y1y2(x2−x1), C=x1x2(y1−y2),D=C In the case of doubling a point P=(x,y) the inverse point −2P lies on the conic that touches the curve at the point P. The coefficients of the quadratic form that defines the conic are (up to scalars): A=dx2y−1, B=y−x2, C=x(1−y),D=C

Projective homogeneous coordinates In the context of cryptography, homogeneous coordinates are used to prevent field inversions that appear in the affine formula. To avoid inversions in the original Edwards addition formulas, the curve equation can be written in projective coordinates as: (X2+Y2)Z2=Z4+dX2Y2. A projective point (X:Y:Z) corresponds to the affine point (X/Z:Y/Z) on the Edwards curve. The identity element is represented by (0:1:1). The inverse of (X:Y:Z) is (−X:Y:Z). The addition formula in homogeneous coordinates is given by: (X1:Y1:Z1)+(X2:Y2:Z2)=(X3:Y3:Z3) where X3=Z1Z2(X1Y2+X2Y1)(Z12Z22−dX1X2Y1Y2) Y3=Z1Z2(Y1Y2−X1X2)(Z12Z22+dX1X2Y1Y2) Z3=(Z12Z22−dX1X2Y1Y2)(Z12Z22+dX1X2Y1Y2)

… excerpt ends here. Continue reading the full article.

Illustrations

Edwards curve: Edwards curves of equation x2 + y2 = 1 + d ·x2·y2 over the real numbers for d = −300 (red), d = −√8 (yellow) and d = 0.9 (blue)
Edwards curves of equation x2 + y2 = 1 + d ·x2·y2 over the real numbers for d = −300 (red), d = −√8 (yellow) and d = 0.9 (blue)
Edwards curve: Clock group
Clock group
Edwards curve: Sum of two points on the Edwards curve with d = -30
Sum of two points on the Edwards curve with d = -30
Edwards curve: Doubling a point on the Edwards curve with d=-30
Doubling a point on the Edwards curve with d=-30

Worked examples

Example 1 — a first encounter with Edwards curve

Start with the simplest possible case. Write down what Edwards curve claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In computer science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Edwards curve before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Edwards curve ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Edwards curve

In research
Edwards curve appears in computer science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Edwards curve in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Edwards curve is common in secondary-school and first-year university syllabi. It links to neighbouring topics Elliptic curve cryptography, Elliptic curves, Quartic curves, so understanding it makes those chapters shorter.
In everyday life
Look for Edwards curve outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Edwards curve” →

How to study Edwards curve in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Edwards curve means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Edwards curve out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Edwards curve in simple terms?

In mathematics, the Edwards curves are a family of elliptic curves studied by Harold Edwards in 2007. The concept of elliptic curves over finite fields is widely used in elliptic curve cryptography.

Why does Edwards curve matter?

Because it connects several computer science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Edwards curve?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Edwards curve.

Tags

  • Elliptic curve cryptography
  • Elliptic curves
  • Quartic curves

Keep exploring