Scalar multiplication through the transport #
Ed25519Math.scalarMul n (ψ P) = ψ (n • P), so Ed25519 scalar multiplication inherits Mathlib's
n • P lemmas.
ψ 0 = zero.
theorem
Cryptlib.Primitives.Sign.Ed25519Scalar.eq_zero_of_psi_eq_zero
{P : Ed25519Group.W}
(h : Ed25519Group.psi P = Ed25519Math.zero)
:
The only point mapping to the Edwards identity is the identity.
theorem
Cryptlib.Primitives.Sign.Ed25519Scalar.natCast_ne_zero'
{n : ℕ}
(h0 : n ≠ 0)
(hlt : n < NIKE.X25519Common.p)
:
The Ed25519 basepoint is the image of the X25519 basepoint.
ℓ • G = 0 in Curve25519's group: the basepoint has order dividing ℓ.