Resource Consumption Evaluation of C++ Cryptographic Libraries on Resource-Constrained Devices

Raducu, Razvan and J. Rodríguez, Ricardo and Álvarez, Pedro (2022) Resource Consumption Evaluation of C++ Cryptographic Libraries on Resource-Constrained Devices. In: Applied Cryptography in Computer and Communications. Second EAI International Conference, AC3 2022, Virtual Event, May 14-15, 2022, Proceedings.

[thumbnail of 78655.pdf] PDF
78655.pdf

Download (541kB)

Abstract

With the constant growth of IoT devices, software performance and memory usage have become relevant aspects when choosing the most suitable and optimal configuration of these resource-constrained devices. Moreover, in certain scenarios security must be guaranteed to protect data confidentiality, which imposes another resource consumption overhead. In this work-in-progress we evaluate the resource consumption of two widely-used block ciphers (AES and 3DES) and stream ciphers (Salsa20 and Chacha20), implemented in two C++ libraries (Crypto++andBotan), to find out which library and algorithms are the most efficient for such devices. In addition, we also evaluate whether the type of input data affects the resource consumption. Our results show that the memory consumption is similar across both libraries and algorithms. In terms of CPU,Crypto++outperformsBotan, with ChaCha20 achieving the best performance rates. Regarding the type of input data, no major impact has been noticed.

Item Type: Conference or Workshop Item (UNSPECIFIED)
Uncontrolled Keywords: Performance evaluation, Memory usage, Cryptographic libraries, Resource-constrained devices
Date Deposited: 04 Mar 2026 20:06
Last Modified: 20 Nov 2026 12:49
URI: https://eprints.eai.eu/id/eprint/59311

Actions (login required)

View Item
View Item