Documentation

Cryptlib.Primitives.Sign.Ed25519_verify

Signature verification is correct #

A signature R ‖ s with R = r·B, A = a·B, and s ≡ r + k·a (mod ℓ) satisfies the cofactored check 8s·B = 8R + 8k·A.

The 32 little-endian bytes of s.

Equations
Instances For
    theorem Cryptlib.Primitives.Sign.Ed25519Verify.sig_eq (rBytes : Vector UInt8 32) (s : ℕ) :
    (Vector.ofFn fun (i : Fin 64) => if ↑i < 32 then rBytes[↑i]! else (s >>> (8 * (↑i - 32))).toUInt8) = rBytes ++ sBytes s

    A signature laid out as R ‖ s.

    Ed25519 as a plain signature scheme, over the native arithmetic.

    Equations
    • One or more equations did not get rendered due to their size.
    Instances For