Avalanche-noise TRNG provides only 6.9 bits/byte min-entropy, exposing PQ signing key
The Zirah hardware signer’s random source yields far less entropy than claimed, leaving the post-quantum key exposed
Systems arXiv 5 Nov 2026 Measurement Prototype evidence
Published as “Zirah: A Post-Quantum True Random Number Generator Hardware Signer With an Avalanche Noise”
Why it matters
The work shows that low-cost microcontroller hardware can feasibly generate hybrid post-quantum and classical signatures, informing early design of secure update mechanisms during the PQ transition.
Summary
Zirah demonstrates a hybrid hardware signer that can produce ML-DSA-65 and ECDSA-P-256 signatures in under a second on a single STM32F407 board, with the masked ML-DSA implementation matching the reference byte-for-byte. The on-board avalanche-noise TRNG was assessed to provide about 6.898 bits of min-entropy per 8-bit symbol, though the samples are correlated and contain unexplained spectral lines. The prototype is a single board, with side-channel resistance only evaluated in emulation, and the post-quantum key is protected only by read-out protection level 1. Evidence is limited to one device, one measurement session, and no independent certification.
What they found 3
- The avalanche-noise source provides an assessed min-entropy of 6.898 bits per 8-bit symbol.
“the assessed min-entropy is H =min (H original,8× H bitstring)=min (7.059,6.898)=6.898 bits per symbol.”
- The masked ML-DSA-65 signer produces byte-identical signatures to the reference implementation.
“The masked signer produced the same bytes as the reference in every case tested.”
- Masked signature generation on the board has a median runtime of 157.4 ms.
“Masked signature (ms) 57.8 157.4 519.8 217.5”
Caveats 8
- The entropy source samples are correlated (autocorrelation 0.096 at lag 1) and contain spectral lines accounting for about 5% of variance, violating IID assumptions.
- Masking is partial: only products with s1 and s2 are masked, leaving y unmasked, so recovery of y reveals s1.
- Side-channel leakage evidence is derived from emulated Cortex-M0/M3 cores, not from measurements on the actual Cortex-M4 device.
- Timing leakage evidence comes from an x86 build, not from the hardware, and no power or EM measurements were performed.
- The masking is partial. Only the products with s1 and s2 are masked, y and its generation are not, and an attacker who recovers y recovers s1.
- The leakage evidence comes from an emulator of Cortex-M0 and Cortex-M3 cores rather than from the Cortex-M4 in the device, and the timing evidence comes from an x86 build, so no power, electromagnetic or fault measurement was made on the board and nothing here supports a claim that Zirah resists side-channel or fault attacks.
- The entropy results describe one board, one transistor, one session and one supply. The restart tests were not run, the data were captured in blocks with gaps between them, the samples are correlated, and about 5 % of the variance sits in spectral lines of unknown origin.
- The post-quantum key is protected at rest only by readout protection level 1, which has been defeated on other STM32 families and which was not tested against an attacker in this work.
What’s new here 4
- First hardware prototype that combines post-quantum ML-DSA-65 signing with a classical ECDSA-P-256 signature on the same device.
- Implements a discrete avalanche-noise true random number generator evaluated with NIST SP 800-90B on a real board.
- Provides a masked ML-DSA-65 implementation that stays byte-identical to the reference while using two-pass share refresh.
- Releases all firmware, host software, circuit schematics, raw entropy captures, and assessment data as open artifacts.