Vol.73, No.2, 2022, pp.4051-4066, doi:10.32604/cmc.2022.029794
OPEN ACCESS
ARTICLE
An AOP-Based Security Verification Environment for KECCAK Hash Algorithm
  • Hassen Mestiri1,2,3,*, Imen Barraj1,4,5, Mohsen Machhout3
1 Department of Computer Engineering, College of Computer Engineering and Sciences, Prince Sattam bin Abdulaziz University, Al-Kharj 11942, Saudi Arabia
2 Higher Institute of Applied Sciences and Technology of Sousse, University of Sousse, Tunisia
3 Electronics and Micro-Electronics Laboratory, Faculty of Sciences of Monastir, University of Monastir, Tunisia
4 Electrical Engineering Department, Systems Integration & Emerging Energies (SI2E), National Engineers School of Sfax, University of Sfax, Tunisia
5 Higher Institute of Computer Science and Multimedia of Gabes, University of Gabes, Tunisia
* Corresponding Author: Hassen Mestiri. Email:
Received 11 March 2022; Accepted 20 April 2022; Issue published 16 June 2022
Abstract
Robustness of the electronic cryptographic devices against fault injection attacks is a great concern to ensure security. Due to significant resource constraints, these devices are limited in their capabilities. The increasing complexity of cryptographic devices necessitates the development of a fast simulation environment capable of performing security tests against fault injection attacks. SystemC is a good choice for Electronic System Level (ESL) modeling since it enables models to run at a faster rate. To enable fault injection and detection inside a SystemC cryptographic model, however, the model’s source code must be updated. Without altering the source code, Aspect-Oriented Programming (AOP) may be used to evaluate the robustness of cryptographic models. This might replace conventional cryptanalysis methods in the real world. At the ESL, we discuss a unique technique for simulating security fault attacks on cryptographic systems. The current study presents a fault injection/detection environment for assessing the KECCAK SystemC model’s resistance against fault injection attacks. The approach of injecting faults into KECCAK SystemC model is accomplished via the use of weaving faults in AspectC++ based on AOP programming language. We confirm our technique by applying it to two scenarios using a SystemC KECCAK hash algorithm case study: The first concerns discuss the effect of the AOP on fault detection capabilities, while the second concerns discuss the effect of the AOP on simulation time and executable file size. The simulation results demonstrate that this technique is fully capable of evaluating the fault injection resistance of a KECCAK design. They demonstrate that AOP has a negligible effect on simulation time and executable file size.
Keywords
Aspect-Oriented Programming; SystemC; AspectC++; cryptographic circuits; KECCAK; fault detection; fault attacks
Cite This Article
H. Mestiri, I. Barraj and M. Machhout, "An aop-based security verification environment for keccak hash algorithm," Computers, Materials & Continua, vol. 73, no.2, pp. 4051–4066, 2022.
This work is licensed under a Creative Commons Attribution 4.0 International License , which permits unrestricted use, distribution, and reproduction in any medium, provided the original work is properly cited.