QSOR: Quantum-Safe Onion Routing
Benchmarks six NIST round-2 level-1 PQ KEMs in a simulated Tor circuit build, comparing pure PQ and hybrid variants against RSA; finds no single winner, Sike best on bandwidth.
Schemes: Kyber, NewHope, NTRU, Sike, FrodoKEM, RSA, Open Quantum Safe, SweetOnions, HybridOR, BIKE
Findings (quotes checked against the source text)
-
Lattice-based KEMs (Kyber, NewHope, NTRU) need fewer CPU cycles for key generation than RSA-1024, while Sike is slower but beats RSA-2048 on key generation.
From Table 4, we observe that the lattice-based quantum-safe schemes (Kyber, NewHope, NTRU) require less CPU cycles for generating keys than RSA-1024.
-
Sike gives the smallest ciphertext fitting one Tor cell and near-SO bandwidth, but is the slowest for encapsulation and decapsulation.
However, based on ciphertext sizes, Sike is the best fit as the ciphertext size fits within one Tor cell (512 bytes).
-
Frodo-640 ciphertexts (9720 bytes) are judged problematic for network load in Tor.
We observe that, both Frodo-640-AES and Frodo-640-SHAKE have a problematic ciphertext size of 9 720 bytes.
-
Hybrid variants roughly double the packet count relative to non-hybrid, so bandwidth overhead is significant even though CPU stays affordable.
The number of packets is at least doubled when switching to the hybrid solutions.
-
Migration priority is long-term keys first, then medium-term, then short-term, with symmetric keys moved to AES-256.
Considering Table 2 and the lifetime of the asymmetric keys, it is most urgent to update the long-term keys to a quantum-safe alternative.
Numbers (as extracted, not quote-checked)
- Kyber512 ciphertext size: 736 bytes
- Sike-p503 ciphertext size: 402 bytes
- Frodo-640 ciphertext size: 9 720 bytes
- Sike-p503 public key size: 378 bytes
- Kyber512 public key size: 800 bytes
- Sike-p503 decapsulation cycles: 159 119 760
For builders
Use this as a KEM size/CPU tradeoff data point: lattice KEMs are fast but larger on the wire, while Sike is compact but slow, and hybrids roughly double packets.
Limits
Tor is simulated with simplified SweetOnions, network latency omitted, only level-1 KEMs tested, and no signature schemes benchmarked; Sike was later broken.
Topics: kem implementation-sidechannel benchmarks hybrid-schemes other-chain-migration threat-model survey