Native sampled Schnorr signing and verification in the ROM #
The actual signer samples sampleExp, normalizes the nonce, hashes the encoded message/commitment
pair, reads at most the challenge width, and invokes the existing response arithmetic. The verifier
uses the existing total signature-pair decoder and sole canonical-recovery verifier. Runtime
certificates charge the full inputs and apply even to arbitrary external replies.
The semantic comparison uses caches whose answers are BitString m; every cached answer therefore
has exactly the required width. It does not identify arbitrary raw-word caches with that typed
oracle. The per-signature error comes from the actual nonce sampler, separately from the existing
key-generation error closeTo_schnorrSigKeyGen, also at most 2⁻ⁿ. Adaptive game composition and
efficient forking remain separate obligations.
Main definitions #
schnorrROMSign: sampled native signing with one bounded hash-reply read.schnorrROMVerify: native verification using the existing total pair decoder.
Main results #
isOraclePPTOn_schnorrROMSign,isOraclePPTOn_schnorrROMVerify: full-input native certificates.runWith_schnorrROMSign,runWith_schnorrROMVerify: exact joint realization laws.closeTo_runWith_schnorrROMSign: per-signature nonce-sampling error with external state retained.
References #
Original native realization of the existing Schnorr ROM instance, using the sampling law already
proved for sampleExp and the arithmetic algorithms from SchnorrSignature.lean.
Sample a nonce, normalize it modulo the actual group order, and sign using one hash query.
Only the first m reply bits are read, including for arbitrary malformed or overlong replies.
Decode the signature with the existing total pair decoder, hash its message/commitment point,
and invoke the sole native verifier. Only the first m reply bits are read.
The actual signer is uniformly strict oracle-PPT in the full security parameter, group description, challenge width, secret key and message. Both numeric parameters are unary.
The native verifier is uniformly strict oracle-PPT in the full description, unary challenge width, public key, message and signature word, for every external oracle reply.
Exact joint realization of sampled signing under any stateful m-bit hash oracle. The nonce
law is the actual sampler mapped modulo the order; no coupling or uniform-sampling equality is
assumed. The external state is retained alongside the encoded signature.
Verification agrees exactly with the word ROM scheme after the existing total outer-signature pair decoder. The equality retains all external state and permits arbitrary signature words.
Replacing the actual nonce sampler by the ideal word-ROM signing law changes the joint
signature/external-state law by at most 2⁻ⁿ. This holds for every stateful m-bit reply handler,
so in particular for the shared memoized oracle at every typed cache. The error is paid once,
through a common continuation; no assumption about a coupling is needed.