This repository contains the implementation of 3 fault attack models on PRINCE and PRINCEv2. The attack models are listed below:
- Integral Fault Attack
- Slow Diffusion Fault Attack
- Random Bit Fault Attack
The implementation also contains the code for injecting the faults at the reflection point.
To run the code, the following commands need to be run:
export LD_LIBRARY_PATH=.
python3 main.py -a <ATTACK_TYPE> -v <PRINCE_VERSION> [-r]
-
-a:
- Integral Fault Attack
- Slow Diffusion Fault Attack
- Random Bit Fault Attack
-
-v:
- PRINCE
- PRINCEv2
-
-r: If reflection needed (Optional Argument)