File: make.ml

package info (click to toggle)
hol-light 20230128-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm
  • size: 45,636 kB
  • sloc: ml: 688,681; cpp: 439; makefile: 302; lisp: 286; java: 279; sh: 251; yacc: 108; perl: 78; ansic: 57; sed: 39; python: 13
file content (94 lines) | stat: -rw-r--r-- 3,979 bytes parent folder | download
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
88
89
90
91
92
93
94
(* ========================================================================= *)
(* 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, projective-without-y, extended projective coords.   *)
(* ------------------------------------------------------------------------- *)

loadt "EC/projective.ml";;
loadt "EC/jacobian.ml";;
loadt "EC/xzprojective.ml";;
loadt "EC/exprojective.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 x25519 function, as a mapping of x coordinates over a generalization  *)
(* of curve25519 with the y coordinate living in an extension field.         *)
(* ------------------------------------------------------------------------- *)

loadt "EC/x25519.ml";;

(* ------------------------------------------------------------------------- *)
(* The Goldilocks curve                                                      *)
(* ------------------------------------------------------------------------- *)

loadt "EC/edwards448.ml";;