Fast AES-Based Universal Hash Functions and MACs - Inria - Institut national de recherche en sciences et technologies du numérique
Article Dans Une Revue IACR Transactions on Symmetric Cryptology Année : 2024

Fast AES-Based Universal Hash Functions and MACs

Résumé

Ultra-fast AES round-based software cryptographic authentication/encryption primitives have recently seen important developments, fuelled by the authenticated encryption competition CAESAR and the prospect of future high-profile applications such as post-5G telecommunication technology security standards. In particular, Universal Hash Functions (UHF) are crucial primitives used as core components in many popular modes of operation for various use-cases, such as Message Authentication Codes (MACs), authenticated encryption, wide block ciphers, etc. In this paper, we extend and improve upon existing design approaches and present a general framework for the construction of UHFs, relying only on the AES round function and 128-bit word-wide XORs. This framework, drawing inspiration from tweakable block ciphers design, allows both strong security arguments and extremely high throughput. The security with regards to differential cryptanalysis is guaranteed thanks to an optimized MILP modelling strategy, while performances are pushed to their limits with a deep study of the details of AES-NI software implementations. In particular, our framework not only takes into account the number of AES-round calls per message block, but also the very important role of XOR operations and the overall scheduling of the computations.We instantiate our findings with two concrete UHF candidates, both requiring only 2 AES rounds per 128-bit message block, and each used to construct two MACs. First, LeMac, a large-state primitive that is the fastest MAC as of today on modern Intel processors, reaching performances of 0.068 c/B on Intel Ice Lake (an improvement of 60% in throughput compared to the state-of-the-art). The second MAC construction, PetitMac, provides an interesting memory/throughput tradeoff, allowing good performances on many platforms.
Fichier principal
Vignette du fichier
ToSC2024_2_02.pdf (759.57 Ko) Télécharger le fichier
Origine Fichiers produits par l'(les) auteur(s)

Dates et versions

hal-04710478 , version 1 (26-09-2024)

Licence

Identifiants

Citer

Augustin Bariant, Jules Baudrin, Gaëtan Leurent, Clara Pernot, Léo Perrin, et al.. Fast AES-Based Universal Hash Functions and MACs. IACR Transactions on Symmetric Cryptology, 2024, 2024 (2), pp.35-67. ⟨10.46586/tosc.v2024.i2.35-67⟩. ⟨hal-04710478⟩

Collections

INRIA INRIA2 ANR
13 Consultations
5 Téléchargements

Altmetric

Partager

More