State-wise formal verification avoids false positives in HLS-generated masked hardware
MaskedHLSVerif correctly verifies HLS-generated masked RTL and detects masking flaws missed by existing tools
Security & privacy arXiv 19 Mar 2026 Method Prototype evidence
Published as “Controller Datapath Aware Verification of Masked Hardware Generated via High Level Synthesis”
Why it matters
Designers can rely on HLS to generate masked hardware while using MaskedHLSVerif to ensure PSCA security and to catch subtle optimization-induced leaks before silicon.
Summary
MaskedHLSVerif can formally verify HLS-generated masked hardware without the false positives that plague existing tools, and it can also detect masking flaws introduced by HLS optimizations. The authors evaluated six cryptographic benchmarks (DOM, COMAR, HPC1, HPC2, PRESENT-DOM, PRESENT-HPC1) each split into 2-4 FSM states, and TVLA measurements on up to ten million traces confirmed first-order security of the designs. Evidence is based on comparisons with the REBECCA tool and standard TVLA analysis, but the study is limited to these six designs.
What they found 3
- MaskedHLSVerif successfully verifies HLS-generated RTL that REBECCA flags as insecure.
“The results shows that MaskedHLSVerif can formally verify the HLS-generated RTL using Vitis HLS which registered false positives on REBECCA.”
- All six designs pass standard TVLA first-order leakage tests.
“Across up to ten million traces with fixed and random plaintexts, all designs exhibited t-test values within the ±4.5 threshold, confirming first-order security.”
- The flow detects a masking flaw caused by HLS expression-balancing reassociation.
“we can see that the first state passes the verification but the second state fails the verification. This was caused due to the flaw due to re-association caused pragma expression balancing ON, which our verification flow correctly catches as a masking flaw.”
What’s new here 4
- State-aware verification that abstracts only the active datapath per FSM state.
- Integration with existing SOTA verification (REBECCA) to eliminate false positives caused by unreachable MUX inputs.
- Ability to catch masking flaws caused by HLS optimizations such as expression-balancing reassociation.
- Demonstrated on multiple masked cryptographic designs generated by Vitis HLS.