Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Elliptic Curve Cryptography (ECC)

Table of Contents


Elliptic Curve


Elliptic curves have the general form:

Weierstrass Form:

Montgomery Form:

Twisted Edwards Form:

All three forms are equivalent, as there exists bijective mapping of any curves between any two forms.

For any point in the general form , for some constants .

Elliptic Curve over Real Numbers


Denote the curve as .

For some constants , such that , the set of points on the curve is: , where is the identity (the point at infinity).

Point Addition

The sum of points and for elliptic curves is , where is the reflection over the x-axis of , and is the intersection point of line with the curve. If such point does not exists, then the sum would be the infinity point.

This operation is commutative, which means that the group is an Abelian Group, with the identity being .

Example with the curve , : EC point addition example

Algebraic Expression of Point Addition

Case

There exists only one intersection between the tangent line at and the curve; hence,

, and

.

Case

, where .

Case

would be the second intersection point of, the tangent line of the curve at . For curve in Weierstrass form, the formula is given as:

, where .

Case

, because there exists only one intersection between the tangent line at and the curve.

Point Multiplication

Point multiplication is defined to be repeated point addition. Given a point and an integer , . This could be done efficiently with the double-and-add method.

However, similar to the index, there is no more efficient method of finding given and in comparison with repeatedly subtracting from .

Elliptic Curve over Finite Field


For some prime and some constants , such that , the set of points on the curve is: , where is the identity (the point at infinity).

Point Arithmetic over Finite Field

Point addition over the finite field is similar to point addition over infinite field, with the exception that all operations are done under modulo , and division becomes multiplication with the modular inverse (always exists since the modulo is a prime).

Point multiplication over the finite field is repeated addition, and also can be computed efficiently with the double-and-add method.

Cyclic Group

To generate a cyclic group from , choose any point , and construct . This cyclic group of order would be a subgroup of . The order of depends on the choice of , and it must be a divisor of by Lagrange's Theorem.

FFEC example (An example of a cyclic group formed)

Elliptic Curve in Cryptography


ECC is based on elliptic curve over the prime finite field.

Elliptic-Curve Diffie–Hellman (ECDH)