{"slug": "zirah-a-post-quantum-true-random-number-generator-hardware-signer", "title": "Zirah: A Post-Quantum True Random Number Generator Hardware Signer", "summary": "A paper submitted on 5 Nov 2026 by Muhammad Shaheer Bin Junaid describes Zirah, an STM32F407-based hardware signer that generates random bits from a reverse-biased 2N3904 junction in avalanche breakdown and computes ML-DSA-65 (FIPS 204, hedged) signatures with two-share arithmetic masking, completing a full signing operation in under 0.8 s at 168 MHz. NIST's SP 800-90B tool rejected the IID assumption across 1,000,000 raw samples and assessed 6.898 bits of min-entropy per byte on the non-IID track, against the 1 bit the firmware credits, while spectral lines near 116 Hz holding about 5% of the variance remain unexplained. The paper reports that the ATECC608 secure element cannot store the 4,032-byte ML-DSA-65 key, which sits in ordinary flash behind readout protection, and that on an earlier board before that protection was enabled a debugger copied the key out and produced a valid ML-DSA-65 signature without the device.", "body_md": "# Computer Science > Cryptography and Security\n\n  [Submitted on 5 Nov 2026]\n\n# Title:Zirah: A Post-Quantum True Random Number Generator Hardware Signer With an Avalanche Noise\n\n[View PDF](https://arxiv.org/pdf/2611.08200)\n\nAbstract:Zirah is a hardware signer built around an STM32F407 microcontroller, and its purpose is to find out, on inexpensive hardware, where a post-quantum signing key is exposed and what actually protects it. The device draws every random bit from a reverse-biased 2N3904 junction in avalanche breakdown, amplified by an LM358 and screened by SP 800-90B health tests, computes ML-DSA-65 (FIPS 204, hedged) on the STM32 with two-share arithmetic masking of the secret-key multiplications, and adds ECDSA P-256 from an ATECC608 secure element over the same digest, once a person has matched an eight-digit digest prefix on its OLED with the PC and pressed a button. A desktop application and a command-line tool drive the board and verify its output, and because only a 32-byte manifest digest reaches the device, it signs files of any type and size, returning signed copies for PDF, Office Open XML, ZIP, PNG and JPEG files and detached records for every other format. NIST's SP 800-90B tool rejected the IID assumption for 1,000,000 raw samples and assessed 6.898 bits of min-entropy per byte on the non-IID track, against the 1 bit the firmware credits, while spectral lines near 116 Hz that hold about 5 % of the variance remain unexplained. At 168 MHz the masked signature took a median of 157 ms over 20 runs and a complete signing operation under 0.8 s, and the signer matched the pq-crystals reference in 1,976 checks natively and on an emulated Cortex-M4. The ATECC608 can neither store the 4,032-byte ML-DSA-65 key nor compute with it, so that key sits in ordinary flash behind readout protection, and on an earlier board, before that protection was enabled, a debugger copied it out and the copy produced a valid ML-DSA-65 signature without the device, although the leakage results come from an instruction-level emulator and nothing here is certified.\n    \n\n## Submission history\n\nFrom: Muhammad Shaheer Bin Junaid [\n[view email](https://arxiv.org/show-email/06f7429e/2611.08200)]\n\n**[v1]** Thu, 5 Nov 2026 15:54:05 UTC (17,714 KB)\n\n### Additional Features\n\n### References & Citations\n\nLoading...\n\n# Bibliographic and Citation Tools\n\nBibliographic Explorer \n\n*(*[What is the Explorer?](https://info.arxiv.org/labs/showcase.html#arxiv-bibliographic-explorer))\nConnected Papers \n\n*(*[What is Connected Papers?](https://www.connectedpapers.com/about))\nLitmaps \n\n*(*[What is Litmaps?](https://www.litmaps.co/))\nscite Smart Citations \n\n*(*[What are Smart Citations?](https://www.scite.ai/))\n# Code, Data and Media Associated with this Article\n\nalphaXiv \n\n*(*[What is alphaXiv?](https://alphaxiv.org/))\nCatalyzeX Code Finder for Papers \n\n*(*[What is CatalyzeX?](https://www.catalyzex.com))\nDagsHub \n\n*(*[What is DagsHub?](https://dagshub.com/))\nGotit.pub \n\n*(*[What is GotitPub?](http://gotit.pub/faq))\nHugging Face \n\n*(*[What is Huggingface?](https://huggingface.co/huggingface))\nScienceCast \n\n*(*[What is ScienceCast?](https://sciencecast.org/welcome))\n# Demos\n\n# Recommenders and Search Tools\n\nInfluence Flower \n\n*(*[What are Influence Flowers?](https://influencemap.cmlab.dev/))\nCORE Recommender \n\n*(*[What is CORE?](https://core.ac.uk/services/recommender))\n# arXivLabs: experimental projects with community collaborators\n\narXivLabs is a framework that allows collaborators to develop and share new arXiv features directly on our website.\n\nBoth individuals and organizations that work with arXivLabs have embraced and accepted our values of openness, community, excellence, and user data privacy. arXiv is committed to these values and only works with partners that adhere to them.\n\nHave an idea for a project that will add value for arXiv's community? [**Learn more about arXivLabs**](https://info.arxiv.org/labs/index.html).", "url": "https://wpnews.pro/news/zirah-a-post-quantum-true-random-number-generator-hardware-signer", "canonical_source": "https://arxiv.org/abs/2611.08200", "published_at": "2026-12-01 10:55:53+00:00", "updated_at": "2026-12-01 11:16:31.282278+00:00", "lang": "en", "topics": ["artificial-intelligence", "ai-safety"], "entities": ["Zirah", "STM32F407", "ML-DSA-65", "FIPS 204", "NIST SP 800-90B", "ATECC608", "Muhammad Shaheer Bin Junaid", "ECDSA P-256"], "also_reported_by": [], "takeaway": "NIST's SP 800-90B non-IID assessment credited the avalanche-noise source with 6.898 bits of min-entropy per byte versus the 1 bit the firmware assumes, and the masked ML-DSA-65 signature took a median of 157 ms over 20 runs at 168 MHz.", "recommendation": null, "alternates": {"html": "https://wpnews.pro/news/zirah-a-post-quantum-true-random-number-generator-hardware-signer", "markdown": "https://wpnews.pro/news/zirah-a-post-quantum-true-random-number-generator-hardware-signer.md", "text": "https://wpnews.pro/news/zirah-a-post-quantum-true-random-number-generator-hardware-signer.txt", "jsonld": "https://wpnews.pro/news/zirah-a-post-quantum-true-random-number-generator-hardware-signer.jsonld"}}