Paper 2017/1019

Looting the LUTs : FPGA Optimization of AES and AES-like Ciphers for Authenticated Encryption

Mustafa Khairallah, Anupam Chattopadhyay, and Thomas Peyrin

Abstract

In this paper, we investigate the efficiency of FPGA implementations of AES and AES-like ciphers, specially in the context of authenticated encryption. We consider the encryption/decryption and the authentication/verification structures of OCB-like modes (like OTR or SCT modes). Their main advantage is that they are fully parallelisable. While this feature has already been used to increase the throughput/performance of hardware implementations, it is usually overlooked while comparing different ciphers. We show how to use it with zero area overhead, leading to a very significant efficiency gain. Additionally, we show that using FPGA technology mapping instead of logic optimization, the area of both the linear and non linear parts of the round function of several AES-like primitives can be reduced, without affecting the runtime performance. We provide the implementation results of two multi-stream implementations of both the LED and AES block ciphers. The AES implementation in this paper achieves an efficiency of 38 Mbps/slice, which is the most efficient implementation in literature, to the best of our knowledge. For LED, achieves 2.5 Mbps/slice on Spartan 3 FPGA, which is 2.57x better than the previous implementation. Besides, we use our new techniques to optimize the FPGA implementation of the CAESAR candidate Deoxys-I in both the encryption only and encryption/decryption settings. Finally, we show that the efficiency gains of the proposed techniques extend to other technologies, such as ASIC, as well.

Metadata
Available format(s)
PDF
Publication info
Published elsewhere. Minor revision. Indocrypt 2017
Keywords
AESFPGAAuthenticated EncryptionLogic OptimizationTechnology MappingDeoxysLED
Contact author(s)
mustafam001 @ e ntu edu sg
History
2017-10-25: received
Short URL
https://ia.cr/2017/1019
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2017/1019,
      author = {Mustafa Khairallah and Anupam Chattopadhyay and Thomas Peyrin},
      title = {Looting the {LUTs} : {FPGA} Optimization of {AES} and {AES}-like Ciphers for Authenticated Encryption},
      howpublished = {Cryptology {ePrint} Archive, Paper 2017/1019},
      year = {2017},
      url = {https://eprint.iacr.org/2017/1019}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.