Cryptocurrency blockchain networks safeguard digital assets using cryptographic keys, with wallets playing a critical role in generating, storing, and managing these keys. Wallets, typically categorized as hot and cold, offer varying degrees of security and convenience. However, they are generally software-based applications running on microcontrollers. Consequently, they are vulnerable to malware and side-channel attacks, allowing perpetrators to extract private keys by targeting critical algorithms, such as ECC, which processes private keys to generate public keys and authorize transactions. To address these issues, this work presents EthVault, the first hardware architecture for an Ethereum hierarchically deterministic cold wallet, featuring hardware implementations of key algorithms for secure key generation. Also, an ECC architecture resilient to side-channel and timing attacks is proposed. Moreover, an architecture of the child key derivation function, a fundamental component of cryptocurrency wallets, is proposed. The design minimizes resource usage, meeting market demand for small, portable cryptocurrency wallets. FPGA implementation results validate the feasibility of the proposed approach. The ECC architecture exhibits uniform execution behavior across varying inputs, while the complete design utilizes only 27%, 7%, and 6% of LUTs, registers, and RAM blocks, respectively, on a Xilinx Zynq UltraScale+ FPGA
翻译:加密货币区块链网络通过加密密钥保护数字资产,而钱包在生成、存储和管理这些密钥中扮演着关键角色。钱包通常分为热钱包和冷钱包,提供不同级别的安全性与便利性。然而,它们通常是运行在微控制器上的软件应用程序,因此易受恶意软件和侧信道攻击的威胁,攻击者可通过针对关键算法(如处理私钥以生成公钥并授权交易的椭圆曲线密码学)来提取私钥。为解决这些问题,本研究提出了EthVault,这是首个用于以太坊分层确定性冷钱包的硬件架构,其特点是通过硬件实现关键算法以确保安全的密钥生成。同时,提出了一种能够抵御侧信道攻击和时序攻击的椭圆曲线密码学架构。此外,还设计了子密钥派生函数的架构,这是加密货币钱包的核心组成部分。该设计最大限度地减少了资源使用,满足了市场对小型便携式加密货币钱包的需求。FPGA实现结果验证了所提方法的可行性。椭圆曲线密码学架构在不同输入下表现出均匀的执行行为,而完整设计在Xilinx Zynq UltraScale+ FPGA上仅分别使用了27%的查找表、7%的寄存器和6%的RAM块。