[TLS] Re: New Version Notification for draft-sullivan-tls-xof-schedule-01.txt
Ilari Liusvaara <ilariliusvaara@welho.com> Wed, 28 October 2026 14:35 UTC
Received: from smtp.dnamail.fi (sender001.dnamail.fi [83.102.40.178]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by mx.ietf.org (Postfix) with ESMTPS id 2310346 for <tls@ietf.org>; Wed, 28 Oct 2026 14:35:35 +0000 (UTC)
Authentication-Results: mx.ietf.org; dkim=pass header.d=welho.com header.s=2025-03 header.b=B7RoHvRt; spf=pass (mx.ietf.org: domain of ilariliusvaara@welho.com designates 83.102.40.178 as permitted sender) smtp.mailfrom=ilariliusvaara@welho.com; dmarc=pass (policy=none) header.from=welho.com
Received: from localhost (localhost [127.0.0.1]) by smtp.dnamail.fi (Postfix) with ESMTP id 71BE1211B387 for <tls@ietf.org>; Wed, 28 Oct 2026 16:35:28 +0200 (EET)
X-Virus-Scanned: X-Virus-Scanned: amavis at smtp.dnamail.fi
Received: from smtp.dnamail.fi ([83.102.40.178]) by localhost (dmail-psmtp01.s.dnaip.fi [127.0.0.1]) (amavis, port 10024) with ESMTP id wpF0esj7oM4j for <tls@ietf.org>; Wed, 28 Oct 2026 16:35:23 +0200 (EET)
Received: from LK-Perkele-VII2 (91-145-84-170.bb.dnainternet.fi [91.145.84.170]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) (Authenticated sender: hliusvaa@dnamail.internal) by smtp.dnamail.fi (Postfix) with ESMTPSA id 8E6AC2113E16 for <tls@ietf.org>; Wed, 28 Oct 2026 16:35:23 +0200 (EET)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.dnamail.fi 8E6AC2113E16
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=welho.com; s=2025-03; t=1793198123; bh=N8wgX/RqcewwXoD0XD3dWOPEfkIIguE06Eq4I5VEM84=; h=Date:From:To:Subject:References:In-Reply-To:From; b=B7RoHvRtnFtwNLSomusNn1OyTEaEP+rLNbSRdUhjVPWJh5piE+oG9bk+pZet5I2gQ fbZXnm7gEMEwoy8j17POBsiuA/2aRQhJ2uL+K6qFmf+E3j25qRe5ATgCFmXZSIO2HR knkGZgPdObGCyNzmRkfS2g4qXbvDKdZZ9ylbovwF4TjtmyGCtkYIvKax/SQtW61tjQ AnDgcY1bNZJfR9iYduzk4/j7+r5mRZ58OSSz6d39H0gLUnjrNTCEy1ABZz84GK+A8P 5h6j+o7x9nJzxchKFNkhBJ7C60Vc6goEjg0iWWrvtK8KgJyOGyBlndgW8YdaczZvIx H8anhiMvBF57w==
Date: Wed, 28 Oct 2026 16:35:23 +0200
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: tls@ietf.org
Message-ID: <auIIKwWcW2rqrX-K@LK-Perkele-VII2.locald>
References: <179312960557.490658.15008764146723152716@dt-datatracker-7dc874ff8f-5wfjq> <CAOjisRzDhJYDhh=ENaGb=OuguEoAbia1YiUnyQBVS7aY1_g6wg@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CAOjisRzDhJYDhh=ENaGb=OuguEoAbia1YiUnyQBVS7aY1_g6wg@mail.gmail.com>
Sender: ilariliusvaara@welho.com
X-Spamd-Bar: -------------------------
Message-ID-Hash: 6W4JEDMSJZYM7FZ2GNYIQKAPFUYM7LMA
X-Message-ID-Hash: 6W4JEDMSJZYM7FZ2GNYIQKAPFUYM7LMA
X-MailFrom: ilariliusvaara@welho.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-tls.ietf.org-0; header-match-tls.ietf.org-1; header-match-tls.ietf.org-2; header-match-tls.ietf.org-3; header-match-tls.ietf.org-4; header-match-tls.ietf.org-5; header-match-tls.ietf.org-6; header-match-tls.ietf.org-7; header-match-tls.ietf.org-8; header-match-tls.ietf.org-9; header-match-tls.ietf.org-10; header-match-tls.ietf.org-11; header-match-tls.ietf.org-12; header-match-tls.ietf.org-13; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.10
Precedence: list
Subject: [TLS] Re: New Version Notification for draft-sullivan-tls-xof-schedule-01.txt
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/gNataYCSvCi6Xn_jHASdbLFHLkg>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Owner: <mailto:tls-owner@ietf.org>
List-Post: <mailto:tls@ietf.org>
List-Subscribe: <mailto:tls-join@ietf.org>
List-Unsubscribe: <mailto:tls-leave@ietf.org>
On Tue, Oct 27, 2026 at 03:53:00PM -0400, Nick Sullivan wrote:
> TLSWG,
>
> draft-sullivan-tls-xof-schedule-01 is out. Gilles Van Assche (Keccak
> team) and Markku-Juhani O. Saarinen have joined as co-authors.
>
> Encoding
> - Derivation labels are now three octets, from the new TLS XOF Key
> Schedule Labels registry. Tags are four octets and the schedule label
> is six.
> - Key material starts on an 8-octet boundary for the PSK, every seed
> and the first shared-secret component. Implementations absorbing
> 64-bit lanes need no realignment.
Some quick comments:
I still think the hybrid secret splitting is a very bad idea. The
standard TLS hybrid design specifies concatnation, so many TLS libraries
just assume that. It is difficult to change such assumptions, especially
if those have gotten baked into internal interfaces.
I think the syntax could be more readable if it used postfix notation
(like used for method calls in many programming languages). D acts like
an object.
The key schedule feels like it would be easier to follow if the PSK
and no-PSK cases were clearly split, and if there was only a single
context with mutating ratchets.
I do not think the alignment properties are useful, because it is
too easy for things to get unaligned.
The sn_key could be part of key for DTLS. And it is not clear to me if
snk is separate derive, or taked into existing derives. Those two do
not give the same results.
One of derive steps is fin/key... That looks pretty nasty for QUIC.
If one split the derivations and generated finished directly, that
would not require any extra permutes.
For binders, direct generation seems to save one permute (residual
gains pointless TH_CH0, but that should not be an issue). Direct
finished also seems to save one permute post-handshake.
I feel like Derive and DeriveN could be unified. All the tagging does
not feel efficient either (15 bytes for k == 1, 15k+10 otherwise).
One idea:
frame("out_") || label_1 || uint16(len_1) || label_2 || uint16(len_2) ||
... || label_k || uint16(len_k).
Which is 5k+6 bytes (11 bytes for k == 1). And one could hack extended
labels by reserving labels starting with NUL.
(No need to encode k because this runs to the end anyway.)
> Security considerations
>
> - There is no full proof of the schedule yet, like the one for TLS
> 1.3's key schedule. The main open step is the one that mixes in the
> key exchange's shared secret.
Flat sponge is a very poweful assumption, so it should be provable.
-Ilari
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara