Fast implementation of GF(28) inversion with applications to the AES S-box using ARM Helium MVE extensions
The AES block cipher is widely used in embedded systems. Efficient realizations of its S-box, which consists of a costly inversion in GF(28) and an affine transformation, are usually done with lookup tables, which may be vulnerable to timing side-channel attacks. We develop a constant-time inversion algorithm in GF(28) optimized with Arm Helium MVE extensions and a fully vectorized suite of field-arithmetic primitives, from which we derive three Cortex-M S-box implementations: two table-free exponentiation schedules requiring only three field multiplications, and a third variant employing a compact, vectorized 16-byte lookup table. We integrate these methods into a constant-time AES-128 implementation on a Cortex-M85, demonstrating that our proposal is competitive with state-of-the-art implementations.
Authors
- Décio Luiz Gazzoni Filho (ORCID: https://orcid.org/0000-0002-6001-2172)
- Félix Carvalho Rodrigues (ORCID: https://orcid.org/0000-0002-2776-5105)
- Julio López (ORCID: https://orcid.org/0000-0001-5139-0158)
- Elismar R. Oliveira (ORCID: https://orcid.org/0000-0003-2611-0489)
Institutions
- Universidade Estadual de Campinas (UNICAMP) (BR)
- Hospital de Clínicas da Unicamp (BR)
Publication Details
- Published
- 2025-09-01
- DOI
- https://doi.org/10.5753/sbseg.2025.10439
- Primary Topic
- Cryptographic Implementations and Security
- Type
- article
- Field-Weighted Citation Impact
- 0.00