fuzz: pass the 4th bootstrap arg (hybrid ML-KEM peer key) #201
Loading…
Reference in a new issue
No description provided.
Delete branch "wt/t_a866e490"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Summary
RatchetState::bootstrapgainedremote_kem_pub: Option<&[u8]>inb22abd7(PR #185). The fuzz target still called it with 3 args, socargo +nightly fuzz buildhas failed every night since 2026-10-20 (nightly runs 828, 817, 806, 800, 798, 790, 774).Nonefor a classical friend, andSome(pk)for a hybrid friend, wherepkis a real ML-KEM-768 encapsulation key ofonionwire::kem::PK_LEN(1184) bytes derived once from a fixed 64-byte seed viakem::pk_from_seed. No length is hardcoded; the length is asserted againstkem::PK_LEN.to_bytes() == before).Scope
Only
fuzz/changes.git diff --stat -- src crates tests Cargo.toml Cargo.lockis empty.Verification (local)
cargo +nightly fuzz build— all four bins build clean (5m11s cold).FUZZ_SECS=15 FUZZ_JOBS=2 bash scripts/run-fuzz.sh— all four targets survived,oom/timeout/crash: 0/0/0.cargo +nightly fuzz run ratchet_frame -- -runs=200— 200 runs, exit 0, no crash.A green
fuzzdispatch on mergedmainfollows.