Documentation

CslibFrontier.Crypto.Computational.SchnorrRelatedNonce

Polynomial-time Schnorr related-nonce extraction #

Computes the related-nonce Schnorr key recovery of [BS23], Exercise 19.1, on bit words over a PrimeOrderGroupFamily: schnorrRelatedNonceExtractWord computes extractNat (F.order d) (a * c₀) (a * z₀ + b) c₁ z₁ on the binary encodings of a, b, c₀, z₀, c₁, z₁, runs in polynomial time (computableInPolyTime_schnorrRelatedNonceExtractWord), and recovers relatedNonceExtract modulo F.order d whenever a * c₀ ≠ c₁ modulo F.order d (ofBits_schnorrRelatedNonceExtractWord).

Scope. This module covers the polynomial-time deterministic word extraction step; the leaked-nonce special case (a = 0, b = r) has its word-level game and PPT adversary in CslibFrontier.Crypto.Computational.SchnorrLeakedNonce, while general (a, b) word-level games remain open.

Main definitions #

Main results #

References #

The key recovery of [BS23], Exercise 19.1, on words: from the description and the binary numbers a, b, c₀, z₀, c₁, z₁, the binary value of extractNat q (a * c₀) (a * z₀ + b) c₁ z₁.