Datasets:
Tasks:
Text Generation
Modalities:
Text
Sub-tasks:
language-modeling
Languages:
English
Size:
100K - 1M
License:
File size: 3,605 Bytes
4365a98 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 |
(* ========================================================================= *)
(* Elliptic curves of various forms and specific ones for cryptography. *)
(* ========================================================================= *)
needs "Library/pocklington.ml";;
needs "Library/primitive.ml";;
needs "Library/grouptheory.ml";;
needs "Library/ringtheory.ml";;
(* ------------------------------------------------------------------------- *)
(* A few extras to support all the curve proofs. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/misc.ml";;
(* ------------------------------------------------------------------------- *)
(* Short Weierstrass, Montgomery and Edwards curves (independently). *)
(* ------------------------------------------------------------------------- *)
loadt "EC/weierstrass.ml";;
loadt "EC/montgomery.ml";;
loadt "EC/edwards.ml";;
(* ------------------------------------------------------------------------- *)
(* Projective, Jacobian and projective-without-y coordinates. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/projective.ml";;
loadt "EC/jacobian.ml";;
loadt "EC/xzprojective.ml";;
(* ------------------------------------------------------------------------- *)
(* Some traditional formulas for evaluation in these coordinate systems. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/formulary_projective.ml";;
loadt "EC/formulary_jacobian.ml";;
loadt "EC/formulary_xzprojective.ml";;
(* ------------------------------------------------------------------------- *)
(* Translations between curves: Edwards <-> Montgomery <-> Weierstrass. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/edmont.ml";;
loadt "EC/montwe.ml";;
(* ------------------------------------------------------------------------- *)
(* Additional computational derived rules. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/excluderoots.ml";;
loadt "EC/computegroup.ml";;
(* ------------------------------------------------------------------------- *)
(* The NIST curves over prime characteristic fields. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/nistp192.ml";;
loadt "EC/nistp224.ml";;
loadt "EC/nistp256.ml";;
loadt "EC/nistp384.ml";;
loadt "EC/nistp521.ml";;
(* ------------------------------------------------------------------------- *)
(* The (other) SECG curves over prime characteristic fields *)
(* ------------------------------------------------------------------------- *)
loadt "EC/secp192k1.ml";;
loadt "EC/secp224k1.ml";;
loadt "EC/secp256k1.ml";;
(* ------------------------------------------------------------------------- *)
(* The curve25519 family in Edwards, Montgomery and Weierstrass forms. *)
(* The first three files are independent, the fourth giving the connections. *)
(* ------------------------------------------------------------------------- *)
loadt "EC/edwards25519.ml";;
loadt "EC/curve25519.ml";;
loadt "EC/wei25519.ml";;
loadt "EC/family25519.ml";;
(* ------------------------------------------------------------------------- *)
(* The Goldilocks curve *)
(* ------------------------------------------------------------------------- *)
loadt "EC/edwards448.ml";;
|