Professional Documents
Culture Documents
Computational Complexity
RSA
Diffie-Hellman
Elliptic Curve Cryptography Addition of two points in a EC (P = Q) Theorem
ECC is more powerful and efficient than alternatives like Consider what happens to the line L connecting P and Q Let E be an elliptic curve. The addition law on E
RSA and classical Diffie–Hellman. In fact, ECC with a if the point Q slides along the curve and gets closer and has the following properties:
256-bit key is stronger than RSA with a 4096-bit key, but closer to P . In the limit, as Q approaches P , the line L
it’s also more complex. becomes the tangent line to E at P . • Identity
P + O = O + P = P, ∀P
Definition: Elliptic Curve • Inverse
An elliptic curve is the set of solutions to an equa- P + (−P ) = O, ∀P
tion of the form
• Associativity
Y 2 = X 3 + Ax + B
(P + Q) + R = P + (Q + R), ∀P, Q, R
Equations of this type are called Weierstrass equa-
tions. • Commutativity
P + Q = Q + P, ∀P, Q
P ⊕ Q = R′ Considering two points P = (a, b) and P ′ = (a, −b). For To compute kP efficiently, the naive technique of adding
every point in the elliptic curve, P ⊕ P ′ = O. P by applying the addition law k − 1 times is far from
optimal. For example, if k is large (of the order of, say,
2256 ) as it occurs in elliptic curve–based cryptography
schemes, then computing k − 1 additions is infeasible. We
can gain an exponential speed-up by adapting this
technique. For example, to compute 8P in three
additions instead of seven using the naive method, we
would first compute P2 = P + P , then P4 = P2 + P2 , and
finally P4 + P4 = 8P .
where
c 1 P + d1 Q =
Q = kP
= c1 P + d1 kP =
= (c1 + d1 k)P
TLS