aere-research/pq-finality-circuit/xmss-verify-core/src/vectors.rs
Aere Network 6cb0140fae Republished from a clean root: the compiled artifact is gone from history, and the local line of work joins the sanitized public line
The public history carried kat/__pycache__/mlkem768_reference.cpython-314.pyc,
a compiled Python artifact embedding the operator's absolute local path. Text
secret scanners do not read compiled binaries, which is exactly how it slipped
through, and removing it from the tip would have left it reachable through the
old root commits. So this repository is republished from a single clean root.

This root also carries, from the previously unpublished line of work:
- corrected LICENSE year, LICENSING.md, VERIFY-POLICY.md, and
  CITATIONS-UNRESOLVED.md remeasured 2026-08-11 (101 paths, README aligned)
- O-018: run_consensus_verification.py ran 19 of 29 models and reported PASS;
  it now runs all 29, and computemarket_smt.py gains resolveByTimeout /
  reclaimUnsettled cases plus a negative control
- O-006: the word 'audited' removed from next to Bouncy Castle, twice, after a
  concurrent edit resurrected it
- O-014: prior art named and dated - Algorand's native falcon_verify shipped
  about ten months before AERE's precompiles; the primacy claim is withdrawn
  where it was implied
- bench/ scripts parametrized so they actually run for an outsider (the
  earlier textual sanitization left $STAGING unexpanded inside Python strings)
- AIP-2/AIP-3 errata with measured figures, spec remeasurements at 2026-08-01,
  and the spec-zk-stack retractions (owner is an operational key, not the
  Foundation; 'maximally sound' withdrawn; aggregator V1 deprecated)
The redacted bench-host environment files from the sanitized line are kept
exactly as published; the unredacted local variants are not carried.
2026-08-15 13:52:14 +03:00

121 lines
17 KiB
Rust

// GENERATED by scripts/gen_vectors.mjs from the OFFICIAL committed KAT
// aerenew/contracts/test/fixtures/xmss-sha2_10_256-kat.json
// Source: github.com/XMSS/xmss-reference @171ccbd26f098542a67eb5d2b128281c80bd71a6, deterministic test/vectors.c vectors_xmss(oid=1,mt=0): seed[i]=i, idx=2^(h-1)=512, msg=0x25
// Do NOT edit by hand: re-run `node scripts/gen_vectors.mjs`.
//
// RFC 8391 XMSS-SHA2_10_256 (OID 0x00000001): n=32, w=16, len=67, h=10, SHA-256.
// This is the same official reference vector the on-chain AereXmssVerifier.sol and
// its independent JS oracle (contracts/test/xmssVerifier.test.js) are validated with.
use crate::{Hash, XmssPubKey, XmssSig, H, LEN};
/// Long-term XMSS public root (first 32 bytes of the XMSS public key).
pub const PUB_ROOT: Hash = [0x9d, 0x89, 0x80, 0x33, 0xe3, 0x7a, 0xf4, 0x8e, 0x6a, 0x11, 0x6f, 0x8b, 0x15, 0x65, 0x1c, 0xc2, 0x67, 0x73, 0x46, 0x70, 0x07, 0xad, 0x19, 0x37, 0x5d, 0x38, 0xc2, 0x3c, 0x69, 0x0c, 0x34, 0x83];
/// XMSS public SEED (last 32 bytes of the XMSS public key).
pub const PUB_SEED: Hash = [0x40, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, 0x48, 0x49, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, 0x51, 0x52, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, 0x59, 0x5a, 0x5b, 0x5c, 0x5d, 0x5e, 0x5f];
/// Leaf index used by the signer for this signature.
pub const IDX: u32 = 512;
/// Per-signature randomizer R (from the signature).
pub const R: Hash = [0x8f, 0xf0, 0x30, 0x0b, 0xe4, 0x85, 0xde, 0xa7, 0xe5, 0xae, 0x2c, 0x56, 0x08, 0x03, 0x02, 0xfe, 0xbc, 0x91, 0xb4, 0x13, 0x18, 0xc5, 0x04, 0xf8, 0x95, 0xba, 0xab, 0x0b, 0x06, 0x89, 0x68, 0xf2];
/// The signed message bytes.
pub const MSG: [u8; 1] = [0x25];
/// The 67 WOTS+ one-time-signature chain values.
pub const WOTS: [Hash; LEN] = [
[0x22, 0xe5, 0xdd, 0x2e, 0x12, 0x05, 0x38, 0xcb, 0x72, 0xd1, 0x12, 0x67, 0xec, 0xf5, 0x5f, 0x62, 0x89, 0x7c, 0xb6, 0x41, 0x64, 0x33, 0x10, 0xf0, 0x39, 0xbe, 0x97, 0x57, 0xc5, 0xfa, 0x9d, 0x80],
[0xf7, 0x18, 0x84, 0xe3, 0x24, 0x47, 0xba, 0x71, 0x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, 0xee, 0x6e, 0x52, 0x9c, 0xd3, 0x96, 0x1b, 0x5b, 0xfe, 0xbc, 0xc8, 0x7c, 0xe1, 0x1a, 0x70, 0x84, 0x30, 0xc2, 0x74],
[0xce, 0xd6, 0x08, 0xd1, 0x79, 0x0b, 0x7d, 0x51, 0xbd, 0x66, 0x1e, 0x42, 0x1c, 0xba, 0x67, 0xfc, 0x20, 0xc4, 0xaf, 0x6c, 0xeb, 0xf1, 0x9a, 0x3a, 0xc9, 0x8d, 0xcf, 0x46, 0x74, 0x1f, 0xe0, 0x73],
[0x05, 0x85, 0x0e, 0xaa, 0x75, 0x10, 0x3f, 0xb1, 0xc8, 0x63, 0x50, 0x07, 0x58, 0xbc, 0x37, 0x6d, 0xb0, 0x6f, 0x29, 0x2a, 0x6e, 0x55, 0x6c, 0x9a, 0xc2, 0xa1, 0xc6, 0x13, 0x47, 0xe7, 0xd8, 0x83],
];
/// The h = 10 Merkle authentication-path nodes.
pub const AUTH: [Hash; H] = [
[0x5f, 0x13, 0x2f, 0x05, 0x9c, 0x3a, 0xbc, 0x25, 0x86, 0x8b, 0xd9, 0xb7, 0x5d, 0x80, 0xb9, 0x5e, 0xef, 0x2f, 0x31, 0x56, 0x67, 0xd7, 0xd6, 0xe2, 0x60, 0x45, 0xcc, 0xf4, 0x87, 0x78, 0x05, 0x52],
[0xa2, 0x4b, 0x35, 0xc5, 0x62, 0x50, 0x5f, 0x07, 0x43, 0xf6, 0xf0, 0x89, 0xf8, 0x80, 0xe3, 0x5c, 0xca, 0x8b, 0x7e, 0x9c, 0xb8, 0x49, 0x67, 0x0b, 0x1c, 0xf0, 0x6a, 0xa5, 0x75, 0x9c, 0x57, 0x3a],
[0x0a, 0xea, 0xab, 0x6c, 0xa8, 0x93, 0x46, 0x0a, 0x7e, 0xa1, 0x55, 0x66, 0x94, 0xc6, 0x95, 0x14, 0x24, 0xfa, 0x6b, 0x42, 0xc5, 0x16, 0x36, 0x9c, 0xc9, 0x65, 0x8b, 0x81, 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 0xb3, 0xdf, 0x85, 0x68, 0x6b, 0x53, 0xc6, 0x23, 0xb6, 0x40, 0xe3, 0x17, 0x5b],
[0xcb, 0x84, 0x95, 0x9b, 0x6d, 0x1e, 0x46, 0x95, 0x5e, 0x18, 0xbc, 0x5c, 0xf2, 0x7d, 0x5f, 0xe1, 0x3f, 0x72, 0x58, 0x9a, 0x39, 0x5e, 0x1e, 0xe0, 0x1e, 0xb9, 0x98, 0x3d, 0x5c, 0xe3, 0xe0, 0x4b],
];
/// The official reference public key as a [`XmssPubKey`].
pub fn official_pubkey() -> XmssPubKey {
XmssPubKey { root: PUB_ROOT, seed: PUB_SEED }
}
/// The official reference signature as a [`XmssSig`].
pub fn official_sig() -> XmssSig {
XmssSig { idx: IDX, r: R, wots: WOTS, auth: AUTH }
}