A bounded model checker proves the small decision functions in the lab's access-point code match their specifications, up to a size bound set in its test harness
All 4 decision functions under proof match their specifications for every input within the checker's bound, and a deliberately broken comparison fails the check.
An access point that adds quantum-resistant sign-in needs small pieces of decision code: compare two secrets in constant time, accept a token once, refuse an oversized message. The lab checked these pieces with CBMC, a bounded model checker that tries every input up to a size limit, against a plain specification of what each one must do.
What it shows
Each decision function is short and has a plain specification: for example, a comparison must say two byte strings are equal exactly when they are. CBMC explores every input up to a stated size and either proves the function matches its specification or produces an input where it does not. For each function here it found no such input.
Why it matters, and to whom
This is for engineers who would add the lab's checks to a real access point. These functions are where a single slip, such as comparing only part of a secret, turns into an attack. A bounded proof rules out such slips for every input within its limit.
How it was checked
The lab tested the check by breaking it on purpose. It changed the constant-time comparison so that it looked only at the first byte. The checker found an input on which the broken comparison was wrong, and the check failed, as it should.
What it does not claim
- It does not claim a proof for inputs of every size. The checker works up to its bound.
- It does not claim the full access-point program is proved. Fitting this code into hostapd is recorded by the lab as work not yet done.
- It does not claim anything about the message-authentication function itself, which the proof treats as a black box.
How to reproduce it
The evidence file names the command and the commit of the lab's code. A stronger test would raise the bound, and prove the same functions once they are inside the access-point program.
Prior art
- CBMC, the C bounded model checker: the checker used, which explores every execution up to a bound
- hostapd: the open-source access-point program this decision code is written to fit into
Evidence
- The evidence file for this result
- The published claim, with its limits
- All our published files, each with a fingerprint you can check
Related results across the group
- A proof that, in the lab's model of an access point running its admission module, sign-in memory stays bounded however many devices connect
- The chip netlist whose area and delay are published matches its design: a formal equivalence proof
- A proof that a receiver keeping only a counter cannot accept every fresh message exactly once, and a build that behaves as the proof says