Paper 2017/239

Boosting Authenticated Encryption Robustness With Minimal Modifications

Tomer Ashur, Orr Dunkelman, and Atul Luykx

Abstract

Secure and highly efficient authenticated encryption (AE) algorithms which achieve data confidentiality and authenticity in the symmetric-key setting have existed for well over a decade. By all conventional measures, AES-OCB seems to be the AE algorithm of choice on any platform with AES-NI: it has a proof showing it is secure assuming AES is, and it is one of the fastest out of all such algorithms. However, algorithms such as AES-GCM and ChaCha20+Poly1305 have seen more widespread adoption, even though they will likely never outperform AES-OCB on platforms with AES-NI. Given the fact that changing algorithms is a long and costly process, some have set out to maximize the security that can be achieved with the already deployed algorithms, without sacrificing efficiency: ChaCha20+Poly1305 already improves over GCM in how it authenticates, GCM-SIV uses GCM's underlying components to provide nonce misuse resistance, and TLS1.3 introduces a randomized nonce in order to improve GCM's multi-user security. We continue this line of work by looking more closely at GCM and ChaCha20+Poly1305 to see what robustness they already provide over algorithms such as OCB, and whether minor variants of the algorithms can be used for applications where defense in depth is critical. We formalize and illustrate how GCM and ChaCha20+Poly1305 offer varying degrees of resilience to nonce misuse, as they can recover quickly from repeated nonces, as opposed to OCB, which loses all security. More surprisingly, by introducing minor tweaks such as an additional XOR, we can create a GCM variant which provides security even when unverified plaintext is released.

Note: Editorial changes and update to related work.

Metadata
Available format(s)
PDF
Publication info
Published by the IACR in CRYPTO 2017
Keywords
authenticated encryptionrobustAESOCBChaCha20Poly1305 GCMRUP
Contact author(s)
atul luykx @ esat kuleuven be
History
2017-10-02: last of 2 revisions
2017-03-11: received
See all versions
Short URL
https://ia.cr/2017/239
License
Creative Commons Attribution
CC BY

BibTeX

@misc{cryptoeprint:2017/239,
      author = {Tomer Ashur and Orr Dunkelman and Atul Luykx},
      title = {Boosting Authenticated Encryption Robustness With Minimal Modifications},
      howpublished = {Cryptology ePrint Archive, Paper 2017/239},
      year = {2017},
      note = {\url{https://eprint.iacr.org/2017/239}},
      url = {https://eprint.iacr.org/2017/239}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.