An Introduction to the Theory of Elliptic Curves Joseph H

An Introduction to the Theory of Elliptic Curves Joseph H

An Introduction to the Theory of Elliptic Curves Joseph H. Silverman Brown University and NTRU Cryptosystems, Inc. Summer School on Computational Number Theory and Applications to Cryptography University of Wyoming June 19 { July 7, 2006 0 An Introduction to the Theory of Elliptic Curves Outline ² Introduction ² Elliptic Curves ² The Geometry of Elliptic Curves ² The Algebra of Elliptic Curves ² What Does E(K) Look Like? ² Elliptic Curves Over Finite Fields ² The Elliptic Curve Discrete Logarithm Problem ² Reduction Modulo p, Lifting, and Height Functions ² Canonical Heights on Elliptic Curves ² Factorization Using Elliptic Curves ² L-Series, Birch{Swinnerton-Dyer, and $1,000,000 ² Additional Material ² Further Reading An Introduction to the Theory of Elliptic Curves { 1{ An Introduction to the Theory of Elliptic Curves The Discrete Logarithm Problem Fix a group G and an element g 2 G. The Discrete Logarithm Problem (DLP) for G is: Given an element h in the subgroup generated by g, ¯nd an integer m satisfying h = gm: The smallest integer m satisfying h = gm is called the logarithm (or index) of h with respect to g, and is denoted m = logg(h) or m = indg(h): The Discrete Logarithm Problem is used as the underly- ing hard problem in many cryptographic constructions, including key exchange, encryption, digital signatures, and hash functions. An Introduction to the Theory of Elliptic Curves { 2{ An Introduction to the Theory of Elliptic Curves Di±e-Hellman Key Exchange Public Knowledge: Group G and element g of order n. BOB ALICE Choose secret 0 < b < n Choose secret 0 < a < n Compute B = gb Compute A = ga Send B ¡¡¡¡¡¡¡¡¡! to Alice to Bob á¡¡¡¡¡¡¡¡ Send A Compute Ab Compute Ba Bob and Alice have the shared value Ab = gab = gba = Ba And one hopes that computing gab from ga and gb re- quires solving the discrete logarithm problem. An Introduction to the Theory of Elliptic Curves { 3{ An Introduction to the Theory of Elliptic Curves How Hard is the Discrete Log Problem? For some groups, DLP is very easy: ² Z=mZ under addition (Euclidean algorithm) ² R¤ or C¤ under multiplication (analytic logarithm) For some groups, DLP is di±cult. The classical example is: ¤ Fp under multiplication ¤ The best known algorithm to solve DLP in Fp takes ³ p ´ time 3 2 O ec (log p)(log log p) This is called subexponential, since it is faster than exponential (in log p), but slower than polynomial. For cryptographic purposes, it would be better to use a group G for which solving DLP takes time that is exponential in the order of G. An Introduction to the Theory of Elliptic Curves { 4{ Elliptic Curves Elliptic Curves What is an Elliptic Curve? ² An elliptic curve is a curve that's also naturally a group. ² The group law is constructed geometrically. ² Elliptic curves have (almost) nothing to do with ellipses, so put ellipses and conic sections out of your thoughts. ² Elliptic curves appear in many diverse areas of math- ematics, ranging from number theory to complex analysis, and from cryptography to mathematical physics. An Introduction to the Theory of Elliptic Curves { 5{ Elliptic Curves Points on Elliptic Curves ² Elliptic curves can have points with coordinates in any ¯eld, such as Fp, Q, R, or C. ² Elliptic curves with points in Fp are ¯nite groups. ² Elliptic Curve Discrete Logarithm Prob- lem (ECDLP) is the discrete logarithm problem for the group of points on an elliptic curve over a ¯nite ¯eld. ² The best known algorithm to solve the ECDLP is exponential, which is why elliptic curve groups are used for cryptography. ² More precisely, the best known way to solve ECDLP ¡p ¢ for an elliptic curve over Fp takes time O p . ² The goal of these talks is to tell you something about the theory of elliptic curves, with an em- phasis on those aspects that are of interest in cryp- tography. An Introduction to the Theory of Elliptic Curves { 6{ Elliptic Curves The Equation of an Elliptic Curve An Elliptic Curve is a curve given by an equation of the form y2 = x3 + Ax + B There is also a requirement that the discriminant ¢ = 4A3 + 27B2 is nonzero. Equivalently, the polynomial x3 + Ax + B has distinct roots. This ensures that the curve is nonsingular. For reasons to be explained later, we also toss in an extra point, O, that is \at in¯nity," so E is the set © ª E = (x; y): y2 = x3 + Ax + B [ fOg: Amazing Fact: We can use geometry to make the points of an elliptic curve into a group. The next few slides illustrate how this is accomplished. An Introduction to the Theory of Elliptic Curves { 7{ The Geometry of Elliptic Curves The Geometry of Elliptic Curves The Elliptic Curve E : y2 = x3 ¡ 5x + 8 E An Introduction to the Theory of Elliptic Curves { 8{ The Geometry of Elliptic Curves Adding Points on an Elliptic Curve Q v P v E Start with two points P and Q on E. An Introduction to the Theory of Elliptic Curves { 9{ The Geometry of Elliptic Curves Adding Points on an Elliptic Curve ÃÃÃà ÃÃà ÃÃà ÃÃà ÃÃà Q ÃÃà ÃÃvà ÃÃà ÃÃà P vÃÃà Ãà L E Draw the line L through P and Q. An Introduction to the Theory of Elliptic Curves { 10{ The Geometry of Elliptic Curves Adding Points on an Elliptic Curve R ÃÃÃà Ãv Ãà ÃÃà ÃÃà ÃÃà Q ÃÃà ÃÃvà ÃÃà ÃÃà P vÃÃà Ãà L E The line L intersects the cubic curve E in a third point. Call that third point R. An Introduction to the Theory of Elliptic Curves { 11{ The Geometry of Elliptic Curves Adding Points on an Elliptic Curve R ÃÃÃà Ãv Ãà ÃÃà ÃÃà ÃÃà Q ÃÃà ÃÃvà ÃÃà ÃÃà P vÃÃà Ãà L E v Draw the vertical line through R. It hits E in another point. An Introduction to the Theory of Elliptic Curves { 12{ The Geometry of Elliptic Curves Adding Points on an Elliptic Curve R ÃÃÃà Ãv Ãà ÃÃà ÃÃà ÃÃà Q ÃÃà ÃÃvà ÃÃà ÃÃà P vÃÃà Ãà L v E P © Q We de¯ne the sum of P and Q on E to be the reflected point. We denote it by P © Q or just P + Q. An Introduction to the Theory of Elliptic Curves { 13{ The Geometry of Elliptic Curves Adding a Point To Itself on an Elliptic Curve P v E How do we add a point P to itself, since there are many di®erent lines that go through P ? An Introduction to the Theory of Elliptic Curves { 14{ The Geometry of Elliptic Curves Adding a Point To Itself on an Elliptic Curve »» »»» »»» »»» »»» L»»» »»» »»» P »»» v»» »»» »» HYH HH L is tangent to E at P E If we think of adding P to Q and let Q approach P , then the line L becomes the tangent line to E at P . An Introduction to the Theory of Elliptic Curves { 15{ The Geometry of Elliptic Curves Adding a Point To Itself on an Elliptic Curve »» R»v»» »»» »»» »»» L»»» »»» »»» P »»» v»» »»» »» HYH HH L is tangent to E at P E v 2P Then we take the third intersection point R, reflect across the x-axis, and call the resulting point P © P or 2P . An Introduction to the Theory of Elliptic Curves { 16{ The Geometry of Elliptic Curves Vertical Lines and the Extra Point \At In¯nity" v P v E Q = ¡P Let P 2 E. We denote the reflected point by ¡P . An Introduction to the Theory of Elliptic Curves { 17{ The Geometry of Elliptic Curves Vertical Lines and the Extra Point \At In¯nity" 6 Vertical lines have no third intersection L point with E v P v E Q = ¡P Big Problem: The vertical line L through P and ¡P does not intersect E in a third point! And we need a third point to de¯ne P © (¡P ). An Introduction to the Theory of Elliptic Curves { 18{ The Geometry of Elliptic Curves Vertical Lines and the Extra Point \At In¯nity" O 6 Create an extra point O on E L lying at \in¯nity" v P v E Q = ¡P Solution: Since there is no point in the plane that works, we create an extra point O \at in¯nity." Rule: O is a point on every vertical line. An Introduction to the Theory of Elliptic Curves { 19{ The Algebra of Elliptic Curves The Algebra of Elliptic Curves Properties of \Addition" on E Theorem The addition law on E has the following properties: (a) P + O = O + P = P for all P 2 E. (b) P + (¡P ) = O for all P 2 E. (c) P + (Q + R) = (P + Q) + R for all P; Q; R 2 E. (d) P + Q = Q + P for all P; Q 2 E. In other words, the addition law + makes the points of E into a commutative group. All of the group properties are trivial to check except for the associative law (c). The associative law can be veri¯ed by a lengthy computation using explicit formu- las, or by using more advanced algebraic or analytic methods. An Introduction to the Theory of Elliptic Curves { 20{ The Algebra of Elliptic Curves A Numerical Example E : y2 = x3 ¡ 5x + 8 The point P = (1; 2) is on the curve E. Using the tangent line construction, we ¯nd that µ ¶ 7 27 2P = P + P = ¡ ; ¡ : 4 8 ³ ´ 7 27 Let Q = ¡4; ¡ 8 . Using the secant line construc- tion, we ¯nd that µ ¶ 553 11950 3P = P + Q = ; ¡ : 121 1331 Similarly, µ ¶ 45313 8655103 4P = ; ¡ : 11664 1259712 As you can see, the coordinates are getting very large.

View Full Text

Details

  • File Type
    pdf
  • Upload Time
    -
  • Content Languages
    English
  • Upload User
    Anonymous/Not logged-in
  • File Pages
    104 Page
  • File Size
    -

Download

Channel Download Status
Express Download Enable

Copyright

We respect the copyrights and intellectual property rights of all users. All uploaded documents are either original works of the uploader or authorized works of the rightful owners.

  • Not to be reproduced or distributed without explicit permission.
  • Not used for commercial purposes outside of approved use cases.
  • Not used to infringe on the rights of the original creators.
  • If you believe any content infringes your copyright, please contact us immediately.

Support

For help with questions, suggestions, or problems, please contact us