Artifacts
PRISM: Open-source Platform for Reproducible Side-channel Leakage Assessment of PQC

PRISM is an open-source post-quantum cryptography silicon reference: a unified RISC-V coprocessor that runs ML-KEM-1024 and ML-DSA-44 in unmasked and first-order DOM-masked configurations across an open FPGA backend and an open-PDK ASIC backend. The 38-instruction CV-X-IF coprocessor sits on a CV32E40X RV32IMC SoC. The open FPGA flow (Yosys + nextpnr-xilinx + Project X-Ray) targets a XC7A35T at 20 MHz. All configurations pass the FIPS-203/204 KAT tests. Our objective is to achieve reproducible power side-channel leakage assessment in support of the ongoing transition to post-quantum standards, which must be completed within the next few years.

PRISM is released on GitHub. There is also a presentation at the OSCAR 2026 Workshop (2026 Open Source Computer Architecture Research workshop) describing the design and its initial performance and security evaluation.
Further Reading
- D. Shanmugam, P. Schaumont, “Open-Source Reference for Reproducible Side-Channel Assessment of Post-Quantum Standards,” Open Source Computer Architecture Research (OSCAR) Workshop, Raleigh, NC, June 2026.
CAPRI1: A smaller ASIC for fault root-causing

We implemented a single-processor chip containing a CVE2 RISCV using the design principles of CAPRI6 (see below). We can observe the true impact of fault injection on hardware and software. The RTL is based on the Croc SoC design developed by ETHZ. The PCB was developed by Kyle Mitard.
Further Reading
D. Shanmugam, Z. Liu, P. Schaumont, “Hierarchical EMFI Analysis on a RISC-V SoC,” European Test Symposium, Chania, Greece, May 2026.
D. Shanmugam, P. Schaumont, “Fault Analysis of Microscaling Formats on a RISC-V SoC,” Great Lakes Symposium on VLSI, Finger Lakes, NY, June 2026.
D. Shanmugam, P. Schaumont, “Security Analysis of Microscaling Formats Under Fault Injection on a RISC-V Edge Platform,” Artificial Intelligence in Hardware Security Workshop, Stony Brook, NY, June 2026.
D. Shanmugam, Z. Liu, A. Malnicof and P. Schaumont, “μScan: Deep Learning Detection of Faulty Micro-architecture States and Patterns from Scan-Chain Data,” 6th workshop on Artificial Intelligence in Hardware Security, June 2025, Munich. [doi]
CAPRI6: An ASIC for fault root-causing

Root-cause analysis of faults at the level of software is difficult because of the large number of abstraction levels that obfuscate the root cause of the fault effect. In particular, after a fault injection, the hardware behavior transforms from a sane machine into a weird machine, potentially changing the meaning of the software or even the instructions. The fault effect therefore becomes hard to understand, as the behavior of the hardware is no longer consistent with the original design. We developed an ASIC to help us study this problem and to define a methodology towards better root causing. The fault root causing methodology has applications in testing cryptographic protocols, fault countermeasures and potentially the hard problem of silent data corruption.
The problem of tracking the Weird Machine
In the experimental work that supports fault attack assessments, there are two schools of practice commonly found. In the first case, a designer uses simulation to trace the effect of a fault and decide, for example, if the fault results in information leakage or privilege escalation. In the second case, a designer uses physical fault injection on a prototype by means of clock/voltage glitching, EM injection or laser injection. From these experiments the designer then tries to deduce if information leakage can occur. But both these techniques fail to address the problem of fault attack assessment in depth. In the case of simulation, designers are forced to choose a fault model (such as random bit flip) which may or may not occur in practice. Hence, the assessment is done on the simulation under an artificial fault model, rather than on the actual artifact under an actual fault stressor. In the case of experimental fault attack, the observability of the fault response is limited to cases such as no faulty output, faulty output and no response. As a result, the fault assessment is probabilistic and fails to explain the true impact of the fault stressor in the architecture under test.
Recent research into the deeper nature of fault injection response of digital hardware has led to the definition of the weird machine (cfr Thomas Dullien, 2020). When software executes on non-faulty hardware, the resulting set of hardware states make up the sane machine: the software runs under the correct implementation of the instruction-set architecture. After a fault injection, it’s possible that the hardware reaches a state that may be unreachable from the sane machine. The weird machine is gigantic and unknown, and the fault response cannot be explained from software alone. For example, a bit flip could change an instruction operand, an instruction opcode, or even the meaning of an instruction opcode. Yet, understanding the rules of the weird machine is essential to correctly evaluate the fault response of a design under test. For example, if a software program shows no faulty output after a fault injection, does that really mean that no future execution of the software could suddenly turn out a faulty output? Or that will crash the program?
CAPRI6: A chip that can track the Weird Machine

CAPRI6 is a chip that aims to resolve the difficulty of tracking the weird machine. The chip contains a network of six identically configured MSP-430 microcontrollers that execute a software program in lockstep. Through an on-chip communication network, they verify in a distributed manner that all copies of a test program are correctly executing. Each core can raise a redundantly implemented exception, which will halt execution of all cores. We then scan out the full ASIC state through a scan chain. The key insight of CAPRI6 is to explain the root cause of a low-level hardware fault by redundantly detecting the fault in software and analyzing the post-fault hardware state at regular intervals between fault injection and fault detection. CAPRI6 is realized in a TSMC 180nm standard cell technology with on-chip memory, full-scan and an I2C programming interface. CAPRI6 also contains on-chip sensors to monitor the electrical integrity of the chip.
The following figure is an example visualization of fault propagation into the flip-flops of the CAPRI6 cores. Clearly, not every core is affected in the same manner of a clock glitch. Some cores, such as the upper right core, fails early and disastrously, while others such as the upper right core, redundantly detects the fault and halts the systems’ execution.

Further Reading
D. Shanmugam, Z. Liu, P. Schaumont, “Hierarchical EMFI Analysis on a RISC-V SoC,” European Test Symposium, Chania, Greece, May 2026.
Z. Liu, D. Shanmugam, P. Schaumont, “GlitchGlück: Enabling Software Vulnerabilities through Guided Hardware Fault Injection,” 19th USENIX WOOT Conference on Offensive Technologies (WOOT ’25), August 2025, Seattle, Washington.[article] [slides] [artifact]
D. Shanmugam, Z. Liu, A. Malnicof and P. Schaumont, “μScan: Deep Learning Detection of Faulty Micro-architecture States and Patterns from Scan-Chain Data,” 6th workshop on Artificial Intelligence in Hardware Security, June 2025, Munich. [doi]
D. Shanmugam, Z. Liu, P. Schaumont, “CAPRI6: A Solution for Fault Root Cause Detection,” 34th Microelectronics Design and Test Symposium (IEEE MDTS 2025), May 2025, Albany NY. [doi]
Z. Liu, D. Shanmugam and P. Schaumont “FaultDetective: Explainable to a Fault, from the Design Layout to the Software,” IACR Transactions on Cryptographic Hardware and Embedded Systems, 2024(4). [doi]
Saidoyoki: Evaluating side-channel leakage in pre- and post-silicon setting
Predicting the level and exploitability of side-channel leakage from complex SoC design is a challenging task. We present Saidoyoki, a test platform that enables the assessment of side-channel leakage under two different settings. The first is pre-silicon side-channel leakage estimation in SoC, and it requires the use of fast side-channel leakage estimation from a high-level design description. The second is post-silicon side-channel leakage measurement and analysis in SoC, and it requires a hardware prototype that reflects the design description. By designing an in-house SoC and next building a side-channel leakage analysis environment around it, we are able to evaluate design-time (pre-silicon) side-channel leakage estimates as well as prototype (post-silicon) side-channel leakage measurements. The Saidoyoki platform hosts two different SoC, one based on a 32-bit RISC-V processor and a second based on a SPARC V8 processor.

In our recent research, we have designed several ASICs as a byproduct (and often as a proof of concept) of our experimental work. FAMEv2 (Fault Aware Microprocessor Extensions) is an SoC with fault-sensing capability based around a LEON-3 core. PICO is a similar SoC based around a 32-bit RISC-V core. Both SoCs contain several coprocessors as well as on-chip RAM, and they are built in 180nm standard cells. Most importantly, they are in-house designs, so we have access to all design information down to layout level.
To study the problem of pre-silicon vs post-silicon side-channel leakage modeling, we integrated both of these SoCs in a test platform. The Saidoyoki board provides a programming interface to download applications to either chip, and supports high-bandwidth power measurement of each individual chip. The purpose of Saidoyoki is to validate a design flow for pre-silicon side-channel leakage estimation, by providing estimations next to actual side-channel leakage measurements. Our long term objectives are to understand and address two crucial shortcomings of side-channel leakage estimation from high-level models: (a) false positives, where the side-channel leakage estimation on the pre-silicon design model indicates side-channel leakage that cannot be confirmed by measurements; (b) false negatives, where the side-channel leakage estimation on the pre-silicon design does not show side-channel leakage while the measurements confirm the opposite. Both problems are hard and, to our knowledge, still unsolved.
The Saidoyoki Platform
This section describes the features of the Saidoyoki platform, including the platform architecture, and the system architecture of the chips.

Saidoyoki PCB
A side-channel measurement setup includes a test target, a means to digitize power side-channel leakage, and a side-channel campaign controller. The controller exchanges stimuli with the test target, and while the target executes the stimuli, the target’s power signature is captured. Afterwards, the campaign controller collects the power signatures and performs side-channel analysis. A PCB to support a test target thus has to provide multiple functions, including (a) providing easy access to the power consumption of the target, (b) real-time data input/output to exchange test stimuli with the campaign controller, (c) debugging of programmable/reconfigurable targets, and optionally, (d) adjusting target voltage/clock to study the impact of environmental factors. The Saidoyoki PCB was developed to support the PICO and FAME chips as targets for side-channel measurement campaigns, and it supports all functions enumerated above.
The board is connected to the side-channel campaign controller with a single USB connection to multiplex multiple data and control channels used in a campaign (FT4232HL USB Bridge IC). These control channels include a UART debug connection for FAMEv2, a shared user UART, a shared SPI to program flash memories, and an I2C control channel for clock configuration.
The side-channel leakage of each ASIC is captured by measuring voltage drop over a shunt resistor. The signal is also amplified through a differential broadband opamp, one for each ASIC. Saidoyoki uses a single 5V power supply that is regulated into a fixed 3V3 supply and an adjustable 1V8 supply. The adjustable supply feeds the ASIC core and can be varied between 1V and 2V. This rail is also split into two using ferrite beads and then connected to each chip independently. A precise shunt resistor is inserted into each branch of the 1.8V rail for power measurement.
The flash chips connected to PICO and FAMEv2 are externally programmable through USB. The board has several 3-point slider switches to physically switch the flash chips from external configuration to ASIC configuration. In the ASIC configuration, the ASIC will boot from the firmware configured in the flash chips.
Saidoyoki also includes a clock generation IC (SI5351A-B-GTR), which is able to generate configurable clock frequencies for the ASICs between 2.5KHz and 200MHz. The clock can also be provided from an external source through an SMA connector.
Finally, the Saidoyoki board supports low-level debugging tasks by bringing every chip pin out on a jumper header or an SMA connector. Additionally, the GPIO ports in each ASIC are visible through LEDs.
FAME2 ASIC

The FAMEv2 ASIC is a 180nm SoC with a LEON3 core and 128 kByte of internal memory, and several coprocessors. The program can execute either from on-chip SRAM or else from off-chip flash through an SPI flash ROM. A debug unit, controlled through an on-chip Debug UART, provides program loading, monitoring, breakpoints. The coprocessors are isolated from the processor through a bus bridge. All coprocessors exclusively operate as bus slaves, and communicate with the software through memory-mapped registers. FAME contains cryptographic accelerators for symmetric-key encryption (AES and AES+, a hardened version of AES) and pseudo-random stream generation (KeyMill). The sensors in FAME detect timing faults injected through clock glitching and voltage glitching.
PICO ASIC

The PICO ASIC is a 180nm SoC with a RISCV (RV32) core and 64 kByte of internal memory, and several coprocessors. The program exclusively runs from off-chip flash through a Quad-SPI flash ROM. The system is integrated on a single bus. All coprocessors run as bus slaves and communicate with the RISC-V software through memory-mapped registers. PICO contains cryptographic accelerators for symmetric-key encryption (AES), authenticated encryption (ASCON), and hardware testing of true random bitstreams (TRNG test). The sensors in PICO detect fault injection as well as side-channel leakage.
Pre-silicon Side-channel Leakage Estimation

In a pre-silicon setting, power-based side-channel leakage is estimated through a time-based simulation of the power consumption of the target.
The Saidoyoki flow starts from a gate-level netlist, obtained from the FAME/PICO chip design or else through RTL synthesis of the design flows. Through a suitable testing scenario, a set of testing stimuli are defined. For classic DPA/CPA analysis of cryptographic hardware, for example, one selects a fixed key and a set of random plaintext/ciphertext. Specific or non-specific TVLA tests, on the other hand, require a combination of random and fixed key/plaintext inputs. The activity files created from hardware simulation are used by a time-based power simulation tool, which provides a trace for every input test vector. Finally, the stimuli, activity files and traces are used as input for the side-channel evaluation. Our prototype implementation supports Cadence Genus or Synopsys Design Compiler, Cadence XCelium or Mentor ModelSim, and Cadence Joules respectively as synthesis, simulation, and power estimation tool. The side-channel evaluation is a customized Chipwhisperer script.
There is a trade-off between the level of simulation detail, and the ability of a design model to capture different causes and sources of side channel leakage. The gate-level abstraction provides reasonable accuracy. Because of the post-silicon artifacts available in Saidoyoki, we prefer lower simulation abstraction levels to investigate and verify lower-level effects.
To ensure sufficient accuracy with software and SoC firmware targets, we extend the hardware based flow and simulate the microprocessor as a gate-level design as well. The main challenge is to convert the firmware into a form that can be integrated into the SoC hardware simulation. We compile the firmware into a binary that is used to initialize the on-chip memory at the start of the simulation. By compiling input test vectors (key, input) as hard-coded constants in the firmware binary, we also eliminate complex input/output schemes during simulation.
To enable testing only specific parts of the firmware, we make use of the GPIOs on the SoC as triggers. We set a GPIO pin high right before the point of interest and reset it to low right after. In the test bench module, during simulation, we monitor the trigger signal and log its set and reset time stamps. Later, in power trace generation phase, we generate the power trace only for the logged time period.
Post-silicon Side-channel Leakage Estimation

Measuring side-channel leakage in the post-silicon setting requires a campaign controller to measure power from the PICO or FAME chips on Saidoyoki while they execute a test application. We use a Chipwhisperer kit. Chipwhisperer uses synchronous sampling and generates a clock signal for the target. This allows the side-channel leakage to be captured with low overhead of one to four times the target clock. A campaign executes a large collection of encryption operations on the target, with different input stimuli. For each operation, Chipwhisperer sends an input plaintext. The target responds with a trigger when the cryptographic operation starts. Chipwhisperer then collects the power signal and finally performs side-channel leakage analysis or assessment.
Further Reading
P. Schaumont, “You Can Hide But You Can’t Verify: On Side-channel Countermeasure Verification,” Workshop on SSH-SoC: Safety and Security in Heterogeneous Open System-on-Chip Platforms, July 2023. Best Paper Award.
P. Kiaei, Y. Yao, Z. Liu, N. Fern, C.-B. Breunesse, J. Van Woudenberg, K. Gillis, A. Dich, P. Grossmann, P. Schaumont, “Gate-Level Side-Channel Leakage Ranking with Architecture Correlation Analysis,” IEEE Transactions on Emerging Topics in Computing, April 2023. [doi]
Y. Yao, P. Kiaei. R. Singh, S. Tajik, P. Schaumont, “Programmable RO (PRO): A Multipurpose Countermeasure against Side-channel and Fault Injection Attack,” arXiv:2106.13784, 2021. [pdf]
Y. Yao, P. Schaumont, J. van Woudenberg, C.B. Breunesse, E. M. Santillan, S. Stecyk, “Verification of Power-based Side-channel Leakage through Simulation,” 63rd IEEE International Midwest Symposium on Circuits and Systems, August 2020. [doi]
B. Yuce, C. Deshpande, M. Ghodrati, A. Bendre, L. Nazhandali, P. Schaumont, “A Secure Exception Mode for Fault-Attack-Resistant Processing,” IEEE Transactions on Dependable and Secure Computing, 16(3):388-401, 2019. [doi]
And also a cameo appearance at
- A. Adhikari, A. J. Basurto Becerra, L. Batina, I. Buhan, D. Chatterjee, S. van Hoek, E. Sanfelix Gonzalez, “I know what your compiler did: Optimization Effects on Power Side-Channel Leakage for RISC-V,” IACR Real World Crypto 2025. [pdf]
SKIVA: Custom Instruction Support for Modular Defense against Side-channel and Fault Attacks
We propose a customized processor called SKIVA that supports experiments with the design of countermeasures against a broad range of implementation attacks. Based on bitslice programming and recent advances in the literature, SKIVA offers a flexible and modular combination of countermeasures against power-based and timing-based side-channel leakage and fault injection. Multiple configurations of side-channel protection and fault protection enable the programmer to select the desired number of shares and the desired redundancy level for each slice. Recurring and security-sensitive operations are supported in hardware through custom instruction-set extensions. The new instructions support bitslicing, secret-share generation, redundant logic computation, and fault detection.
Repository: https://github.com/Secure-Embedded-Systems/Skiva
Further Reading
- P. Kiaei, D. Mercadier, P. E. Dagand, K. Heydemann, P. Schaumont, “Custom Instruction Support for Modular Defense against Side-channel and Fault Attacks,” 11th International Workshop on Constructive Side-Channel Analysis and Secure Design (COSADE 2020), Lugano, Switzerland, April 2020. IACR ePrint archive 2020/466. [preprint]
Patrick Schaumont