Zeppelin:面向Helium加速微控制器的客户端BFV加解密方案 Zeppelin: Client-Side BFV Encryption and Decryption for Helium-Powered Microcontrollers 预印本

⚠️ 本文为 预印本(arXiv 公开版本),尚未经过正式同行评审。作者自发公开,结论未经期刊审稿验证,阅读时请知悉。
发布时间:2026-10-06
👁️ 预览文献
💡 AI 中文简介
物联网设备采集的数据隐私令人担忧,同态加密能让设备加密数据后由云端直接计算而无需解密。但传统同态加密对微控制器来说太重。此前SEAL-Embedded用CKKS实现了可行性,但存在三个不足:未利用向量指令、不支持设备端解密、未探索BFV方案。Zeppelin首次在嵌入式设备上利用ARM Helium向量指令加速数论变换,并实现了BFV的加解密。在STM32N6微控制器上,加密4096个数值仅需4.76毫秒,解密需5.38毫秒,内存占用不到500KB,向量化后数论变换速度提升约2.7倍。
领域物联网安全与同态加密
适合谁读需要一定专业背景(了解同态加密和嵌入式系统)
核心贡献首次在微控制器上实现BFV同态加密的完整加解密流程,并首次利用ARM Helium向量指令集加速数论变换,解密过程避免大整数运算和密钥时序泄漏。
关键数据在STM32N6(Cortex-M55)上,加密4096个打包值耗时4.76毫秒,解密耗时5.38毫秒,内存占用低于500KB,向量化数论变换比标量实现快约2.7倍。
推荐理由如果你关心物联网设备如何在不泄露数据的前提下使用云端算力,这篇论文给出了一个在廉价微控制器上跑通同态加密加解密的实用方案。
关键词["同态加密", "BFV方案", "微控制器", "ARM Helium", "数论变换", "物联网安全"]

原文摘要

查看英文原文摘要

The growth of the Internet of Things (IoT) has raised concerns over the privacy of data collected by resource-constrained sensing devices. Homomorphic encryption (HE) addresses this by letting a device encrypt its data once and an untrusted cloud server compute on the ciphertext without seeing the values. In practice, HE's memory and computational cost have kept it out of reach of microcontroller-class devices. Prior work, SEAL-Embedded, made this feasible using CKKS, but left three gaps: its arithmetic is entirely scalar, even on hardware with a vector instruction set; it never decrypts on the device, so the client cannot consume a result; and it does not explore BFV, whose encoding uses only integer arithmetic and decrypts exactly. We present Zeppelin, the first HE library to use an embedded vector instruction set, the first to support both encryption and decryption on an embedded device, and the first BFV implementation on MCU-class hardware. Zeppelin vectorizes the number-theoretic transform, HE's main bottleneck, for ARM's Helium extension, and includes a decryption procedure that avoids large-integer arithmetic and timing leakage of the secret key. A server-side adapter converts Zeppelin's ciphertexts into a format compatible with Microsoft SEAL, so the device handles encryption and decryption while the server performs all homomorphic computation. On an STM32N6 MCU with an ARM Cortex-M55, Zeppelin encodes and encrypts 4096 packed values in 4.76 ms (seeded symmetric, 128-bit security per the HE standard) and decrypts and decodes the result in 5.38 ms, using under 500 KB of RAM, with the vectorized NTT engine ${\sim}2.7\times$ faster than an equivalent scalar implementation on the same core.