Improving the Energy-Based Dpa/Dema Attack Flow Preprocessing Performance

  • Rodrigo Lellis UFPel
  • Rafael Soares UFPel


This paper proposes an improvement in the DPA/DEMA energy-based attack flow to reduce the time to guess a secret cryptographic key from supposed secure systems. This was done through the recoding for C ++ language and parallelization of the algorithms. The results highlight a reduction of up to 78.53% in the execution time of preprocessing algorithms guaranteeing a good performance even in the majority of off-the-shelf processors available in the market.


CORON, J. and KIZHVATOV, I. (2009). An Efficient Method for Random Delay Generation in Embedded Software. Clavier C., Gaj K. (eds) Cryptographic Hardware and Embedded Systems (CHES).

DURAN, A., GONZALEZ, M., and CORBALAN, J. (2005). Automatic Thread Distribution For Nested Parallelism In OpenMP. pages 121–130. 19th ACM International Conference on Supercomputing (ICS).

GNU COMPILER COLLECTION. GCC online documentation – GNU Project – Free Software Foundation. Online; accessed: 7 December 2019.

LELLIS, R. N. ., SOARES, R. I., and JUNIOR, A. A. S. (2017). An Energy-Based Attack Flow for Temporal Misalignment Countermeasures on Cryptosystems. IEEE International Symposium Circuits and Systems (ISCAS).

MATHWORKS. MATLAB Support Documentation. Online; accessed: 6 December 2019.

OPENMP. Specifications – OpenMP. Online; accessed: 8 December 2019.
Como Citar

Selecione um Formato
LELLIS, Rodrigo; SOARES, Rafael. Improving the Energy-Based Dpa/Dema Attack Flow Preprocessing Performance. In: ESCOLA REGIONAL DE ALTO DESEMPENHO DA REGIÃO SUL (ERAD-RS), 21. , 2021, Evento Online. Anais [...]. Porto Alegre: Sociedade Brasileira de Computação, 2021 . p. 97-98. ISSN 2595-4164. DOI: