面向商用Cortex-M微控制器的高效且实现加固的RBLWE Efficient and Implementation-Hardened RBLWE on Commodity Cortex-M Microcontrollers 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-06
⬇️ 3 次下载
👁️ 预览文献
💡 AI 中文简介
本研究在商用ARM Cortex-M33微控制器上实现了高效且抗攻击的RBLWE后量子加密。通过SIMD指令并行处理多项式系数和硬件真随机数源,密钥生成、加密和解密速度比基线分别提升4.06倍、3.35倍和3.01倍。同时采用恒定时间执行、故障防护、FO变换和掩码解密四层防护,并量化各层开销,为物联网设备提供了可复用的安全加速方案。
领域后量子密码学在物联网设备上的高效安全实现
适合谁读需要一定专业背景(密码学、嵌入式系统)
核心贡献1. 利用SIMD指令和硬件TRNG实现RBLWE在Cortex-M33上的高效加速;2. 提出四层渐进式防护并量化开销,发现并修复编译器引入的掩码缺陷。
关键数据密钥生成、加密、解密相比标量基线加速4.06倍、3.35倍、3.01倍;相比Cortex-M0参考实现,加密和解密周期数降低3.52倍和3.18倍。
推荐理由如果你关注物联网设备上的后量子密码安全落地,这篇工作给出了从加速到防护的完整实践指南,数据扎实,值得一读。
关键词["后量子密码", "RBLWE", "Cortex-M微控制器", "SIMD加速", "故障注入防护", "掩码解密"]

原文摘要

查看英文原文摘要

Efficient post-quantum cryptography on resource-constrained Internet-of-Things (IoT) devices requires implementations that exploit the target processor architecture while resisting practical implementation attacks. This paper presents an ISA-accelerated and implementation-hardened realization of Ring Binary Learning with Errors (RBLWE) encryption on a commodity ARM Cortex-M33 microcontroller. Packing four 8-bit polynomial coefficients into the byte lanes of a 32-bit register and processing them with SIMD-style instructions, together with a packed message codec, accelerates encryption and decryption, while a buffered hardware-TRNG entropy source drawn from the on-die Secure Element drives the key-generation gain. Together these give same-core cold-start speedups of $4.06\times$, $3.35\times$, and $3.01\times$ for key generation, encryption, and decryption over a scalar baseline, and $3.52\times$/$3.18\times$ lower encryption/decryption cycle counts than a reference Cortex-M0 implementation. On top of this accelerated core, we add four staged countermeasures: constant-time execution, fault hardening against zeroing, random-corruption, and instruction-skip faults, a Fujisaki-Okamoto (FO)-style CCA2 transform, and first-order shared (masked) CPA decryption, reporting each layer's cost individually. Binary-level inspection confirms these countermeasures survive compilation and identifies a compiler-induced masking flaw resolved with a hand-written assembly replacement. Dudect-style timing tests, debugger-assisted fault-injection campaigns, and component-level TVLA then provide implementation-level evidence for the staged protections. The results demonstrate a practical acceleration-security tradeoff for RBLWE on off-the-shelf microcontrollers and reusable architecture-aware techniques for lightweight post-quantum implementations.