Paper 2025/583 Original: eprint.iacr.org/2025/583 ↗

Counter Galois Onion (CGO) for Tor: Fast Non-Malleable Onion Encryption

Jean Paul Degabriele
Alessandro Melloni
Jean-Pierre Münch
Martijn Stam
Abstract

In 2012, the Tor project expressed the need to upgrade Tor’s onion encryption scheme to protect against tagging attacks and thereby strengthen its end-to-end integrity protection. Tor proposal 261, where each encryption layer is processed by a strongly secure, yet relatively expensive tweakable wide-block cipher, is the only concrete candidate replacement to be backed by formal, yet partial, security proofs (Degabriele and Stam, EUROCRYPT 2018, and Rogaway and Zhang, PoPETS 2018). We identify the functionality and security desiderata for Tor’s onion encryption, and propose an alternative onion encryption scheme, called Counter Galois Onion (CGO), that follows a minimalistic, modular design and includes several improvements over proposal 261. CGO’s underlying primitive is an updatable tweakable split-domain cipher accompanied with a new security notion, that augments the recently introduced rugged pseudorandom permutation (Degabriele and Karadžić, CRYPTO 2022). Thus, we relax the security compared to a tweakable wide-block cipher, allowing for more efficient designs. We show that our security notion for updatable tweakable split-domain ciphers successfully hybridizes, which allows us to argue informally that CGO meets the full security requirements. Finally, we suggest a concrete instantiation for the updatable tweakable split-domain cipher, called UIV+, prove its security, and benchmark our full CGO scheme against Tor’s existing onion encryption scheme, demonstrating a clear performance gain at the proxy and at exit and entry routers, at the expense of a mild slowdown at intermediate routers.

Metadata
Available format(s)
PDF
Category
Cryptographic protocols
Publication info
Preprint.
History
2025-11-01: last updated
2025-03-31: published
Short URL
https://ia.cr/2025/583
License
https://creativecommons.org/licenses/by/4.0/

BibTeX

@misc{cryptoeprint:2025/583,
      author = {Jean Paul Degabriele and Alessandro Melloni and Jean-Pierre Münch and Martijn Stam},
      title = {Counter Galois Onion (CGO) for Tor: Fast Non-Malleable Onion Encryption},
      howpublished = {Cryptology {ePrint} Archive, Paper 2025/583},
      year = {2025},
      url = {https://eprint.iacr.org/2025/583}
}
Note: In order to protect the privacy of readers, this archive does not use cookies or embedded third party content.