Fresh-key checked-hint pipelines

These candidates verify ordinary compact ECDSA signatures with public inverse hints. The caller supplies a raw canonical compressed SEC1 key (33 bytes) or uncompressed key (65 bytes), digest32, signature64 and inverse32. Every call validates the point and every scalar, checks s*w == 1, applies the explicit low-S policy and checks the complete signature equation. There is no prepared key or signature context retained from an earlier call.

API suffix after verify_prehash_with_hint_fresh_ Work performed in this call
decode_once Point parse, one checked scalar decoding pass, ordinary direct multiplication
native_pipeline Same admission, construct the native Q table at use, homogeneous direct signed recoding
jacobian_pipeline Same admission/table construction, direct signed width-five rows, public Jacobian
jacobian_window8_pipeline Same admission/table construction, shared width-eight G recoder/table, direct signed width-five Q rows, public Jacobian

The native prepared-key type also exposes combined Jacobian pipeline methods for callers that construct typed tables within their own current call. The private checked-equation helper is shared inside the ECDSA module, so validated scalars can feed a prepared point operation without reparsing the signature or rechecking a relation that was already checked in that same invocation. No API imports arbitrary prepared coordinates or externally asserted scalar proofs.

Raw methods preserve the ordinary error order: key encoding/curve check, digest length, compact signature length and nonzero r,s<n, hint length and nonzero w<n, inverse relation, then low-S policy. A wrong hint remains an error even for high-S input. A correct hint with disallowed high-S returns false. Native-table construction follows scalar admission. All primary valid low-S records include their full point parse, checks and table preparation.

The code composes existing public formulas and constants. The width-eight generator table is the original immutable table, borrowed through private accessors, and the per-key width-five table is constructed from the parsed nonidentity point. Existing secret arithmetic, signing, tables, recoders and ordinary verification methods remain independently callable. Algorithms use fixed local scratch and allocate no per-verification heap memory.

The matched cases in benches/crypto/cases/src/secp256k1/fresh.rs all declare group length N and perform N independent ordinary verifications, retaining each full result. They store only raw inputs and output slots. Compressed and uncompressed cohorts use fixed 33-byte and 65-byte key fields respectively, without reserving unused key padding. All arms within one encoding share input/output layout and the loop. The ordinary direct control and freshly constructed native/Jacobian/window-eight controls include all key parsing and preparation inside the timed call.

distinct=true supplies N keys and N signatures; distinct=false supplies one raw key with N distinct messages/signatures at normal message sizes, reparsing that key for every record. Invalid/mixed rows alter the digest while keeping signature/hint ranges and their inverse relation valid, so all curve equations execute. Fixture generation and client-hint calculation are separate setup work; the staged runner does not measure actual client ingress of those bytes. The live raw-input endpoint needs its own complete-call receipts.

Native checks passed: 20 algorithm tests and 12 secp256k1 adapter tests with the pinned compiler, offline locked dependencies, test optimization level 1 and disabled debug information/incremental builds. Coverage includes independent oracle equations, both S policies, malformed input/error precedence, compressed and uncompressed parity, recoding/identity boundaries, 100 distinct raw keys and signatures across every variant/pattern, and complete cohorts at 1/8/32/100/128/500. After a successful 100-row run, changing a raw public key or a canonical inverse hint is rejected by the next run before successful recovery.

The lane's native target occupies about 91 MiB. Canonical Wasm, actual 100-row ingress and IC cost qualification are owned by the root integration run. No measured speed, page-fee or latency improvement is claimed for this fresh composition. A prepared-key result cannot qualify fresh-key verification.