You are on page 1of 6

Criptografia – Teste 2

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

Addition of two points in a EC (P ̸= Q) Thus an elliptic curve is an Abelian group.

Let P and Q be two points on an elliptic curve E. We


start by drawing the line L through P and Q, which
intersects E at three points, namely P , Q, and one other
Multiplication by in integer in a EC
point R. We take that point R and reflect it across the
k
x-axis (i.e., we multiply its Y coordinate by −1) to get a X
new point R′ . We write kP = P + P + · · · + P = P
Addition of two points in a EC (P ⊕ P ′ ) | {z
k−1 times
}
i=1

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 .

Elliptic Curves over Finite Fields


We define an elliptic curve over the finite field Fp to be
an equation of the form

E : Y 3 = X 2 + AX + B, A, B, ∈ Zp , and 4A3 + 27B 2 ̸= 0,

where

E(Fp ) = {⟨x, y⟩ ∈ Fp | y 2 = x3 + Ax + B} ∪ {O}


Theorem: Hasse

Let E be an elliptic curve over Fp . Then TODO:


completar

The Elliptic Curve Discrete Logarithm


Problem (ECDLP)
The ECDLP is the problem of finding the number k given
a base point P where the point Q = kP .
One important difference between ECDLP and the
classical DLP is that ECDLP allows us to work with
smaller numbers and still achieve a similar level of
security.

One way of solving ECDLP is to find a collision between


two outputs c1 P + d1 Q = c2 P + d2 Q. A collision occurs
when two different inputs produce the same output.
Therefore, in order to solve ECDLP, we need to find
points P and Q such that TODO: rever isto

c 1 P + d1 Q =
Q = kP
= c1 P + d1 kP =

= (c1 + d1 k)P
TLS

You might also like