Ascon-AEAD128 Vs AES-GCM and ChaCha20-Poly1305 on Arm Cortex-M Microcontrollers: An Emulation-Based Evaluation of Speed, Memory and Energy for IoT Nodes

Authors

  • Shaymaa Alhayali Author

DOI:

https://doi.org/10.59992/IJCI.2026.v5n11p7

Keywords:

Ascon, Authenticated Encryption, Lightweight Cryptography, Internet of Things, ARM Cortex-M, Embedded Systems

Abstract

In 2025, NIST standardized Ascon-AEAD128 as the authenticated encryption scheme for constrained devices, but engineers of Internet of Things (IoT) nodes still lack a consistent comparison with the schemes already available in common libraries. This study compares Ascon-AEAD128 with AES-128-GCM and ChaCha20-Poly1305 on the Arm Cortex-M4 and Cortex-M0+. Nine public, unmodified implementations from the Ascon designers' package, Mbed TLS and Monocypher were compiled into 30 bare-metal firmware images at two optimization levels. The images were executed in an instruction-accurate emulator, which gave exact instruction counts, cycle estimates from the published instruction timing of each core, flash, RAM and stack footprint, and estimated energy. Every image was first verified against official test vectors or an independent library. For a sensor packet with a 32-byte payload and a 16-byte header, the fastest Ascon implementation needed 4,805 cycles on the Cortex-M4, 29% fewer than ChaCha20-Poly1305 and 68% fewer than AES-GCM, with an estimated 1.44 µJ against 2.04 and 4.50 µJ. For 1-KB messages, Ascon and ChaCha20-Poly1305 were equivalent (about 40 cycles per byte), while software AES-GCM was three to six times slower and needed the largest code and RAM. The choice of implementation changed the cost of Ascon by up to 2.3 times and its code size by 27 times. All implementations had data-independent instruction counts and rejected forged packets. Ascon-AEAD128 with a core-specific implementation is recommended as the default for IoT nodes without an AES accelerator.

Author Biography

  • Shaymaa Alhayali

    Computer Center, University of Mosul, Iraq

References

[1] ARM Limited. (2010). Cortex-M4 technical reference manual (Revision r0p1, ARM DDI 0439B). ARM Limited.

[2] ARM Limited. (2012). Cortex-M0+ technical reference manual (Revision r0p1, ARM DDI 0484C). ARM Limited.

[3] Atul, Shukla, V., Das, M. K., Shukla, V., & Mishra, D. (2026). A reproducible security–performance benchmark protocol for lightweight AEAD on resource-constrained IoT nodes (Cryptology ePrint Archive, Paper 2026/1882). International Association for Cryptologic Research. https://eprint.iacr.org/2026/1882.

[4] Bernstein, D. J. (2005). The Poly1305-AES message-authentication code. In H. Gilbert & H. Handschuh (Eds.), Fast software encryption (Lecture Notes in Computer Science, Vol. 3557, pp. 32–49). Springer. https://doi.org/10.1007/11502760_3.

[5] Dobraunig, C., Eichlseder, M., Mendel, F., & Schläffer, M. (2021). Ascon v1.2: Lightweight authenticated encryption and hashing. Journal of Cryptology, 34(3), Article 33. https://doi.org/10.1007/s00145-021-09398-9.

[6] Dworkin, M. (2007). Recommendation for block cipher modes of operation: Galois/Counter Mode (GCM) and GMAC (NIST Special Publication 800-38D). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-38D.

[7] Fotovvat, A., Rahman, G. M. E., Vedaei, S. S., & Wahid, K. A. (2021). Comparative performance analysis of lightweight cryptography algorithms for IoT sensor nodes. IEEE Internet of Things Journal, 8(10), 8279–8290. https://doi.org/10.1109/JIOT.2020.3044526.

[8] Hatzivasilis, G., Fysarakis, K., Papaefstathiou, I., & Manifavas, C. (2018). A review of lightweight block ciphers. Journal of Cryptographic Engineering, 8(2), 141–184. https://doi.org/10.1007/s13389-017-0160-y.

[9] Käsper, E., & Schwabe, P. (2009). Faster and timing-attack resistant AES-GCM. In C. Clavier & K. Gaj (Eds.), Cryptographic hardware and embedded systems – CHES 2009 (Lecture Notes in Computer Science, Vol. 5747, pp. 1–17). Springer. https://doi.org/10.1007/978-3-642-04138-9_1.

[10] National Institute of Standards and Technology. (2023). Advanced Encryption Standard (AES) (Federal Information Processing Standards Publication 197, updated May 9, 2023). https://doi.org/10.6028/NIST.FIPS.197-upd1.

[11] Nir, Y., & Langley, A. (2018). ChaCha20 and Poly1305 for IETF protocols (RFC 8439). Internet Engineering Task Force. https://doi.org/10.17487/RFC8439.

[12] Osvik, D. A., Shamir, A., & Tromer, E. (2006). Cache attacks and countermeasures: The case of AES. In D. Pointcheval (Ed.), Topics in cryptology – CT-RSA 2006 (Lecture Notes in Computer Science, Vol. 3860, pp. 1–20). Springer. https://doi.org/10.1007/11605805_1.

[13] Radhakrishnan, I., Jadon, S., & Honnavalli, P. B. (2024). Efficiency and security evaluation of lightweight cryptographic algorithms for resource-constrained IoT devices. Sensors, 24(12), Article 4008. https://doi.org/10.3390/s24124008.

[14] Renner, S., Pozzobon, E., & Mottok, J. (2020). A hardware in the loop benchmark suite to evaluate NIST LWC ciphers on microcontrollers. In W. Meng, D. Gollmann, C. D. Jensen, & J. Zhou (Eds.), Information and communications security – ICICS 2020 (Lecture Notes in Computer Science, Vol. 12282, pp. 495–509). Springer. https://doi.org/10.1007/978-3-030-61078-4_28.

[15] Sarasa Laborda, V., Hernández-Álvarez, L., Hernández Encinas, L., Sánchez García, J. I., & Queiruga-Dios, A. (2025). Study about the performance of Ascon in Arduino devices. Applied Sciences, 15(7), Article 4071. https://doi.org/10.3390/app15074071.

[16] Schwabe, P., & Stoffelen, K. (2017). All the AES you need on Cortex-M3 and M4. In R. Avanzi & H. Heys (Eds.), Selected areas in cryptography – SAC 2016 (Lecture Notes in Computer Science, Vol. 10532, pp. 180–194). Springer. https://doi.org/10.1007/978-3-319-69453-5_10.

[17] Shehzadi, S., Whaley, N., Khalid, A., Ghafoor, A., Arshad, S., Islam, F. U., & O’Neill, M. (2025). Kyber-KEM-Ascon: Benchmarking a lightweight post-quantum KEM on IoT devices. In 2025 IEEE International Symposium on Circuits and Systems (ISCAS). IEEE. https://doi.org/10.1109/ISCAS56072.2025.11043792.

[18] Sönmez Turan, M., McKay, K., Chang, D., Bassham, L., Kang, J., Waller, N., Kelsey, J., & Hong, D. (2023). Status report on the final round of the NIST lightweight cryptography standardization process (NIST Interagency Report 8454). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.IR.8454.

[19] Sönmez Turan, M., McKay, K., Kang, J., Kelsey, J., & Chang, D. (2025). Ascon-based lightweight cryptography standards for constrained devices: Authenticated encryption, hash, and extendable output functions (NIST Special Publication 800-232). National Institute of Standards and Technology. https://doi.org/10.6028/NIST.SP.800-232.

[20] Sorescu, T.-G., Chiriac, V.-M., Stoica, M.-A., Comsa, C.-R., Soroaga, I.-G., & Contac, A. (2025). Comparative performance analysis of lightweight cryptographic algorithms on resource-constrained IoT platforms. Sensors, 25(18), Article 5887. https://doi.org/10.3390/s25185887.

[21] Thakor, V. A., Razzaque, M. A., & Khandaker, M. R. A. (2021). Lightweight cryptography algorithms for resource-constrained IoT devices: A review, comparison and research opportunities. IEEE Access, 9, 28177–28193. https://doi.org/10.1109/ACCESS.2021.3052867.

Downloads

Published

2026-11-23

Issue

Section

Articles

How to Cite

Shaymaa Alhayali. (2026). Ascon-AEAD128 Vs AES-GCM and ChaCha20-Poly1305 on Arm Cortex-M Microcontrollers: An Emulation-Based Evaluation of Speed, Memory and Energy for IoT Nodes. International Journal of Computers and Informatics, 5(11). https://doi.org/10.59992/IJCI.2026.v5n11p7