arXiv:2610.13026cs.CROct 2026

Manuscript Offprint

arXiv:2610.13026

Post-Quantum Session Establishment for Matter over Thread: Message Size, Transport, and Protocol Options

Daniel Commey

Daniel Commey

TIDES Lab, Department of Computer Engineering and Computer Science

California State University, Long Beach, Long Beach, CA 90840, USA

daniel.commey@csulb.edu

Abstract—Matter’s first post-quantum change protects device attestation with ML-DSA, but its operational handshake, CASE, still derives session keys from P-256 ECDH, so recorded traffic can be decrypted once a quantum computer exists. We quantify the cost of moving CASE to ML-KEM and post-quantum signatures over Thread, where frames carry at most 127 bytes and a Matter message at most 1178 bytes. A byte-exact model of the CASE messages shows that a drop-in ML-KEM-768/ML-DSA-44 handshake grows from 1.6 kB to 22.8 kB and that no fully post-quantum configuration built from FIPS 203/204/205 algorithms fits the message limit. A Monte Carlo model of multi-hop Thread, calibrated to OpenThread and Matter source constants, shows that sending these messages as fragmented IPv6 datagrams causes spurious retransmissions whenever a message and its reply outlast Matter’s retransmission timer. At three to four hops the drop-in handshake then takes 1.8 to 2.6 times longer than with a selective-repeat block transfer, with or without interference, and up to 33% of handshakes with sleepy devices fail; raising the timers does not remove the effect. Caching certificate chains and authenticating the device with a pre-distributed ML-KEM key reduce the handshake to 6.1 kB and 44 ms of device computation. As a first step, hybrid P-256+ML-KEM-512 key exchange with a cached device chain protects session keys against harvest-now, decrypt-later attacks while every message still fits the current limit.

Index Terms—Post-quantum cryptography, Matter, Thread, IEEE 802.15.4, ML-KEM, ML-DSA, authenticated key exchange, IoT.

I. INTRODUCTION

Matter [1] is the IP-based application standard for smart-home devices. Battery-powered Matter devices usually run over Thread, an IPv6 mesh on IEEE 802.15.4 radios with 127-byte frames and 250 kb/s. Matter devices authenticate each other with operational certificates, and every operational session starts with Certificate Authenticated Session Establishment (CASE), a SIGMA-I handshake [2] over ephemeral P-256 ECDH with ECDSA-signed node operational certificates (NOCs).

A cryptographically relevant quantum computer would break both primitives. For key exchange the threat is already present: an adversary who records CASE traffic today can recover the session keys later and decrypt everything sent under them [3]. Smart-home traffic includes door-lock commands, occupancy, and camera control, and devices stay in service for a decade or more, so the window is long. In September 2026 the Matter reference implementation merged its first post-quantum change, PQC Phase 1 [4]. It adds ML-DSA to the device-attestation chain used during commissioning and carries the larger attestation certificates in 600-byte application-layer segments. CASE, the operational certificates, and the session keys are unchanged.

Migrating CASE is harder than swapping primitives because of Thread. ML-KEM-768 public keys are 1184B and ML-DSA-44 signatures 2420B [5], [6]. Matter caps a message at 1178B so that it fits one 1280-byte IPv6 packet, and OpenThread disables IPv6 fragmentation by default [7]. A larger message needs a new transport mechanism, and on a multi-hop 802.15.4 mesh the choice of mechanism interacts with Matter's retransmission timers.

This paper quantifies those costs and evaluates protocol options. Our contributions are:

  • A byte-exact size model of CASE for 15 representative configurations and 3780 design points, built on a Matter TLV codec that round-trips all 19 certificate test vectors of the reference implementation ( §\SIV, §\SV).

  • The result that no fully post-quantum CASE built from FIPS 203/204/205 algorithms fits a Matter message, so migration requires a transport change, together with a configuration that gives harvest-now, decrypt-later protection without one ( §\SV).

  • A Monte Carlo model of CASE over multi-hop Thread, with link, mesh, sleepy-device, and retransmission parameters taken from OpenThread and Matter source code, and the identification of a timer pathology that makes fragmented IPv6 transport 1.8 to 2.6 times slower than a block transfer at three or more hops ( §\SVI).

• Sensitivity analyses over interference burst length and occupancy, Matter retransmission timers, and segment size ( §\SVII), and a discussion of the security of the proposed protocol changes ( §\SIX).

All results are from models and simulation. We have not yet measured them on hardware; §IX-C states what this implies for each result.

References (32)