Paper 2025/222

A Robust Variant of ChaCha20-Poly1305

Tim Beyne, KU Leuven
Yu Long Chen, KU Leuven
Michiel Verbauwhede, KU Leuven
Abstract

The ChaCha20-Poly1305 AEAD scheme is widely used as an alternative for AES-GCM on platforms without AES hardware instructions. Although recent analysis by Degabriele et al. shows that ChaCha20-Poly1305 provides adequate security in the conventional multiuser model, the construction is totally broken when a single nonce is repeated – a real-word scenario that can occur due to faulty implementations or the desire to use random nonces. We present a new nonce-misuse resistant and key-committing authenticated encryption scheme, called ChaCha20-Poly1305-PSIV, that is based on carefully combining the ChaCha20-Poly1305 building blocks into the NSIV paradigm proposed by Peyrin and Seurin (CRYPTO 2016) without performance loss. We analyze the security of the underlying mode PSIV in the multi-user faulty-nonce model assuming that the underlying permutation is ideal, and prove its key-committing security in the cmt-1 model. Rust and C implementations are provided, and benchmarks confirm that performance is comparable to the ChaCha20-Poly1305 implementation in libsodium. In terms of security and efficiency (without hardware support), our proposal compares favorably to AES-GCM-SIV. Since we reuse the ChaCha20-Poly1305 building blocks, we expect ChaCha20-Poly1305-PSIV to benefit from existing analysis and to be easy to deploy in practice.

Metadata
Available format(s)
PDF
Category
Secret-key cryptography
Publication info
Preprint.
Keywords
Authenticated encryptionNonce-misuse resistanceKey commitmentChaCha20-Poly1305
Contact author(s)
tim beyne @ esat kuleuven be
yulong chen @ esat kuleuven be
michiel verbauwhede @ esat kuleuven be
History
2025-02-26: revised
2025-02-13: received
See all versions
Short URL
https://ia.cr/2025/222
License
No rights reserved
CC0

BibTeX

@misc{cryptoeprint:2025/222,
      author = {Tim Beyne and Yu Long Chen and Michiel Verbauwhede},
      title = {A Robust Variant of {ChaCha20}-Poly1305},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/222},
      year = {2025},
      url = {https://eprint.iacr.org/2025/222}
}
Note: In order to protect the privacy of readers, eprint.iacr.org does not use cookies or embedded third party content.