PQC Migration of IPsec: Reliable Composite Key Sharing Mechanisms in IKEv2
Proposes and benchmarks a composite classical+ML-KEM key share in IKEv2 sent over TCP (strongSwan prototype), cutting handshake time and energy under packet loss versus RFC 9370 hybrid over UDP or TCP.
Schemes: ML-KEM-768, ML-KEM-1024, ML-DSA-44, ML-DSA-65, ML-DSA-87, X25519, ECDH P-256, ECDH P-384, RFC 9370, RFC 9329, RFC 9730, IKEv2, strongSwan
Findings (quotes checked against the source text)
-
Composite key sharing over TCP beats hybrid over UDP once packet loss appears, with handshake time better by at least 20% at 1% loss and about 30% at 10% loss.
At 1% packet loss, the handshake time of composite key sharing mechanism is better by atleast 20% than hybrid mechanisms, and the improvement get better with higher packet loss reaching 30% at 10% packet loss.
-
UDP hybrid handshakes degrade sharply under loss because fragment loss triggers IKEv2 retransmission timers, while TCP absorbs the same loss below the IKE state machine.
Hybrid (H/UDP) degrades exponentially with packet loss while both TCP variants (H/TCP, C/TCP), degrade gradually, because UDP exposes the IKEv2 retransmission timer directly to fragment loss whereas TCP absorbs the same loss below the IKE state machine.
-
The composite approach reduces the IKEv2 handshake from three round trips to two by carrying both key shares in one ike_sa_init.
which consequently reduces the IKEv2 handshake from three round trips to two.
-
Composite ike_sa_init messages with ML-KEM-1024 pairing exceed the Ethernet MTU, so TCP transport becomes a requirement rather than an optimization.
The (ECP-384∥ML-KEM-1024) exceeds the 1,500-byte Ethernet MTU, forcing fragmentation over UDP.
-
The composite key combiner is an HKDF-based universal combiner whose output replaces the classical g^ir term in SKEYSEED, with the rest of the RFC 7296 key schedule unchanged.
The combined key replaces the classical 𝑔𝑖𝑟 term in the standard RFC 7296 [5] key schedule:
Numbers (as extracted, not quote-checked)
- Composite ike_sa_init payload size (Curve25519+ML-KEM-768): 1,434 bytes
- Composite ike_sa_init payload size (ECP-384+ML-KEM-1024): 1,882 bytes
- Hybrid first message size (Curve25519+ML-KEM-768): 256 bytes
- ML-KEM-768 public key size used in composite: 1,184 bytes
- ML-KEM-768 ciphertext size: 1,088 bytes
- Energy reduction, composite vs hybrid at 10% packet loss: 29%
For builders
If a PQ chain or any PQ protocol runs over a lossy transport, carry large PQ key material over a reliable transport in a single round trip rather than fragmenting it over UDP.
Limits
Testbed is two Docker containers on one host with netem loss/delay; ML-KEM and ML-DSA only, composite draft is an unfinished IETF draft with TBD identifiers, and no PQ-only variant is evaluated.
Topics: kem hybrid-schemes benchmarks implementation-sidechannel standards-policy