Hinted Schnorr adversarial qualification

27 October 2026. The R4 implementation passed the added correctness tests and adversarial installed-Wasm checks. No acceptance bypass was found. This is implementation evidence and a conditional mathematical review, not an independent cryptographic audit of the deterministic protocol.

See current security guidance, protocol design and the R4 performance report. This round changes tests, the test runner and documentation; it changes no production verifier function, SDK code, manifest or lockfile. Existing R4 performance results remain separate historical measurements.

Results

Check Actual result
Full crypto workspace, selected XYZZ feature 417 passed, 0 failed; one native timing diagnostic intentionally ignored
Batch crate, Jacobian feature 108 passed, 0 failed
New native adversarial tests, selected XYZZ feature 16 passed: 11 protocol tests and 5 arithmetic tests; included in the workspace total
All radix host tests 44 passed, including 11 attack-generator and rejection-classifier tests
Installed R4 Wasm 101 update calls: 13 excluded noops, 13 fresh valid controls, 67 typed attack rejections, 2 expected malformed-envelope SDK traps and 6 successful recovery calls
Removed-check mutants Both deliberately broken implementations failed the intended new assertion tests; neither mutation was committed
Independent finite-group model 720,728 inner error/challenge cases, 18,651 checkpoint/column cases, ideal outer-weight models and all 50 actual radix/challenge-width bound combinations passed

Each fresh valid control is the first verification on its own installation, after an excluded noop. No query, key preparation or result cache precedes the updates. Recovery calls include a valid request immediately after each SDK argument-decoding trap. Typed verifier attacks must return a structured rejection: an arbitrary trap, transport failure, malformed reply or absent execution never counts as a successful rejection.

The adversarial producers create correctly encoded curve points and deliberately false statements, rather than testing only byte corruption. They exercise column forgeries that preserve reconstruction, true columns for false signature statements, every checkpoint position, full-statement and order binding, canonical field/scalar/parity/identity encodings, repeated-key hints, scratch boundaries, masked lanes and reuse after failure. Cancellation fixtures contain two invalid signatures that would cancel under all-one or stale outer weights; the current full-input transcript rejects them, including when supplied with the original valid proof. Native arithmetic comparisons use independent k256 projective sums across recoding, carry and scheduling boundaries.

The first live attempt stopped after 98 captures because the runner expected a numeric reject code and a trap-labelled outcome. The pinned server actually reports a certified CanisterError / CanisterCalledTrap and a completed, discarded execution with outcome error. The runner was corrected to recognize only that exact SDK argument trap with complete raw evidence. The failed attempt remains recorded as failed; the 101-call result is a fresh complete run.

What the soundness review establishes

For a fixed statement and incorrect columns committed before independent uniform t-bit challenges, with 2^t < n in the prime-order group, the inner relation accepts with probability at most 2^-t. Both reconstruction and the random relation are essential. The mutation tests and finite-model counterexamples independently demonstrate why neither check can be removed. For fixed columns, the checked checkpoint recurrences and endpoints determine the suffix uniquely.

The implementation uses deterministic transcript-derived outer weights and inner challenges. The complete argument still needs analysis of adaptive inputs, nested Fiat–Shamir, hashing and grinding. Outer-batch cancellation and a false inner proof are alternative failure routes; their probabilities cannot simply be multiplied. Replicas use the same challenges, and t=160 is not a claim of 160-bit overall security. The model's intentionally weakened designs and tiny-challenge grinding example are not attacks against the real parameters.

Identities and reproduction

  • Reviewed production source: fd38719c79d0456f7b378d065be6bc369dbfe80c.
  • Integrated test source: 2f9e733c986dff47ff53d3fa40025f0ec8a4937b.
  • SDK: 33f54b62b46a6693ff6e193a752e052eaa124884.
  • Exact canonical R4 Wasm SHA256: a89924270e454e0ce252ef5a7361610b3f9d444ac4d859b647cffc937128b698.
  • Frozen PocketIC 16.1.0 SHA256: 6a9a75ad9b4551d2b0f4a0d954ffb8bd5bbd0ebc44ac00290679b06ad0b2f8e6.

The qualification packet retains raw requests, terminal responses, execution traces, test logs, source/math reviews and checksums, including failed attempts. Its verifier checks evidence integrity; it is not a replacement for executing the tests.

Reproduction commands and test entry points are in security guidance. Production-source equivalence is checked byte-for-byte after removing only the two new cfg(test) declarations; the live tests execute the existing canonical artifact, not a claimed new build.