This repository contains the ARM Cortex-M4 and RISC-V assembly code of the two-shared masked implementations of PRESENT, Keccak (Keccak-f[800] and Keccak-f[1600]), and 4-bit quadratic classes based on the methodology described in our paper "Threshold Implementations in Software: Micro-architectural Leakages in Algorithms".
If you use or build upon the code in this repository, please cite our paper using our citation key.