The basepoint has order ℓ #
Computed by decide +kernel on a mirror of Ed25519Math.add/scalarMul over naturals, with
Fermat inversion; cast_eAdd and cast_eScalar prove the mirror equal to the original.
d as a natural number.
Equations
- Cryptlib.Primitives.Sign.Ed25519Order.d0 = 37095705934669439343138083508754565189542113879843219016388785533085940283555
Instances For
x⁻¹ by Fermat.
Equations
Instances For
Equations
- Cryptlib.Primitives.Sign.Ed25519Order.toE a = { x := ↑a.1, y := ↑a.2 }
Instances For
theorem
Cryptlib.Primitives.Sign.Ed25519Order.cast_one_add
(t : ℕ)
(T : Ed25519Facts.F)
(h : ↑t = T)
:
theorem
Cryptlib.Primitives.Sign.Ed25519Order.cast_one_sub
(t : ℕ)
(T : Ed25519Facts.F)
(ht : t < NIKE.X25519Common.p)
(h : ↑t = T)
:
theorem
Cryptlib.Primitives.Sign.Ed25519Order.scalarMul_eq
(n : ℕ)
(q : Ed25519Math.Point)
:
Ed25519Math.scalarMul n q = if n = 0 then Ed25519Math.zero
else if n % 2 = 0 then Ed25519Math.add (Ed25519Math.scalarMul (n / 2) q) (Ed25519Math.scalarMul (n / 2) q)
else Ed25519Math.add q (Ed25519Math.add (Ed25519Math.scalarMul (n / 2) q) (Ed25519Math.scalarMul (n / 2) q))
The RFC 8032 basepoint on naturals.
Equations
- One or more equations did not get rendered due to their size.
Instances For
The basepoint has order ℓ.