Source notices

The public-only prepared/generator_wide.rs and its signed recoder are local Apache-2.0 OR MIT compositions of the existing GLV/public Jacobian path. The frozen interleaved G/beta table is generated by tools/generate_public_generator_wide.py, reusing the independently expressed integer affine helpers in generate_public_window8.py under the same license. No new external implementation or secret-key arithmetic is imported.

The fresh Q-window modules, packed factory and exact boundary-test recoder are local Apache-2.0 OR MIT code under vendor/k256/src/arithmetic/prepared/. They generalize the existing public wNAF window and reuse existing field, RCB preparation, GLV, beta and public Jacobian operations. The G8 recoder/table and every secret/signing path are unchanged. The wrapper/tests/adapters are local Apache-2.0. The archived fresh-key CSV is generated public test material from the pinned Node/OpenSSL corpus; its exact source/render hashes are retained.

The fresh-key batch-table factory in vendor/k256/src/arithmetic/prepared/fresh_tables.rs is local Apache-2.0 OR MIT code. It reuses existing validated public-point types, odd-multiple generation, coordinate-field inversion, affine conversion and endomorphism. Its Montgomery prefix/reverse sweep shares one field inverse across fresh public-key tables. No new external source or secret arithmetic is imported. The raw-record wrapper and tests are local Apache-2.0; exact integrated vendor hashes and the combined patch are retained in PROVENANCE.json.

The wrapper code adapts Apache-2.0 sources from:

  • showtime/crypto/ecdsa/src/k256_core.rs.
  • motoko_experiments/plugins/plugins/secp256k1/runtime/src/lib.rs.
  • motoko_experiments/plugins/plugins/secp256k1/runtime/src/prepared_sign.rs.

Their source hashes are recorded in PROVENANCE.json; the Apache-2.0 license is retained as LICENSE-APACHE. The local wrapper, exact batch-inversion plumbing and benchmark adapter are Apache-2.0.

The complete vendor/k256 tree retains its upstream Apache-2.0/MIT licenses, local exact patch, original archive/commit identity, audit notes and file hashes. The source is RustCrypto k256 0.13.4, upstream commit 5ac8f5d77f11399ff48d87b0554935f6eddda342, with the established plugin patches. Existing secret arithmetic formulas, field kernels and fixed tables remain unchanged. The separate integration patch adds an opaque native affine prepared-table candidate using existing helpers, exports it and removes an empty nested Cargo workspace table; PROVENANCE.json retains both imported and integrated vendor file hashes. It also contains an independently authored, public-only Jacobian verification candidate using the mathematical EFD dbl-2009-l and madd-2004-hmv formulas, with public exceptional-case branches. The new module is local Apache-2.0 OR MIT code, matching the vendor license; no libsecp256k1 C implementation is copied. Formula references and the exact local file hash are recorded in PROVENANCE.json.

The separate public-only generator-window candidate in vendor/k256/src/arithmetic/prepared/window8.rs, its recoder and frozen table are local Apache-2.0 OR MIT code. The table is reproduced by tools/generate_public_window8.py using independently expressed integer affine arithmetic, the existing standard G, and the existing beta endomorphism. No new external implementation or secret-key table is imported.

The local pipeline experiment adds src/arithmetic/prepared/pipeline.rs, adapting the pinned public width-five wNAF recoder under the same Apache-2.0 OR MIT licenses. It writes signed nonzero digits directly into final zeroed rows and reuses the existing GLV split, tables and point formulas. Existing secret arithmetic and the baseline verification method are unchanged.

The fresh-key composition adds src/arithmetic/prepared/fresh.rs under Apache-2.0 OR MIT. It combines the existing signed public recoders, frozen generator tables and public Jacobian accumulator. Narrow private accessors in window8.rs borrow the original table and recoder; no table is duplicated. The raw-key wrapper and matched fresh-cohort adapter are local Apache-2.0 code.

The packed fresh-key workspace adapts the same locally pinned fresh-table factory under Apache-2.0 OR MIT. A safe per-row enum shares preparation and final native-table storage while retaining the same odd multiples, Montgomery field inversion and endomorphism operations. The wrapper retains Apache-2.0 licensing.

The caller-owned public constant-pool experiment adapts the same G16 table, projective identity and five GLV scalar constants into one immutable native object, under the existing Apache-2.0 OR MIT licenses. It changes their storage and borrowing only; it introduces no serialized format or signature-specific preparation. The combined integration patch and hashes cover the arithmetic, pipeline and constant-pool additions together.

crypto-bigint 0.6.1 is a registry dependency under Apache-2.0 OR MIT. Its safegcd implementation credits the Privacy Scaling Explorations Team (2023) and the Apache-2.0/MIT halo2curves implementation. Its exact registry checksum belongs to the workspace lock and build receipt; it is not represented as vendored code.

The BIP340 test-vector file is copied unchanged from the plugin's pinned Bitcoin BIP340 vectors. The BIP340 specification is BSD-2-Clause; its code is offered under BSD-2-Clause OR MIT OR CC0-1.0. The RFC6979 boundary fixtures and saved independent Python oracle corpus are copied from Showtime's Apache-2.0 research with source and rendered-file hashes retained. The CSV rendering of the saved oracle corpus changes no input or expected verdict.

The SIMD128 public-verification experiment adapts the pinned RustCrypto 10x26 field schedule under Apache-2.0 OR MIT. New files are under vendor/k256/src/arithmetic/prepared/simd4/; their exact provenance, unchanged secret-backend hashes and independent native review receipts are recorded in SIMD128-PROVENANCE.json. Four independent field lanes use existing Wasm128 integer instructions. The independent public Jacobian and scheduling code retains Apache-2.0 OR MIT; wrapper/API tests and analysis scripts are local Apache-2.0 code. No AVX source, foreign implementation or new generator table is imported. This is an experimental public verifier, not an audit claim.