Presentation is loading. Please wait.

Presentation is loading. Please wait.

Elliptic-Curve Cryptography (ECC)

Similar presentations


Presentation on theme: "Elliptic-Curve Cryptography (ECC)"— Presentation transcript:

1 Elliptic-Curve Cryptography (ECC)
Network Security

2 Elliptic-Curve Cryptography (ECC)
Objectives of the Topic After completing this topic, a student will be able to describe Elliptic-Curve Cryptography (ECC).

3 Elliptic-Curve Cryptography (ECC)
Figures and material in this topic have been adapted from W. Stalling’s “Network Security Essentials ”, 2014. W. Stalling’s “Cryptography and Network Security Principles and Practice”, 2014.

4 Elliptic-Curve Cryptography (ECC)
Most of the products and standards that use public-key cryptography for encryption and digital signatures use RSA.

5 Elliptic-Curve Cryptography (ECC)
The key length for secure RSA use has increased over recent years, and this has put a heavier processing load on applications using RSA.

6 Elliptic-Curve Cryptography (ECC)
This burden has ramifications, especially for electronic commerce sites that conduct large numbers of secure transactions.

7 Elliptic-Curve Cryptography (ECC)
A competing system challenges RSA: elliptic curve cryptography (ECC). It is showing up in standardization efforts, including the IEEE P1363 Standard for Public-Key Cryptography.

8 Elliptic-Curve Cryptography (ECC)
The principal attraction of ECC, compared to RSA, is that it appears to offer equal security for a far smaller key size, thereby reducing processing overhead.

9 Elliptic-Curve Cryptography (ECC)
Although the theory of ECC has been around for some time, it is only recently that products have begun to appear and that there has been sustained cryptanalytic interest in probing for weaknesses.

10 Elliptic-Curve Cryptography (ECC)
Accordingly, the confidence level in ECC is not yet as high as that in RSA.

11 Elliptic-Curve Cryptography (ECC)
An elliptic curve is defined by an equation in two variables with coefficients. For cryptography, the variables and coefficients are restricted to elements in a finite field.

12 Elliptic-Curve Cryptography (ECC)
The addition operation in ECC is the counterpart of modular multiplication in RSA, and multiple addition is the counterpart of modular exponentiation.

13 Elliptic-Curve Cryptography (ECC)
Analog of Diffie-Hellman Key Exchange First pick a large integer q, which is either a prime number p or an integer of the form 2m, and elliptic curve parameters a and b.

14 Elliptic-Curve Cryptography (ECC)
This defines the elliptic group of points Eq(a, b). Next, pick a base point G = (x1, y1) in Ep(a, b) whose order is a very large value n.

15 Elliptic-Curve Cryptography (ECC)
1. A selects an integer nA less than n. This is A’s private key. A then generates a public key PA = nA x G; the public key is a point in Eq(a, b).

16 Elliptic-Curve Cryptography (ECC)
2. B similarly selects a private key nB and computes a public key PB. 3. A generates the secret key k = nA x PB. B generates the secret key k = nB x PA.

17 Elliptic-Curve Cryptography (ECC)
The two calculations in step 3 produce the same result because nA x PB = nA x (nB x G) = nB x (nA x G) = nB x PA To break this scheme, an attacker would need to be able to compute k given G and kG, which is assumed to be hard.

18 Elliptic-Curve Cryptography (ECC)
Elliptic Curve Encryption/Decryption: It requires a point G and an elliptic group Eq(a, b) as parameters. Each user A selects a private key nA and generates a public key PA = nA x G.

19 Elliptic-Curve Cryptography (ECC)
To encrypt and send a message Pm to B, A chooses a random positive integer k and produces the ciphertext Cm consisting of the pair of points: Cm = {kG, Pm + kPB} Note that A has used B’s public key PB.

20 Elliptic-Curve Cryptography (ECC)
To decrypt the ciphertext, B multiplies the first point in the pair by B’s private key and subtracts the result from the second point: Pm + kPB - nB(kG) = Pm + k(nBG) - nB (kG) = Pm

21 Elliptic-Curve Cryptography (ECC)
A has masked the message Pm by adding kPB to it. Nobody but A knows the value of k, so even though PB is a public key, nobody can remove the mask kPB.

22 Elliptic-Curve Cryptography (ECC)
There is a computational advantage to using ECC with a shorter key length than a comparably secure RSA. End


Download ppt "Elliptic-Curve Cryptography (ECC)"

Similar presentations


Ads by Google