Elliptic and Hyperelliptic Curve Cryptography

Size: px
Start display at page:

Download "Elliptic and Hyperelliptic Curve Cryptography"

Transcription

1 Elliptic and Hyperelliptic Curve Cryptography Renate Scheidler Research supported in part by NSERC of Canada

2 Comprehensive Source Handbook of Elliptic and Hyperelliptic Curve Cryptography

3 Overview Motivation Elliptic Curve Arithmetic Hyperelliptic Curve Arithmetic Point Counting Discrete ogarithm Algorithms Other Models

4 Motivation Why (Hyper-)Elliptic Cryptography? Requirements on groups for discrete log based cryptography arge group order (plus other restrictions) Compact representation of group elements Fast group operation Hard Diffie-Hellman/discrete logarithm problem

5 Motivation Why (Hyper-)Elliptic Cryptography? Requirements on groups for discrete log based cryptography arge group order (plus other restrictions) Compact representation of group elements Fast group operation Hard Diffie-Hellman/discrete logarithm problem Elliptic and low genus hyperelliptic curves do well on all of these!

6 Elliptic Curves et K be a field (in crypto, K F q with q prime or q 2 n )

7 Elliptic Curves et K be a field (in crypto, K F q with q prime or q 2 n ) Weierstraß equation over K: E y 2 a 1 xy a 3 y x 3 a 2 x 2 a 4 x a 6 ˆ with a 1, a 2, a 3, a 4, a 6 > K

8 Elliptic Curves et K be a field (in crypto, K F q with q prime or q 2 n ) Weierstraß equation over K: E y 2 a 1 xy a 3 y x 3 a 2 x 2 a 4 x a 6 ˆ with a 1, a 2, a 3, a 4, a 6 > K Elliptic curve: Weierstraß equation & non-singularity condition: there are no simultaneous solutions to ˆ and 2y a 1 x a 3 0 a 1 y 3x 2 2a 2 x a 4

9 Elliptic Curves et K be a field (in crypto, K F q with q prime or q 2 n ) Weierstraß equation over K: E y 2 a 1 xy a 3 y x 3 a 2 x 2 a 4 x a 6 ˆ with a 1, a 2, a 3, a 4, a 6 > K Elliptic curve: Weierstraß equation & non-singularity condition: there are no simultaneous solutions to ˆ and 2y a 1 x a 3 0 a 1 y 3x 2 2a 2 x a 4 Non-singularity x 0 where is the discriminant of E

10 Non-Examples Two Weierstraß equations with a singularity at ˆ0, 0 y 2 x 3 y 2 x 2ˆx

11 An Example E y 2 x 3 5x over Q

12 Elliptic Curves, charˆk x 2, 3 The variable transformations y y ˆa 1 x a 3 ~2, then x x ˆa 2 1 4a 2 ~12 yield an elliptic curve in short Weierstraß form: E y 2 x 3 Ax B ˆA, B > K Discriminant 4A 3 27B 2 x 0 ˆcubic in x has distinct roots)

13 Elliptic Curves, charˆk x 2, 3 The variable transformations y y ˆa 1 x a 3 ~2, then x x ˆa 2 1 4a 2 ~12 yield an elliptic curve in short Weierstraß form: E y 2 x 3 Ax B ˆA, B > K Discriminant 4A 3 27B 2 x 0 ˆcubic in x has distinct roots) For any field with K b b K: Eˆ ˆx 0, y 0 > S y0 2 x 0 3 Ax 0 B 8 ª set of -rational points on E

14 An Example EˆQ ˆx 0, y 0 > Q Q S y0 2 x ª 3 5x P 1 ˆ1, 2, P 2 ˆ0, 0 > EˆQ

15 The Mysterious Point at Infinity In E, replace x by x~z, y by y~z, then multiply by z 3 : E proj y 2 z x 3 Axz 2 Bz 3

16 The Mysterious Point at Infinity In E, replace x by x~z, y by y~z, then multiply by z 3 : E proj y 2 z x 3 Axz 2 Bz 3 Points on E proj : x y z x normalized so the last non-zero entry is 1

17 The Mysterious Point at Infinity In E, replace x by x~z, y by y~z, then multiply by z 3 : E proj y 2 z x 3 Axz 2 Bz 3 Points on E proj : x y z x normalized so the last non-zero entry is 1 Affine Points Projective Points ˆx, y x y 1 ª 0 1 0

18 Arithmetic on E Goal: Make Eˆ into an additive (Abelian) group The identity is the point at infinity

19 Arithmetic on E Goal: Make Eˆ into an additive (Abelian) group The identity is the point at infinity By Bezout s Theorem, any line intersects E in three points Need to count multiplicities If one of the points is ª, the line is vertical

20 Arithmetic on E Goal: Make Eˆ into an additive (Abelian) group The identity is the point at infinity By Bezout s Theorem, any line intersects E in three points Need to count multiplicities If one of the points is ª, the line is vertical Motto: Any three collinear points on E sum to zero AKA Chord & Tangent Addition aw

21 Arithmetic on E Inverses E y 2 x 3 5x over Q, P ˆ1, The line through P and ª is x 1

22 Arithmetic on E Inverses E y 2 x 3 5x over Q, P ˆ1, It intersects E in the third point R ˆ1, 2 P

23 Arithmetic on E Addition E y 2 x 3 5x over Q, P 1 ˆ1, 2, P 2 ˆ0, The line through P 1 and P 2 is y 2x

24 Arithmetic on E Addition E y 2 x 3 5x over Q, P 1 ˆ1, 2, P 2 ˆ0, It intersects E in the third point G ˆ5, 10

25 Arithmetic on E Addition E y 2 x 3 5x over Q, P 1 ˆ1, 2, P 2 ˆ0, The sum R is the inverse of G, i.e. R G ˆ5, 10 P Q

26 Arithmetic on E Doubling E y 2 x 3 5x over Q, P ˆ1, The line tangent to E at P is y x 33 26

27 Arithmetic on E Doubling E y 2 x 3 5x over Q, P ˆ1, It intersects E in the third point G , 3 8Ž

28 Arithmetic on E Doubling E y 2 x 3 5x over Q, P ˆ1, The sum R is the inverse of G, i.e. R G 9 4, 3 8Ž 2P

29 Arithmetic on Short Weierstraß Form Summary P 1 ˆx 1, y 1, P 2 ˆx 2, y 2 (P 1 x P 2 ; P 1, P 2 x ª) P 1 ˆx 1, y 1 P 1 P 2 ˆλ 2 x 1 x 2, λ 3 λˆx 1 x 2 µ where λ y 2 y 1 x 2 x 1 if P 1 x P 2 3x 2 1 A 2y 1 if P 1 P 2 µ y 1 x 2 y 2 x 1 x 2 x 1 if P 1 x P 2 x 3 1 Ax 1 2B 2y 1 if P 1 P 2

30 Beyond Elliptic Curves Recall Weierstraß equation: ¹¹¹¹¹¹¹¹¹¹¹ ¹¹¹¹¹¹¹¹¹¹¹ hˆx ¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ ¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ f ˆx E y 2 ˆa 1 x a 3 y x 3 a 2 x 2 a 4 x a 6 degˆf odd degˆh 1 for charˆk 2; h 0 for charˆk x 2

31 Beyond Elliptic Curves Recall Weierstraß equation: ¹¹¹¹¹¹¹¹¹¹¹ ¹¹¹¹¹¹¹¹¹¹¹ hˆx ¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ ¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ f ˆx E y 2 ˆa 1 x a 3 y x 3 a 2 x 2 a 4 x a 6 degˆf odd degˆh 1 for charˆk 2; h 0 for charˆk x 2 Generalization: degˆf 2g 1, degˆh B g g is the genus of the curve

32 Beyond Elliptic Curves Recall Weierstraß equation: ¹¹¹¹¹¹¹¹¹¹¹ ¹¹¹¹¹¹¹¹¹¹¹ hˆx ¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ ¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹¹ f ˆx E y 2 ˆa 1 x a 3 y x 3 a 2 x 2 a 4 x a 6 degˆf odd degˆh 1 for charˆk 2; h 0 for charˆk x 2 Generalization: degˆf 2g 1, degˆh B g g is the genus of the curve g 1: elliptic curves g 2: degˆf 5, degˆh B 2 also good for crypto

33 Hyperelliptic Curves Hyperelliptic curve of genus g over K: fˆx H y 2 hˆx y hˆx, fˆx > K x fˆx monic and degˆf 2g 1 is odd degˆh B g if charˆk 2; hˆx 0 if charˆk x 2 non-singularity

34 Hyperelliptic Curves Hyperelliptic curve of genus g over K: fˆx H y 2 hˆx y hˆx, fˆx > K x fˆx monic and degˆf 2g 1 is odd degˆh B g if charˆk 2; hˆx 0 if charˆk x 2 non-singularity charˆk x 2: y 2 fˆx, fˆx monic, of odd degree, square-free

35 Hyperelliptic Curves Hyperelliptic curve of genus g over K: fˆx H y 2 hˆx y hˆx, fˆx > K x fˆx monic and degˆf 2g 1 is odd degˆh B g if charˆk 2; hˆx 0 if charˆk x 2 non-singularity charˆk x 2: y 2 fˆx, fˆx monic, of odd degree, square-free Set of -rational points on H (K b b K): Hˆ ˆx 0, y 0 > S y0 2 hˆx 0 y fˆx 0 8 ª

36 An Example H y 2 x 5 5x 3 4x 1 over Q, genus g

37 An Example ˆ2, 1,ˆ2, 1,ˆ3, 11 > HˆQ

38 Divisors Group of divisors on H: Div HˆK `HˆK e œ Q m P P S m P > Z, P > HˆK finite

39 Divisors Group of divisors on H: Div HˆK `HˆK e œ Q m P P S m P > Z, P > HˆK finite Subgroup of Div HˆK of degree zero divisors on H: DivHˆK ` 0 P SP > HˆK e where P P ª œ Q finite m P P Sm P > Z, P > HˆK

40 Divisors Group of divisors on H: Div HˆK `HˆK e œ Q m P P S m P > Z, P > HˆK finite Subgroup of Div HˆK of degree zero divisors on H: DivHˆK ` 0 P SP > HˆK e where P P ª œ Q finite Subgroup of Div 0 HˆK of principal divisors on H: Prin HˆK œ Q finite m P P Sm P > Z, P > HˆK v Pˆα P S α > Kˆx, y, P > HˆK

41 The Jacobian Jacobian of H: Jac HˆK Div 0 HˆK ~Prin HˆK Motto: Any complete collection of points on a function sums to zero

42 The Jacobian Jacobian of H: Jac HˆK Div 0 HˆK ~Prin HˆK Motto: Any complete collection of points on a function sums to zero HˆK 0 Jac HˆK via P ( P

43 The Jacobian Jacobian of H: Jac HˆK Div 0 HˆK ~Prin HˆK Motto: Any complete collection of points on a function sums to zero HˆK 0 Jac HˆK via P ( P For elliptic curves: EˆK Jac EˆK ( EˆK is a group)

44 The Jacobian Jacobian of H: Jac HˆK Div 0 HˆK ~Prin HˆK Motto: Any complete collection of points on a function sums to zero HˆK 0 Jac HˆK via P ( P For elliptic curves: EˆK Jac EˆK ( EˆK is a group) Identity: ª ª ª

45 The Jacobian Jacobian of H: Jac HˆK Div 0 HˆK ~Prin HˆK Motto: Any complete collection of points on a function sums to zero HˆK 0 Jac HˆK via P ( P For elliptic curves: EˆK Jac EˆK ( EˆK is a group) Identity: ª ª ª Inverses: The points P ˆx 0, y 0 and P ˆx 0, y 0 hˆx 0 on H both lie on the function x x 0, so P P

46 Semi-Reduced and Reduced Divisors Every class in Jac HˆK contains a divisor Q m P P such that finite all m P A 0 (replace P by P ) if P P, then m P 1 (as 2 P 0) if P x P, then only one of P, P can appear in the sum (as P P 0)

47 Semi-Reduced and Reduced Divisors Every class in Jac HˆK contains a divisor Q m P P such that finite all m P A 0 (replace P by P ) if P P, then m P 1 (as 2 P 0) if P x P, then only one of P, P can appear in the sum (as P P 0) Such a divisor is semi-reduced.

48 Semi-Reduced and Reduced Divisors Every class in Jac HˆK contains a divisor Q m P P such that finite all m P A 0 (replace P by P ) if P P, then m P 1 (as 2 P 0) if P x P, then only one of P, P can appear in the sum (as P P 0) Such a divisor is semi-reduced. If P m P B g, then it is reduced.

49 Semi-Reduced and Reduced Divisors Every class in Jac HˆK contains a divisor Q m P P such that finite all m P A 0 (replace P by P ) if P P, then m P 1 (as 2 P 0) if P x P, then only one of P, P can appear in the sum (as P P 0) Such a divisor is semi-reduced. If P m P B g, then it is reduced. Theorem Every class in Jac HˆK contains a unique reduced divisor.

50 Example Reduction H y 2 x 5 5x 3 4x 1 over Q, D R 1 R 2 R 3 with R 1 ˆ2, 1, R 2 ˆ2, 1, R 3 ˆ3,

51 Example Reduction R 1, R 2, R 3 all lie on the quadratic y 2x

52 Example Reduction This quadratic meets H in the two additional points G 1, G 2 where G 1 º º 1 2ˆ1 17, 2 17Ž, G 2 º º 1 2ˆ1 17, 2 17Ž Thus, R 1 R 2 R 3 G 1 G 2 0 in Jac HˆQ

53 Example Reduction R 1 R 2 R 3 B 1 B 2 with B 1 G 1, B 2 G 2 The reduced divisor in the class of D is E B 1 B 2 where B 1 1 2ˆ1 º 17, 2 º 17Ž, B 2 1 2ˆ1 º 17, 2 º 17Ž,

54 Reduction in General et D r Q i 1 P i be a semi-reduced divisor on y 2 hˆx y fˆx

55 Reduction in General et D r Q i 1 P i be a semi-reduced divisor on y 2 hˆx y fˆx The r points P i all lie on a curve y vˆx with degˆv r 1

56 Reduction in General et D r Q i 1 P i be a semi-reduced divisor on y 2 hˆx y fˆx The r points P i all lie on a curve y vˆx with degˆv r 1 vˆx 2 hˆx hˆx fˆx polynomial of degree max 2r 2, 2g 1

57 Reduction in General et D r Q i 1 P i be a semi-reduced divisor on y 2 hˆx y fˆx The r points P i all lie on a curve y vˆx with degˆv r 1 vˆx 2 hˆx hˆx fˆx polynomial of degree max 2r 2, 2g 1 Case r C g 2: replace the r points P 1,..., P r in D by the inverses of the other ˆ2r 2 r r 2 points on this degree 2r 2 polynomial

58 Reduction in General et D r Q i 1 P i be a semi-reduced divisor on y 2 hˆx y fˆx The r points P i all lie on a curve y vˆx with degˆv r 1 vˆx 2 hˆx hˆx fˆx polynomial of degree max 2r 2, 2g 1 Case r C g 2: replace the r points P 1,..., P r in D by the inverses of the other ˆ2r 2 r r 2 points on this degree 2r 2 polynomial Case r g 1: replace the g 1 points P 1,..., P r in D by the g points on this degree 2g 2 polynomial inverses of the other 2g 1 ˆg 1

59 Reduction in General et D r Q i 1 P i be a semi-reduced divisor on y 2 hˆx y fˆx The r points P i all lie on a curve y vˆx with degˆv r 1 vˆx 2 hˆx hˆx fˆx polynomial of degree max 2r 2, 2g 1 Case r C g 2: replace the r points P 1,..., P r in D by the inverses of the other ˆ2r 2 r r 2 points on this degree 2r 2 polynomial Case r g 1: replace the g 1 points P 1,..., P r in D by the g points on this degree 2g 2 polynomial inverses of the other 2g 1 ˆg 1 After r g 2 steps a reduced divisor is obtained

60 Mumford Representation et D r Q i 1 m i P i be a semi-reduced divisor, P i The Mumford representation of D is D uˆx, vˆx > ˆx i, y i ˆuˆx, vˆx where K x, u monic, degˆu, us v 2 hv f

61 Mumford Representation et D r Q i 1 m i P i be a semi-reduced divisor, P i The Mumford representation of D is D uˆx, vˆx > ˆx i, y i ˆuˆx, vˆx where K x, u monic, degˆu, us v 2 hv f r uˆx M x i i 1ˆx m i d vˆx dx j 2 vˆx hˆx fˆx x xi 0 ˆ0 B j B m i 1 So uˆx i 0 and vˆx i y i with multiplicity m i for 1 B i B r

62 Mumford Representation et D r Q i 1 m i P i be a semi-reduced divisor, P i The Mumford representation of D is D uˆx, vˆx > ˆx i, y i ˆuˆx, vˆx where K x, u monic, degˆu, us v 2 hv f r uˆx M x i i 1ˆx m i d vˆx dx j 2 vˆx hˆx fˆx x xi 0 ˆ0 B j B m i 1 So uˆx i 0 and vˆx i y i with multiplicity m i for 1 B i B r Mumford representation uniquely determines D

63 Mumford Representation et D r Q i 1 m i P i be a semi-reduced divisor, P i The Mumford representation of D is D uˆx, vˆx > ˆx i, y i ˆuˆx, vˆx where K x, u monic, degˆu, us v 2 hv f r uˆx M x i i 1ˆx m i d vˆx dx j 2 vˆx hˆx fˆx x xi 0 ˆ0 B j B m i 1 So uˆx i 0 and vˆx i y i with multiplicity m i for 1 B i B r Mumford representation uniquely determines D Example: If P ˆx 0, y 0, then D P ˆx x 0, y 0

64 Divisor Reduction Using Mumford Representations Input: D ˆu, v Output: The reduced divisor D œ ˆu œ, v œ in the class of D

65 Divisor Reduction Using Mumford Representations Input: D ˆu, v Output: The reduced divisor D œ ˆu œ, v œ in the class of D while degˆu A g do œ f vh v 2 u œ, v œ v h ˆmod u u u u œ, v v œ end while œ returnˆu œ, v

66 Divisor Reduction Example H y 2 x 5 5x 3 4x 1 over Q D ˆ2, 1 ˆ2, 1 ˆ3, 11 ˆu, v

67 Divisor Reduction Example H y 2 x 5 5x 3 4x 1 over Q D ˆ2, 1 ˆ2, 1 ˆ3, 11 ˆu, v with uˆx ˆx 2 ˆx 2 ˆx 3 x 3 3x 2 4x 2 vˆx 2x 2 7 (from before)

68 Divisor Reduction Example H y 2 x 5 5x 3 4x 1 over Q D ˆ2, 1 ˆ2, 1 ˆ3, 11 ˆu, v with uˆx ˆx 2 ˆx 2 ˆx 3 x 3 3x 2 4x 2 vˆx 2x 2 7 (from before) œˆx ˆx 5 5x 3 4x 1 ˆ2x u œˆx x 3 3x 2 4x 2 v ˆ2x 2 7 ˆmod x 2 x 4 2x 1 x 2 x 4 D œ ˆu œ, v œ is the reduced divisor in the class of D

69 Divisor Reduction Example H y 2 x 5 5x 3 4x 1 over Q D ˆ2, 1 ˆ2, 1 ˆ3, 11 ˆu, v with uˆx ˆx 2 ˆx 2 ˆx 3 x 3 3x 2 4x 2 vˆx 2x 2 7 (from before) œˆx ˆx 5 5x 3 4x 1 ˆ2x u œˆx x 3 3x 2 4x 2 v ˆ2x 2 7 ˆmod x 2 x 4 2x 1 x 2 x 4 D œ Recall D œ œ ˆu œ, v is the reduced divisor in the class of D 2ˆ1 1 º º 17, º º 2ˆ1 17, 2 17

70 Divisor Addition Using Mumford Representations D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 divisors on H y 2 hˆx y fˆx

71 Divisor Addition Using Mumford Representations D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 divisors on H y 2 hˆx y fˆx Simplest case: for any P occurring in D 1, P does not occur in D 2 and vice versa then D 1 D 2 is semi-reduced

72 Divisor Addition Using Mumford Representations D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 divisors on H y 2 hˆx y fˆx Simplest case: for any P occurring in D 1, P does not occur in D 2 and vice versa then D 1 D 2 is semi-reduced Then D 1 D 2 ˆu, v where u u 1 u 2 and v v 1 ˆmod u 1 v 2 ˆmod u 2

73 Divisor Addition Using Mumford Representations D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 divisors on H y 2 hˆx y fˆx Simplest case: for any P occurring in D 1, P does not occur in D 2 and vice versa then D 1 D 2 is semi-reduced Then D 1 D 2 ˆu, v where u u 1 u 2 and v v 1 ˆmod u 1 v 2 ˆmod u 2 In general: suppose P ˆx 0, y 0 occurs in D 1 and P occurs in D 2.

74 Divisor Addition Using Mumford Representations D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 divisors on H y 2 hˆx y fˆx Simplest case: for any P occurring in D 1, P does not occur in D 2 and vice versa then D 1 D 2 is semi-reduced Then D 1 D 2 ˆu, v where u u 1 u 2 and v v 1 ˆmod u 1 v 2 ˆmod u 2 In general: suppose P ˆx 0, y 0 occurs in D 1 and P occurs in D 2. Then u 1ˆx 0 u 2ˆx 0 0 and v 1ˆx 0 y 0 v 2ˆx 0 hˆx 0, so x x 0 S u 1ˆx, u 2ˆx, v 1ˆx v 2ˆx hˆx

75 Divisor Addition Using Mumford Representations D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 divisors on H y 2 hˆx y fˆx Simplest case: for any P occurring in D 1, P does not occur in D 2 and vice versa then D 1 D 2 is semi-reduced Then D 1 D 2 ˆu, v where u u 1 u 2 and v v 1 ˆmod u 1 v 2 ˆmod u 2 In general: suppose P ˆx 0, y 0 occurs in D 1 and P occurs in D 2. Then u 1ˆx 0 u 2ˆx 0 0 and v 1ˆx 0 y 0 v 2ˆx 0 hˆx 0, so x x 0 S u 1ˆx, u 2ˆx, v 1ˆx v 2ˆx hˆx d gcdˆu 1, u 2, v 1 v 2 h s 1 u 1 s 2 u 2 s 3ˆv 1 v 2 h u v u 1 u 2 d 2 1 d s 1u 1 v 2 s 2 u 2 v 1 s 3ˆv 1 v 2 f Ž ˆmod u (In the simplest case above, d 1 and s 3 0)

76 Arithmetic in Jac H ˆK Input: D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 reduced Output: The reduced divisor D œ ˆu œ, v œ in the class of D 1 D 2

77 Arithmetic in Jac H ˆK Input: D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 reduced Output: The reduced divisor D œ ˆu œ, v œ in the class of D 1 D 2 1. Addition: compute a semi-reduced divisor D ˆu, v in the class of D 1 D 2 2. Reduction: compute the reduced divisor D œ œ ˆu œ, v in the class of D

78 Arithmetic in Jac H ˆK Input: D 1 ˆu 1, v 1, D 2 ˆu 2, v 2 reduced Output: The reduced divisor D œ ˆu œ, v œ in the class of D 1 D 2 1. Addition: compute a semi-reduced divisor D ˆu, v in the class of D 1 D 2 2. Reduction: compute the reduced divisor D œ œ ˆu œ, v in the class of D Methods Vanilla method just discussed Cantor s algorithm ( improved vanilla ) NUCOMP Explicit formulas (if g is small, say g 2, 3, 4)

79 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q )

80 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q ) φ acts on points on H: if P ˆx 0, y 0, then φˆp ˆφˆx 0, φˆy 0

81 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q ) φ acts on points on H: if P ˆx 0, y 0, then φˆp ˆφˆx 0, φˆy 0 φ acts on divisors: if D Q m P P, then φˆd Q m P φˆp

82 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q ) φ acts on points on H: if P ˆx 0, y 0, then φˆp ˆφˆx 0, φˆy 0 φ acts on divisors: if D Q m P P, then φˆd Q m P φˆp A divisor D is defined over K if φˆd D

83 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q ) φ acts on points on H: if P ˆx 0, y 0, then φˆp ˆφˆx 0, φˆy 0 φ acts on divisors: if D Q m P P, then φˆd Q m P φˆp A divisor D is defined over K if φˆd Example: D ˆx 2 x 4, 2x 1 on H y 2 x 5 5x 3 4x 1 over Q 1 2ˆ1 º 17, 2 º ˆ1 º 17, 2 º 17 is defined over Q (invariant under automorphism º 17 ( º 17) D

84 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q ) φ acts on points on H: if P ˆx 0, y 0, then φˆp ˆφˆx 0, φˆy 0 φ acts on divisors: if D Q m P P, then φˆd Q m P φˆp A divisor D is defined over K if φˆd Example: D ˆx 2 x 4, 2x 1 on H y 2 x 5 5x 3 4x 1 over Q 1 2ˆ1 º 17, 2 º ˆ1 º 17, 2 º 17 is defined over Q (invariant under automorphism º 17 ( º 17) Theorem D ˆu, v is defined over K if and only if uˆx, vˆx > K x. D

85 Divisors defined over K et φ > GalˆK~K (for K F q, think of Frobenius φˆα α q ) φ acts on points on H: if P ˆx 0, y 0, then φˆp ˆφˆx 0, φˆy 0 φ acts on divisors: if D Q m P P, then φˆd Q m P φˆp A divisor D is defined over K if φˆd Example: D ˆx 2 x 4, 2x 1 on H y 2 x 5 5x 3 4x 1 over Q 1 2ˆ1 º 17, 2 º ˆ1 º 17, 2 º 17 is defined over Q (invariant under automorphism º 17 ( º 17) Theorem D ˆu, v is defined over K if and only if uˆx, vˆx > K x. Corollary The group Jac HˆF q of divisor classes defined over F q is finite. D

86 Group Structure and Size EˆF q Z~nZ Z~mZ where nsgcdˆm, q 1

87 Group Structure and Size EˆF q Z~nZ Z~mZ where nsgcdˆm, q 1 Via a hand-wavy argument, y 2 fˆx should have q 1 points

88 Group Structure and Size EˆF q Z~nZ Z~mZ where nsgcdˆm, q 1 Via a hand-wavy argument, y 2 fˆx should have q 1 points 2º q Hasse: SEˆF q S q 1 t with StS B Hasse-Weil: SHˆF q S q 1 t with StS B 2gº q Serre: StS B g2º q

89 Group Structure and Size EˆF q Z~nZ Z~mZ where nsgcdˆm, q 1 Via a hand-wavy argument, y 2 fˆx should have q 1 points 2º q Hasse: SEˆF q S q 1 t with StS B Hasse-Weil: SHˆF q S q 1 t with StS B 2gº q Serre: StS B g2º q For the Jacobian: So ˆºq 1 2g BSJac HˆF q S Bˆºq 1 2g SJac HˆF q S q g

90 Group Structure and Size EˆF q Z~nZ Z~mZ where nsgcdˆm, q 1 Via a hand-wavy argument, y 2 fˆx should have q 1 points 2º q Hasse: SEˆF q S q 1 t with StS B Hasse-Weil: SHˆF q S q 1 t with StS B 2gº q Serre: StS B g2º q For the Jacobian: So ˆºq 1 2g BSJac HˆF q S Bˆºq 1 2g SJac HˆF q S q g If we want q g : g q

91 Point Counting Algorithms Stay for next week s workshop to learn more...

92 Point Counting Algorithms Stay for next week s workshop to learn more... K F q, q p n Square Root Methods Pollard kangaroo Cartier-Manin l-adic Methods (n 1, polynomial in logˆp ) SEA and generalizations p-adic Methods (p small, polynomial in n) Canonical lifts (Satoh, AGM) Deformation theory Cohomology

93 Point Counting Algorithms Stay for next week s workshop to learn more... K F q, q p n Square Root Methods Pollard kangaroo Cartier-Manin l-adic Methods (n 1, polynomial in logˆp ) SEA and generalizations p-adic Methods (p small, polynomial in n) Canonical lifts (Satoh, AGM) Deformation theory Cohomology Point counting on certain curves is easy (e.g. Koblitz curves)

94 Point Counting Algorithms Stay for next week s workshop to learn more... K F q, q p n Square Root Methods Pollard kangaroo Cartier-Manin l-adic Methods (n 1, polynomial in logˆp ) SEA and generalizations p-adic Methods (p small, polynomial in n) Canonical lifts (Satoh, AGM) Deformation theory Cohomology Point counting on certain curves is easy (e.g. Koblitz curves) Can also construct curves with good group orders via CM method (see Thursday s talks by Drew Sutherland and Bianca Viray)

95 Discrete ogarithms Elliptic Curve DP: given P, Q > EˆF q with Q mp, find m

96 Discrete ogarithms Elliptic Curve DP: given P, Q > EˆF q with Q mp, find m Hyperelliptic Curve DP: given reduced divisors D, E so that E is equivalent to md, find m

97 Discrete ogarithms Elliptic Curve DP: given P, Q > EˆF q with Q mp, find m Hyperelliptic Curve DP: given reduced divisors D, E so that E is equivalent to md, find m Generic Methods Complexity Oˆq g ~2 group operations Baby step giant step also requires Oˆq g ~2 space Pollard rho Pollard lambda (kangaroo)

98 Discrete ogarithms Elliptic Curve DP: given P, Q > EˆF q with Q mp, find m Hyperelliptic Curve DP: given reduced divisors D, E so that E is equivalent to md, find m Generic Methods Complexity Oˆq g ~2 group operations Baby step giant step also requires Oˆq g ~2 space Pollard rho Pollard lambda (kangaroo) Index Calculus Methods g â logˆq sub-exponential 3 B g á logˆq Oˆq 22~g

99 Discrete ogarithms Elliptic Curve DP: given P, Q > EˆF q with Q mp, find m Hyperelliptic Curve DP: given reduced divisors D, E so that E is equivalent to md, find m Generic Methods Complexity Oˆq g ~2 group operations Baby step giant step also requires Oˆq g ~2 space Pollard rho Pollard lambda (kangaroo) Index Calculus Methods g â logˆq sub-exponential 3 B g á logˆq Oˆq 22~g For g 1, 2, generic methods are best! (As far as we know... )

100 Other Attacks & Parameter Choices K F q with q p n Pohlig-Hellman ensure that SJac HˆF q S has a large prime factor

101 Other Attacks & Parameter Choices K F q with q p n Pohlig-Hellman ensure that SJac HˆF q S has a large prime factor Additive Reduction: if p divides SJac HˆF q S, then there is an 2g 1 explicit homomorphism Jac HˆF q p ˆFq, ensure that gcdˆq,sjac HˆF q S 1

102 Other Attacks & Parameter Choices K F q with q p n Pohlig-Hellman ensure that SJac HˆF q S has a large prime factor Additive Reduction: if p divides SJac HˆF q S, then there is an 2g 1 explicit homomorphism Jac HˆF q p ˆFq, ensure that gcdˆq,sjac HˆF q S 1 Multiplicative Reduction (MOV): pairings can be used to map the DP in Jac HˆF q intoˆf, where q k q k 1 ˆmod r for a prime r dividing SJac HˆF q S ensure that k is large (For pairing-based crypto, however, we want k small see Tuesday s and Wednesday s talks)

103 Other Attacks & Parameter Choices K F q with q p n Pohlig-Hellman ensure that SJac HˆF q S has a large prime factor Additive Reduction: if p divides SJac HˆF q S, then there is an 2g 1 explicit homomorphism Jac HˆF q p ˆFq, ensure that gcdˆq,sjac HˆF q S 1 Multiplicative Reduction (MOV): pairings can be used to map the DP in Jac HˆF q intoˆf, where q k q k 1 ˆmod r for a prime r dividing SJac HˆF q S ensure that k is large (For pairing-based crypto, however, we want k small see Tuesday s and Wednesday s talks) Weil Descent: If n kd is composite, one may have Jac HˆF p kd 0 Jac CˆF p d where C has higher genus use n 1 or n prime

104 Some Other Models Hessians: x 3 y 3 3dxy 1 Edwards models: x 2 y 2 c 2ˆ1 dx 2 y 2 (q odd) and variations x 3 y 3 1 x 2 y 2 10ˆ1x 2 y

105 Even Degree Models hˆx, fˆx > K x H y 2 hˆx y fˆx degˆh g 1 if charˆk 2; hˆx 0 if charˆk x 2 degˆf 2g 2 is even sgnˆf s 2 s with s > K if charˆk 2; fˆx is monic if charˆk x 2 non-singularity

106 Even Degree Models hˆx, fˆx > K x H y 2 hˆx y fˆx degˆh g 1 if charˆk 2; hˆx 0 if charˆk x 2 degˆf 2g 2 is even sgnˆf s 2 s with s > K if charˆk 2; fˆx is monic if charˆk x 2 non-singularity charˆk x 2: y 2 fˆx, fˆx monic, of even degree, square-free

107 Even Degree Models hˆx, fˆx > K x H y 2 hˆx y fˆx degˆh g 1 if charˆk 2; hˆx 0 if charˆk x 2 degˆf 2g 2 is even sgnˆf s 2 s with s > K if charˆk 2; fˆx is monic if charˆk x 2 non-singularity charˆk x 2: y 2 fˆx, fˆx monic, of even degree, square-free Elliptic quartic, charˆk x 2, 3: (b 0: Jacobi Quartic) y 2 x 4 ax 2 bx c ˆa, b, c > K

108 Examples E y 2 x 4 6x 2 x 6 H y 2 x 6 13x 4 44x 2 4x1 g 1 g

109 Conclusion Genus 1 and genus 2 curves over F q represent a very good setting for DP based cryptography

110 Conclusion Genus 1 and genus 2 curves over F q represent a very good setting for DP based cryptography Use q prime or q 2 n

111 Conclusion Genus 1 and genus 2 curves over F q represent a very good setting for DP based cryptography Use q prime or q 2 n Good parameter choices are known and easy

112 Conclusion Genus 1 and genus 2 curves over F q represent a very good setting for DP based cryptography Use q prime or q 2 n Good parameter choices are known and easy Cryptographically suitable curves can be constructed in practice

113 Conclusion Genus 1 and genus 2 curves over F q represent a very good setting for DP based cryptography Use q prime or q 2 n Good parameter choices are known and easy Cryptographically suitable curves can be constructed in practice Thank You!

Cyclic Groups in Cryptography

Cyclic Groups in Cryptography Cyclic Groups in Cryptography p. 1/6 Cyclic Groups in Cryptography Palash Sarkar Indian Statistical Institute Cyclic Groups in Cryptography p. 2/6 Structure of Presentation Exponentiation in General Cyclic

More information

Non-generic attacks on elliptic curve DLPs

Non-generic attacks on elliptic curve DLPs Non-generic attacks on elliptic curve DLPs Benjamin Smith Team GRACE INRIA Saclay Île-de-France Laboratoire d Informatique de l École polytechnique (LIX) ECC Summer School Leuven, September 13 2013 Smith

More information

Constructing genus 2 curves over finite fields

Constructing genus 2 curves over finite fields Constructing genus 2 curves over finite fields Kirsten Eisenträger The Pennsylvania State University Fq12, Saratoga Springs July 15, 2015 1 / 34 Curves and cryptography RSA: most widely used public key

More information

Hyperelliptic curves

Hyperelliptic curves 1/40 Hyperelliptic curves Pierrick Gaudry Caramel LORIA CNRS, Université de Lorraine, Inria ECC Summer School 2013, Leuven 2/40 Plan What? Why? Group law: the Jacobian Cardinalities, torsion Hyperelliptic

More information

Hyperelliptic Curve Cryptography

Hyperelliptic Curve Cryptography Hyperelliptic Curve Cryptography A SHORT INTRODUCTION Definition (HEC over K): Curve with equation y 2 + h x y = f x with h, f K X Genus g deg h(x) g, deg f x = 2g + 1 f monic Nonsingular 2 Nonsingularity

More information

A gentle introduction to elliptic curve cryptography

A gentle introduction to elliptic curve cryptography A gentle introduction to elliptic curve cryptography Craig Costello Summer School on Real-World Crypto and Privacy June 5, 2017 Šibenik, Croatia Part 1: Motivation Part 2: Elliptic Curves Part 3: Elliptic

More information

LECTURE 7, WEDNESDAY

LECTURE 7, WEDNESDAY LECTURE 7, WEDNESDAY 25.02.04 FRANZ LEMMERMEYER 1. Singular Weierstrass Curves Consider cubic curves in Weierstraß form (1) E : y 2 + a 1 xy + a 3 y = x 3 + a 2 x 2 + a 4 x + a 6, the coefficients a i

More information

SM9 identity-based cryptographic algorithms Part 1: General

SM9 identity-based cryptographic algorithms Part 1: General SM9 identity-based cryptographic algorithms Part 1: General Contents 1 Scope... 1 2 Terms and definitions... 1 2.1 identity... 1 2.2 master key... 1 2.3 key generation center (KGC)... 1 3 Symbols and abbreviations...

More information

Explicit isogenies and the Discrete Logarithm Problem in genus three

Explicit isogenies and the Discrete Logarithm Problem in genus three Explicit isogenies and the Discrete Logarithm Problem in genus three Benjamin Smith INRIA Saclay Île-de-France Laboratoire d informatique de l école polytechnique (LIX) EUROCRYPT 2008 : Istanbul, April

More information

Finite Fields and Elliptic Curves in Cryptography

Finite Fields and Elliptic Curves in Cryptography Finite Fields and Elliptic Curves in Cryptography Frederik Vercauteren - Katholieke Universiteit Leuven - COmputer Security and Industrial Cryptography 1 Overview Public-key vs. symmetric cryptosystem

More information

Discrete Logarithm Computation in Hyperelliptic Function Fields

Discrete Logarithm Computation in Hyperelliptic Function Fields Discrete Logarithm Computation in Hyperelliptic Function Fields Michael J. Jacobson, Jr. jacobs@cpsc.ucalgary.ca UNCG Summer School in Computational Number Theory 2016: Function Fields Mike Jacobson (University

More information

Counting points on smooth plane quartics

Counting points on smooth plane quartics Counting points on smooth plane quartics David Harvey University of New South Wales Number Theory Down Under, University of Newcastle 25th October 2014 (joint work with Andrew V. Sutherland, MIT) 1 / 36

More information

Counting Points on Curves using Monsky-Washnitzer Cohomology

Counting Points on Curves using Monsky-Washnitzer Cohomology Counting Points on Curves using Monsky-Washnitzer Cohomology Frederik Vercauteren frederik@cs.bris.ac.uk Jan Denef jan.denef@wis.kuleuven.ac.be University of Leuven http://www.arehcc.com University of

More information

The point decomposition problem in Jacobian varieties

The point decomposition problem in Jacobian varieties The point decomposition problem in Jacobian varieties Jean-Charles Faugère2, Alexandre Wallet1,2 1 2 ENS Lyon, Laboratoire LIP, Equipe AriC UPMC Univ Paris 96, CNRS, INRIA, LIP6, Equipe PolSys 1 / 19 1

More information

An Introduction to Hyperelliptic Curve Arithmetic

An Introduction to Hyperelliptic Curve Arithmetic February 29, 2016 16:5 ws-book9x6 Book Title... IntroHCA page 1 Chapter 1 An Introduction to Hyperelliptic Curve Arithmetic R. Scheidler Department of Mathematics and Statistics, University of Calgary,

More information

Introduction to Elliptic Curves

Introduction to Elliptic Curves IAS/Park City Mathematics Series Volume XX, XXXX Introduction to Elliptic Curves Alice Silverberg Introduction Why study elliptic curves? Solving equations is a classical problem with a long history. Starting

More information

The Sato-Tate conjecture for abelian varieties

The Sato-Tate conjecture for abelian varieties The Sato-Tate conjecture for abelian varieties Andrew V. Sutherland Massachusetts Institute of Technology March 5, 2014 Mikio Sato John Tate Joint work with F. Fité, K.S. Kedlaya, and V. Rotger, and also

More information

Algorithmic Number Theory in Function Fields

Algorithmic Number Theory in Function Fields Algorithmic Number Theory in Function Fields Renate Scheidler UNCG Summer School in Computational Number Theory 2016: Function Fields May 30 June 3, 2016 References Henning Stichtenoth, Algebraic Function

More information

Introduction to Arithmetic Geometry Fall 2013 Lecture #24 12/03/2013

Introduction to Arithmetic Geometry Fall 2013 Lecture #24 12/03/2013 18.78 Introduction to Arithmetic Geometry Fall 013 Lecture #4 1/03/013 4.1 Isogenies of elliptic curves Definition 4.1. Let E 1 /k and E /k be elliptic curves with distinguished rational points O 1 and

More information

Elliptic Curves, Factorization, and Cryptography

Elliptic Curves, Factorization, and Cryptography Elliptic Curves, Factorization, and Cryptography Brian Rhee MIT PRIMES May 19, 2017 RATIONAL POINTS ON CONICS The following procedure yields the set of rational points on a conic C given an initial rational

More information

Efficient Arithmetic on Elliptic and Hyperelliptic Curves

Efficient Arithmetic on Elliptic and Hyperelliptic Curves Efficient Arithmetic on Elliptic and Hyperelliptic Curves Department of Mathematics and Computer Science Eindhoven University of Technology Tutorial on Elliptic and Hyperelliptic Curve Cryptography 4 September

More information

2004 ECRYPT Summer School on Elliptic Curve Cryptography

2004 ECRYPT Summer School on Elliptic Curve Cryptography 2004 ECRYPT Summer School on Elliptic Curve Cryptography , or how to build a group from a set Assistant Professor Department of Mathematics and Statistics University of Ottawa, Canada Tutorial on Elliptic

More information

Introduction to Arithmetic Geometry

Introduction to Arithmetic Geometry Introduction to Arithmetic Geometry 18.782 Andrew V. Sutherland September 5, 2013 What is arithmetic geometry? Arithmetic geometry applies the techniques of algebraic geometry to problems in number theory

More information

Public-key Cryptography: Theory and Practice

Public-key Cryptography: Theory and Practice Public-key Cryptography Theory and Practice Department of Computer Science and Engineering Indian Institute of Technology Kharagpur Chapter 2: Mathematical Concepts Divisibility Congruence Quadratic Residues

More information

Counting points on hyperelliptic curves

Counting points on hyperelliptic curves University of New South Wales 9th November 202, CARMA, University of Newcastle Elliptic curves Let p be a prime. Let X be an elliptic curve over F p. Want to compute #X (F p ), the number of F p -rational

More information

Models of Elliptic Curves

Models of Elliptic Curves Models of Elliptic Curves Daniel J. Bernstein Tanja Lange University of Illinois at Chicago and Technische Universiteit Eindhoven djb@cr.yp.to tanja@hyperelliptic.org 26.03.2009 D. J. Bernstein & T. Lange

More information

Hyperelliptic Curves and Cryptography

Hyperelliptic Curves and Cryptography Fields Institute Communications Volume 00, 0000 Hyperelliptic Curves and Cryptography Michael Jacobson, Jr. Department of Computer Science University of Calgary Alfred Menezes Department of Combinatorics

More information

LECTURE 2 FRANZ LEMMERMEYER

LECTURE 2 FRANZ LEMMERMEYER LECTURE 2 FRANZ LEMMERMEYER Last time we have seen that the proof of Fermat s Last Theorem for the exponent 4 provides us with two elliptic curves (y 2 = x 3 + x and y 2 = x 3 4x) in the guise of the quartic

More information

Algebraic Geometry: Elliptic Curves and 2 Theorems

Algebraic Geometry: Elliptic Curves and 2 Theorems Algebraic Geometry: Elliptic Curves and 2 Theorems Chris Zhu Mentor: Chun Hong Lo MIT PRIMES December 7, 2018 Chris Zhu Elliptic Curves and 2 Theorems December 7, 2018 1 / 16 Rational Parametrization Plane

More information

Kummer Surfaces. Max Kutler. December 14, 2010

Kummer Surfaces. Max Kutler. December 14, 2010 Kummer Surfaces Max Kutler December 14, 2010 A Kummer surface is a special type of quartic surface. As a projective variety, a Kummer surface may be described as the vanishing set of an ideal of polynomials.

More information

Elliptic Curve Discrete Logarithm Problem

Elliptic Curve Discrete Logarithm Problem Elliptic Curve Discrete Logarithm Problem Vanessa VITSE Université de Versailles Saint-Quentin, Laboratoire PRISM October 19, 2009 Vanessa VITSE (UVSQ) Elliptic Curve Discrete Logarithm Problem October

More information

Alternative Models: Infrastructure

Alternative Models: Infrastructure Alternative Models: Infrastructure Michael J. Jacobson, Jr. jacobs@cpsc.ucalgary.ca UNCG Summer School in Computational Number Theory 2016: Function Fields Mike Jacobson (University of Calgary) Alternative

More information

A p-adic Birch and Swinnerton-Dyer conjecture for modular abelian varieties

A p-adic Birch and Swinnerton-Dyer conjecture for modular abelian varieties A p-adic Birch and Swinnerton-Dyer conjecture for modular abelian varieties Steffen Müller Universität Hamburg joint with Jennifer Balakrishnan and William Stein Rational points on curves: A p-adic and

More information

Introduction to Arithmetic Geometry Fall 2013 Lecture #23 11/26/2013

Introduction to Arithmetic Geometry Fall 2013 Lecture #23 11/26/2013 18.782 Introduction to Arithmetic Geometry Fall 2013 Lecture #23 11/26/2013 As usual, a curve is a smooth projective (geometrically irreducible) variety of dimension one and k is a perfect field. 23.1

More information

Public-key Cryptography and elliptic curves

Public-key Cryptography and elliptic curves Public-key Cryptography and elliptic curves Dan Nichols University of Massachusetts Amherst nichols@math.umass.edu WINRS Research Symposium Brown University March 4, 2017 Cryptography basics Cryptography

More information

Introduction to Elliptic Curve Cryptography. Anupam Datta

Introduction to Elliptic Curve Cryptography. Anupam Datta Introduction to Elliptic Curve Cryptography Anupam Datta 18-733 Elliptic Curve Cryptography Public Key Cryptosystem Duality between Elliptic Curve Cryptography and Discrete Log Based Cryptography Groups

More information

Congruent number elliptic curves of high rank

Congruent number elliptic curves of high rank Michaela Klopf, BSc Congruent number elliptic curves of high rank MASTER S THESIS to achieve the university degree of Diplom-Ingenieurin Master s degree programme: Mathematical Computer Science submitted

More information

Point counting and real multiplication on K3 surfaces

Point counting and real multiplication on K3 surfaces Point counting and real multiplication on K3 surfaces Andreas-Stephan Elsenhans Universität Paderborn September 2016 Joint work with J. Jahnel. A.-S. Elsenhans (Universität Paderborn) K3 surfaces September

More information

CORRESPONDENCE BETWEEN ELLIPTIC CURVES IN EDWARDS-BERNSTEIN AND WEIERSTRASS FORMS

CORRESPONDENCE BETWEEN ELLIPTIC CURVES IN EDWARDS-BERNSTEIN AND WEIERSTRASS FORMS CORRESPONDENCE BETWEEN ELLIPTIC CURVES IN EDWARDS-BERNSTEIN AND WEIERSTRASS FORMS DEPARTMENT OF MATHEMATICS AND STATISTICS UNIVERSITY OF OTTAWA SUPERVISOR: PROFESSOR MONICA NEVINS STUDENT: DANG NGUYEN

More information

ACCELERATING THE SCALAR MULTIPLICATION ON GENUS 2 HYPERELLIPTIC CURVE CRYPTOSYSTEMS

ACCELERATING THE SCALAR MULTIPLICATION ON GENUS 2 HYPERELLIPTIC CURVE CRYPTOSYSTEMS ACCELERATING THE SCALAR MULTIPLICATION ON GENUS 2 HYPERELLIPTIC CURVE CRYPTOSYSTEMS by Balasingham Balamohan A thesis submitted to the Faculty of Graduate and Postdoctoral Studies in partial fulfillment

More information

Katherine Stange. ECC 2007, Dublin, Ireland

Katherine Stange. ECC 2007, Dublin, Ireland in in Department of Brown University http://www.math.brown.edu/~stange/ in ECC Computation of ECC 2007, Dublin, Ireland Outline in in ECC Computation of in ECC Computation of in Definition A integer sequence

More information

One can use elliptic curves to factor integers, although probably not RSA moduli.

One can use elliptic curves to factor integers, although probably not RSA moduli. Elliptic Curves Elliptic curves are groups created by defining a binary operation (addition) on the points of the graph of certain polynomial equations in two variables. These groups have several properties

More information

The point decomposition problem in Jacobian varieties

The point decomposition problem in Jacobian varieties The point decomposition problem in Jacobian varieties Alexandre Wallet ENS Lyon, Laboratoire LIP, Equipe AriC 1 / 38 1 Generalities Discrete Logarithm Problem Short State-of-the-Art for curves About Index-Calculus

More information

No.6 Selection of Secure HC of g = divisors D 1, D 2 defined on J(C; F q n) over F q n, to determine the integer m such that D 2 = md 1 (if such

No.6 Selection of Secure HC of g = divisors D 1, D 2 defined on J(C; F q n) over F q n, to determine the integer m such that D 2 = md 1 (if such Vol.17 No.6 J. Comput. Sci. & Technol. Nov. 2002 Selection of Secure Hyperelliptic Curves of g = 2 Based on a Subfield ZHANG Fangguo ( ) 1, ZHANG Futai ( Ξ) 1;2 and WANG Yumin(Π±Λ) 1 1 P.O.Box 119 Key

More information

UNIVERSITY OF CALGARY. A Complete Evaluation of Arithmetic in Real Hyperelliptic Curves. Monireh Rezai Rad A THESIS

UNIVERSITY OF CALGARY. A Complete Evaluation of Arithmetic in Real Hyperelliptic Curves. Monireh Rezai Rad A THESIS UNIVERSITY OF CALGARY A Complete Evaluation of Arithmetic in Real Hyperelliptic Curves by Monireh Rezai Rad A THESIS SUBMITTED TO THE FACULTY OF GRADUATE STUDIES IN PARTIAL FULFILLMENT OF THE REQUIREMENTS

More information

Some. Manin-Mumford. Problems

Some. Manin-Mumford. Problems Some Manin-Mumford Problems S. S. Grant 1 Key to Stark s proof of his conjectures over imaginary quadratic fields was the construction of elliptic units. A basic approach to elliptic units is as follows.

More information

Counting points on elliptic curves over F q

Counting points on elliptic curves over F q Counting points on elliptic curves over F q Christiane Peters DIAMANT-Summer School on Elliptic and Hyperelliptic Curve Cryptography September 17, 2008 p.2 Motivation Given an elliptic curve E over a finite

More information

Selecting Elliptic Curves for Cryptography Real World Issues

Selecting Elliptic Curves for Cryptography Real World Issues Selecting Elliptic Curves for Cryptography Real World Issues Michael Naehrig Cryptography Research Group Microsoft Research UW Number Theory Seminar Seattle, 28 April 2015 Elliptic Curve Cryptography 1985:

More information

Equidistributions in arithmetic geometry

Equidistributions in arithmetic geometry Equidistributions in arithmetic geometry Edgar Costa Dartmouth College 14th January 2016 Dartmouth College 1 / 29 Edgar Costa Equidistributions in arithmetic geometry Motivation: Randomness Principle Rigidity/Randomness

More information

FINITE GROUPS AND EQUATIONS OVER FINITE FIELDS A PROBLEM SET FOR ARIZONA WINTER SCHOOL 2016

FINITE GROUPS AND EQUATIONS OVER FINITE FIELDS A PROBLEM SET FOR ARIZONA WINTER SCHOOL 2016 FINITE GROUPS AND EQUATIONS OVER FINITE FIELDS A PROBLEM SET FOR ARIZONA WINTER SCHOOL 2016 PREPARED BY SHABNAM AKHTARI Introduction and Notations The problems in Part I are related to Andrew Sutherland

More information

Hyperelliptic-curve cryptography. D. J. Bernstein University of Illinois at Chicago

Hyperelliptic-curve cryptography. D. J. Bernstein University of Illinois at Chicago Hyperelliptic-curve cryptography D. J. Bernstein University of Illinois at Chicago Thanks to: NSF DMS 0140542 NSF ITR 0716498 Alfred P. Sloan Foundation Two parts to this talk: 1. Elliptic curves; modern

More information

Computing L-series coefficients of hyperelliptic curves

Computing L-series coefficients of hyperelliptic curves Computing L-series coefficients of hyperelliptic curves Kiran S. Kedlaya and Andrew V. Sutherland Massachusetts Institute of Technology May 19, 2008 Demonstration The distribution of Frobenius traces Let

More information

Fast arithmetic and pairing evaluation on genus 2 curves

Fast arithmetic and pairing evaluation on genus 2 curves Fast arithmetic and pairing evaluation on genus 2 curves David Freeman University of California, Berkeley dfreeman@math.berkeley.edu November 6, 2005 Abstract We present two algorithms for fast arithmetic

More information

Theorem 6.1 The addition defined above makes the points of E into an abelian group with O as the identity element. Proof. Let s assume that K is

Theorem 6.1 The addition defined above makes the points of E into an abelian group with O as the identity element. Proof. Let s assume that K is 6 Elliptic curves Elliptic curves are not ellipses. The name comes from the elliptic functions arising from the integrals used to calculate the arc length of ellipses. Elliptic curves can be parametrised

More information

On the generation of pairing-friendly elliptic curves

On the generation of pairing-friendly elliptic curves On the generation of pairing-friendly elliptic curves Gaëtan BISSON Mémoire de M2 sous la direction de 3 Takakazu SATOH Institut de Technologie de Tokyo

More information

Elliptic Curves and Public Key Cryptography (3rd VDS Summer School) Discussion/Problem Session I

Elliptic Curves and Public Key Cryptography (3rd VDS Summer School) Discussion/Problem Session I Elliptic Curves and Public Key Cryptography (3rd VDS Summer School) Discussion/Problem Session I You are expected to at least read through this document before Wednesday s discussion session. Hopefully,

More information

Parshuram Budhathoki FAU October 25, Ph.D. Preliminary Exam, Department of Mathematics, FAU

Parshuram Budhathoki FAU October 25, Ph.D. Preliminary Exam, Department of Mathematics, FAU Parshuram Budhathoki FAU October 25, 2012 Motivation Diffie-Hellman Key exchange What is pairing? Divisors Tate pairings Miller s algorithm for Tate pairing Optimization Alice, Bob and Charlie want to

More information

COMPRESSION FOR TRACE ZERO SUBGROUPS OF ELLIPTIC CURVES

COMPRESSION FOR TRACE ZERO SUBGROUPS OF ELLIPTIC CURVES COMPRESSION FOR TRACE ZERO SUBGROUPS OF ELLIPTIC CURVES A. SILVERBERG Abstract. We give details of a compression/decompression algorithm for points in trace zero subgroups of elliptic curves over F q r,

More information

Number Theory in Cryptology

Number Theory in Cryptology Number Theory in Cryptology Abhijit Das Department of Computer Science and Engineering Indian Institute of Technology Kharagpur October 15, 2011 What is Number Theory? Theory of natural numbers N = {1,

More information

Scalar multiplication in compressed coordinates in the trace-zero subgroup

Scalar multiplication in compressed coordinates in the trace-zero subgroup Scalar multiplication in compressed coordinates in the trace-zero subgroup Giulia Bianco and Elisa Gorla Institut de Mathématiques, Université de Neuchâtel Rue Emile-Argand 11, CH-2000 Neuchâtel, Switzerland

More information

LECTURE 5, FRIDAY

LECTURE 5, FRIDAY LECTURE 5, FRIDAY 20.02.04 FRANZ LEMMERMEYER Before we start with the arithmetic of elliptic curves, let us talk a little bit about multiplicities, tangents, and singular points. 1. Tangents How do we

More information

Quadratic points on modular curves

Quadratic points on modular curves S. Alberts Quadratic points on modular curves Master thesis Supervisor: Dr. P.J. Bruin Date: November 24, 2017 Mathematisch Instituut, Universiteit Leiden Contents Introduction 3 1 Modular and hyperelliptic

More information

Computing L-series of geometrically hyperelliptic curves of genus three. David Harvey, Maike Massierer, Andrew V. Sutherland

Computing L-series of geometrically hyperelliptic curves of genus three. David Harvey, Maike Massierer, Andrew V. Sutherland Computing L-series of geometrically hyperelliptic curves of genus three David Harvey, Maike Massierer, Andrew V. Sutherland The zeta function Let C/Q be a smooth projective curve of genus 3 p be a prime

More information

Fast Cryptography in Genus 2

Fast Cryptography in Genus 2 Fast Cryptography in Genus 2 Joppe W. Bos, Craig Costello, Huseyin Hisil and Kristin Lauter EUROCRYPT 2013 Athens, Greece May 27, 2013 Fast Cryptography in Genus 2 Recall that curves are much better than

More information

Elliptic Curves Spring 2013 Lecture #8 03/05/2013

Elliptic Curves Spring 2013 Lecture #8 03/05/2013 18.783 Elliptic Curves Spring 2013 Lecture #8 03/05/2013 8.1 Point counting We now consider the problem of determining the number of points on an elliptic curve E over a finite field F q. The most naïve

More information

Two Topics in Hyperelliptic Cryptography

Two Topics in Hyperelliptic Cryptography Two Topics in Hyperelliptic Cryptography Florian Hess, Gadiel Seroussi, Nigel Smart Information Theory Research Group HP Laboratories Palo Alto HPL-2000-118 September 19 th, 2000* hyperelliptic curves,

More information

The Group Structure of Elliptic Curves Defined over Finite Fields

The Group Structure of Elliptic Curves Defined over Finite Fields The Group Structure of Elliptic Curves Defined over Finite Fields A Senior Project submitted to The Division of Science, Mathematics, and Computing of Bard College by Andrija Peruničić Annandale-on-Hudson,

More information

SEMINAR SECURITY - REPORT ELLIPTIC CURVE CRYPTOGRAPHY

SEMINAR SECURITY - REPORT ELLIPTIC CURVE CRYPTOGRAPHY SEMINAR SECURITY - REPORT ELLIPTIC CURVE CRYPTOGRAPHY OFER M. SHIR, THE HEBREW UNIVERSITY OF JERUSALEM, ISRAEL FLORIAN HÖNIG, JOHANNES KEPLER UNIVERSITY LINZ, AUSTRIA ABSTRACT. The area of elliptic curves

More information

CS 259C/Math 250: Elliptic Curves in Cryptography Homework 1 Solutions. 3. (a)

CS 259C/Math 250: Elliptic Curves in Cryptography Homework 1 Solutions. 3. (a) CS 259C/Math 250: Elliptic Curves in Cryptography Homework 1 Solutions 1. 2. 3. (a) 1 (b) (c) Alternatively, we could compute the orders of the points in the group: (d) The group has 32 elements (EF.order()

More information

Elliptic Curves Spring 2013 Lecture #12 03/19/2013

Elliptic Curves Spring 2013 Lecture #12 03/19/2013 18.783 Elliptic Curves Spring 2013 Lecture #12 03/19/2013 We now consider our first practical application of elliptic curves: factoring integers. Before presenting the elliptic curve method (ECM) for factoring

More information

Diophantine equations and beyond

Diophantine equations and beyond Diophantine equations and beyond lecture King Faisal prize 2014 Gerd Faltings Max Planck Institute for Mathematics 31.3.2014 G. Faltings (MPIM) Diophantine equations and beyond 31.3.2014 1 / 23 Introduction

More information

Elliptic Curves Spring 2015 Lecture #7 02/26/2015

Elliptic Curves Spring 2015 Lecture #7 02/26/2015 18.783 Elliptic Curves Spring 2015 Lecture #7 02/26/2015 7 Endomorphism rings 7.1 The n-torsion subgroup E[n] Now that we know the degree of the multiplication-by-n map, we can determine the structure

More information

A normal form for elliptic curves in characteristic 2

A normal form for elliptic curves in characteristic 2 A normal form for elliptic curves in characteristic 2 David R. Kohel Institut de Mathématiques de Luminy Arithmetic, Geometry, Cryptography et Coding Theory 2011 CIRM, Luminy, 15 March 2011 Edwards model

More information

Elliptic Curves: Theory and Application

Elliptic Curves: Theory and Application s Phillips Exeter Academy Dec. 5th, 2018 Why Elliptic Curves Matter The study of elliptic curves has always been of deep interest, with focus on the points on an elliptic curve with coe cients in certain

More information

Skew-Frobenius maps on hyperelliptic curves

Skew-Frobenius maps on hyperelliptic curves All rights are reserved and copyright of this manuscript belongs to the authors. This manuscript h been published without reviewing and editing received from the authors: posting the manuscript to SCIS

More information

Elliptic curves: Theory and Applications. Day 4: The discrete logarithm problem.

Elliptic curves: Theory and Applications. Day 4: The discrete logarithm problem. Elliptic curves: Theory and Applications. Day 4: The discrete logarithm problem. Elisa Lorenzo García Université de Rennes 1 14-09-2017 Elisa Lorenzo García (Rennes 1) Elliptic Curves 4 14-09-2017 1 /

More information

L-Polynomials of Curves over Finite Fields

L-Polynomials of Curves over Finite Fields School of Mathematical Sciences University College Dublin Ireland July 2015 12th Finite Fields and their Applications Conference Introduction This talk is about when the L-polynomial of one curve divides

More information

Outline of the Seminar Topics on elliptic curves Saarbrücken,

Outline of the Seminar Topics on elliptic curves Saarbrücken, Outline of the Seminar Topics on elliptic curves Saarbrücken, 11.09.2017 Contents A Number theory and algebraic geometry 2 B Elliptic curves 2 1 Rational points on elliptic curves (Mordell s Theorem) 5

More information

Elliptic Curve Cryptosystems

Elliptic Curve Cryptosystems Elliptic Curve Cryptosystems Santiago Paiva santiago.paiva@mail.mcgill.ca McGill University April 25th, 2013 Abstract The application of elliptic curves in the field of cryptography has significantly improved

More information

Elliptic curve cryptography. Matthew England MSc Applied Mathematical Sciences Heriot-Watt University

Elliptic curve cryptography. Matthew England MSc Applied Mathematical Sciences Heriot-Watt University Elliptic curve cryptography Matthew England MSc Applied Mathematical Sciences Heriot-Watt University Summer 2006 Abstract This project studies the mathematics of elliptic curves, starting with their derivation

More information

THE MORDELL-WEIL THEOREM FOR Q

THE MORDELL-WEIL THEOREM FOR Q THE MORDELL-WEIL THEOREM FOR Q NICOLAS FORD Abstract. An elliptic curve is a specific type of algebraic curve on which one may impose the structure of an abelian group with many desirable properties. The

More information

Counting points on curves: the general case

Counting points on curves: the general case Counting points on curves: the general case Jan Tuitman, KU Leuven October 14, 2015 Jan Tuitman, KU Leuven Counting points on curves: the general case October 14, 2015 1 / 26 Introduction Algebraic curves

More information

Lectures on Cryptography Heraklion 2003 Gerhard Frey IEM, University of Duisburg-Essen Part II Discrete Logarithm Systems

Lectures on Cryptography Heraklion 2003 Gerhard Frey IEM, University of Duisburg-Essen Part II Discrete Logarithm Systems Lectures on Cryptography Heraklion 2003 Gerhard Frey IEM, University of Duisburg-Essen Part II Discrete Logarithm Systems 1 Algebraic Realization of Key exchange and Signature 1.1 Key exchange and signature

More information

ElGamal type signature schemes for n-dimensional vector spaces

ElGamal type signature schemes for n-dimensional vector spaces ElGamal type signature schemes for n-dimensional vector spaces Iwan M. Duursma and Seung Kook Park Abstract We generalize the ElGamal signature scheme for cyclic groups to a signature scheme for n-dimensional

More information

Elliptic Curve Cryptography

Elliptic Curve Cryptography The State of the Art of Elliptic Curve Cryptography Ernst Kani Department of Mathematics and Statistics Queen s University Kingston, Ontario Elliptic Curve Cryptography 1 Outline 1. ECC: Advantages and

More information

Elliptic curves and their cryptographic applications

Elliptic curves and their cryptographic applications Eastern Washington University EWU Digital Commons EWU Masters Thesis Collection Student Research and Creative Works 2013 Elliptic curves and their cryptographic applications Samuel L. Wenberg Eastern Washington

More information

The Decisional Diffie-Hellman Problem and the Uniform Boundedness Theorem

The Decisional Diffie-Hellman Problem and the Uniform Boundedness Theorem The Decisional Diffie-Hellman Problem and the Uniform Boundedness Theorem Qi Cheng and Shigenori Uchiyama April 22, 2003 Abstract In this paper, we propose an algorithm to solve the Decisional Diffie-Hellman

More information

Basic Algorithms in Number Theory

Basic Algorithms in Number Theory Basic Algorithms in Number Theory Algorithmic Complexity... 1 Basic Algorithms in Number Theory Francesco Pappalardi #2 - Discrete Logs, Modular Square Roots, Polynomials, Hensel s Lemma & Chinese Remainder

More information

The Discrete Logarithm Problem on the p-torsion Subgroup of Elliptic Curves

The Discrete Logarithm Problem on the p-torsion Subgroup of Elliptic Curves The Discrete Logarithm Problem on the p-torsion Subgroup of Elliptic Curves Juliana V. Belding May 4, 2007 The discrete logarithm problem on elliptic curves Consider a finite group G of prime order N.

More information

Ate Pairing on Hyperelliptic Curves

Ate Pairing on Hyperelliptic Curves Ate Pairing on Hyperelliptic Curves R. Granger, F. Hess, R. Oyono, N. Thériault F. Vercauteren EUROCRYPT 2007 - Barcelona Pairings Pairings Let G 1, G 2, G T be groups of prime order l. A pairing is a

More information

Design of Hyperelliptic Cryptosystems in Small Characteristic and a Software Implementation over F 2

Design of Hyperelliptic Cryptosystems in Small Characteristic and a Software Implementation over F 2 Design of Hyperelliptic Cryptosystems in Small Characteristic and a Software Implementation over F 2 n Yasuyuki Sakai 1 and Kouichi Sakurai 2 1 Mitsubishi Electric Corporation, 5-1-1 Ofuna, Kamakura, Kanagawa

More information

Problème du logarithme discret sur courbes elliptiques

Problème du logarithme discret sur courbes elliptiques Problème du logarithme discret sur courbes elliptiques Vanessa VITSE Université de Versailles Saint-Quentin, Laboratoire PRISM Groupe de travail équipe ARITH LIRMM Vanessa VITSE (UVSQ) DLP over elliptic

More information

Elliptic Curves with 2-torsion contained in the 3-torsion field

Elliptic Curves with 2-torsion contained in the 3-torsion field Elliptic Curves with 2-torsion contained in the 3-torsion field Laura Paulina Jakobsson Advised by Dr. M. J. Bright Universiteit Leiden Universita degli studi di Padova ALGANT Master s Thesis - 21 June

More information

Towards a precise Sato-Tate conjecture in genus 2

Towards a precise Sato-Tate conjecture in genus 2 Towards a precise Sato-Tate conjecture in genus 2 Kiran S. Kedlaya Department of Mathematics, Massachusetts Institute of Technology Department of Mathematics, University of California, San Diego kedlaya@mit.edu,

More information

Algebraic Curves and Riemann Surfaces

Algebraic Curves and Riemann Surfaces Algebraic Curves and Riemann Surfaces Rick Miranda Graduate Studies in Mathematics Volume 5 If American Mathematical Society Contents Preface xix Chapter I. Riemann Surfaces: Basic Definitions 1 1. Complex

More information

Discrete Logarithm Problem

Discrete Logarithm Problem Discrete Logarithm Problem Çetin Kaya Koç koc@cs.ucsb.edu (http://cs.ucsb.edu/~koc/ecc) Elliptic Curve Cryptography lect08 discrete log 1 / 46 Exponentiation and Logarithms in a General Group In a multiplicative

More information

HOME ASSIGNMENT: ELLIPTIC CURVES OVER FINITE FIELDS

HOME ASSIGNMENT: ELLIPTIC CURVES OVER FINITE FIELDS HOME ASSIGNMENT: ELLIPTIC CURVES OVER FINITE FIELDS DANIEL LARSSON CONTENTS 1. Introduction 1 2. Finite fields 1 3. Elliptic curves over finite fields 3 4. Zeta functions and the Weil conjectures 6 1.

More information

THE JACOBIAN AND FORMAL GROUP OF A CURVE OF GENUS 2 OVER AN ARBITRARY GROUND FIELD E. V. Flynn, Mathematical Institute, University of Oxford

THE JACOBIAN AND FORMAL GROUP OF A CURVE OF GENUS 2 OVER AN ARBITRARY GROUND FIELD E. V. Flynn, Mathematical Institute, University of Oxford THE JACOBIAN AND FORMAL GROUP OF A CURVE OF GENUS 2 OVER AN ARBITRARY GROUND FIELD E. V. Flynn, Mathematical Institute, University of Oxford 0. Introduction The ability to perform practical computations

More information

Constructing Abelian Varieties for Pairing-Based Cryptography

Constructing Abelian Varieties for Pairing-Based Cryptography for Pairing-Based CWI and Universiteit Leiden, Netherlands Workshop on Pairings in Arithmetic Geometry and 4 May 2009 s MNT MNT Type s What is pairing-based cryptography? Pairing-based cryptography refers

More information

Elliptic Curve of the Ring F q [ɛ]

Elliptic Curve of the Ring F q [ɛ] International Mathematical Forum, Vol. 6, 2011, no. 31, 1501-1505 Elliptic Curve of the Ring F q [ɛ] ɛ n =0 Chillali Abdelhakim FST of Fez, Fez, Morocco chil2015@yahoo.fr Abstract Groups where the discrete

More information