Work

Hardware Level Simulations of Fault Detection in RNS Accelerator

Year: 2025
Type: conference-abstract
Abstract: Protection against fault attacks is required in some secure embedded systems. Several recent works deal with strong code protection at execution time. For symmetric cryptography, several fault detection solutions have been adapted from fault tolerance literature to protect the data-path and operations. For asymmetric cryptography based on modular arithmetic over large numbers (RSA, ECC, isogenies), fault detection remains a challenge. Using error correcting codes, triple modular redundancy, or duplication with comparison for large modular arithmetic is considered too costly. The Residue Number System (RNS) is a non-positional representation based on the Chinese Remainder Theorem, where an integer is represented by its residues modulo a set of pairwise coprime moduli. RNS offers a natural parallelism for addition and multiplication of large integers. RRNS uses an additional redundant modulus for fault detection and has been studied in signal processing implementations on small numbers. Theoretically, it allows effective fault detection with a $1/k$ overhead when using $k$ moduli. A few works used RRNS for fault detection in asymmetric cryptography, mainly RSA, but with few details regarding the hardware architecture and the fault model. We work on hardware accelerators for asymmetric cryptography primitives based on large numbers ($200$ to $10\,000$ bits) using RNS representations to benefit from its natural parallelism and fault detection capabilities. We study both arithmetic aspects (representations of numbers, algorithms) and low level architecture aspects. Up to now, there is no result on fault simulations at cycle accurate and bit accurate models in accelerator architectures. We try to complete state-of-art results with such experimental results to help us to select architecture details and parameters, and optimize our algorithms and arithmetic units using an accurate hardware model. We use the model of acomplete RNS accelerator with registers, functional units and internal memories. In this preliminary work, our accelerator model is complete but does not include pipeline registers to reduce the clock period (this is a future work). We performed intensive simulations for multiple faults models (mono vs multi-bit, stuck-at, bit-flip) in one or several registers of the accelerator. Our simulations confirm the high fault detection rate expected at theoretical level.
Source: HAL
Language: English
Open Access status: green
OpenAlex ID: W7206417853
Cites:
Cited by:
Related to: 10