Docsity

Asymmetric Elliptic Curve, Lecture notes of Computer Security

Partial preview of the text

Download Asymmetric Elliptic Curve and more Lecture notes Computer Security in PDF only on Docsity!

Why? ● (^) ECC offers greater security for a given key size.

Why? ● (^) ECC offers greater security for a given key size. ● (^) The smaller key size also makes possible much more compact implementations for a given level of security, which means faster cryptographic operations, running on smaller chips or more compact software.

Why?

Group: A set of objects and an operation on pairs of those objects from which a third object is generated. Group must be closed, invertible, the operation must be associative, there must be an identity element. Example: integers 09 and addition modulo 10 closed: sum of 2 numbers from 09 modulo 10 is an integer from 0 to 9. identity: 0 since 0+x = x for any x invertible: x + (10 x) = 0 mod 10 for any x so (10x ) is the inverse of x associative: (x+y)+z = x+(y+z)

Elliptic curve: General form: qy 2 = rx 3

  • ax + b + sx 2
  • ty We want the set of solutions (x,y) to the equation y 2 = x 3
  • ax + b where 4 a 3
  • 27 b 2  0 (reason given later)

Elliptic curve: General form: qy 2 = rx 3

  • ax + b + sx 2
  • ty We want the set of solutions (x,y) to the equation y 2 = x 3
  • ax + b where 4 a 3
  • 27 b 2  0 (reason given later) Example: (p=7, n=2) y 2 = x 3
  • x + 6 ( 4+27*36 = 976 = 3 mod 7) there are 49 integer points on this “curve” (1,1), (1,6), (2,3), (2,4), (3,1), (3,6), (4,2), (4,5), (6,2), (6,5) … Note: (3,1), (2,3), (6,2) are on the same line y = 2x +7, y = x/3 are the same line (7 mod 7=0, 1/3 is the inverse of 3 which is 2)

Geometric explanation of addition: The negative of a point is its reflection in the x axis

Geometric explanation of addition: If J and K are distinct and J  K Draw a line though J and K – it intersects the curve at L If J and K coordinates are rational, so are L, and L But the rationals get messier as addition is applied repeatedly

Geometric explanation of addition: If J = K the line though J and K does not hit a point on the curve – that is why O is the point at infinity

Geometric explanation of addition: If J = K, vertical not 0, draw a line tangent to the curve at J and reflect its intersection with curve about x axis

Geometric explanation of addition: If J = K, vertical coordinate is 0, draw a line tangent to the curve at J it “intersects” at O so J + J = O.

Geometric explanation of addition: J + J + J = J + O = J J + J + J + J = J + J = O J + J + J + J + J = O + J = J J + J + J + J + J + J = J + J = O

Rigorously define the addition of two points J and K: If J = K then J + K = O (then x J = x K

If J = K then J + J = L = (x L ,y L

where x L = m 2 x J x J y L = m 3

  • m(x J
  • x J ) – y J
  • mx j m = (3(x J

2 +a)/(2y J

Otherwise J + K = L = (x L ,y L

where x L = m 2 x J x K y L = m 3

  • m(x J
  • x K ) y J
  • mx j m = (y J y K )/(x J x K

Rigorously define the addition of two points J and K: Example: y 2 = x 3

  • 22x + 25 mod 47 Points (1,1) and (25,28) satisfy this equation, the latter point obtained by doubling (1,1) – please check Compute m: m = 27/24 = 27/ the inverse of 24 mod 47 is 2 (so 1/24 mod 47 is 2) thus m = 54 mod 47 = 7 Compute coordinates of next point: x L = 7*7 – 1 – 25 = 23 mod 47 y L

= 155 mod 47 = 33 mod 47 Next point = (23,33)