[TLS] Re: New Version Notification for draft-sullivan-tls-xof-ciphers-00.txt

Ilari Liusvaara <ilariliusvaara@welho.com> Wed, 08 July 2026 10:33 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@mail2.ietf.org
Delivered-To: tls@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id B19FE112DE1D4 for <tls@mail2.ietf.org>; Wed, 8 Jul 2026 03:33:15 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783506795; bh=fVOdBeTMF5B0YwBYPa5FanzzxfTTqTRx0Jjr4GrefqI=; h=Date:From:To:Subject:References:In-Reply-To; b=C2xTQWPl9C4nhkK0JdCOZVPFWLTOoce09fg9ITqJHkU1bix1xLUwT28E7CR35MEsz xE9uCEsZ2/1luJeAsHd3uZ4M5bKqQPFr9DC2gqECvkgrYm6abS0qFX/icLiYpEouO0 Z/jDam3DVZwG8sxoMyQvj39InknMN5GbBS7kdq9c=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=welho.com
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OJQuga2AgOr0 for <tls@mail2.ietf.org>; Wed, 8 Jul 2026 03:33:15 -0700 (PDT)
Received: from smtp.dnamail.fi (sender103.dnamail.fi [83.102.40.157]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id DC375112DE1CF for <tls@ietf.org>; Wed, 8 Jul 2026 03:33:14 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by smtp.dnamail.fi (Postfix) with ESMTP id 359AB409A3B6 for <tls@ietf.org>; Wed, 8 Jul 2026 13:33:07 +0300 (EEST)
X-Virus-Scanned: X-Virus-Scanned: amavis at smtp.dnamail.fi
Received: from smtp.dnamail.fi ([83.102.40.157]) by localhost (dmail-psmtp02.s.dnaip.fi [127.0.0.1]) (amavis, port 10024) with ESMTP id uHtXpg2Uk8OO for <tls@ietf.org>; Wed, 8 Jul 2026 13:33:06 +0300 (EEST)
Received: from LK-Perkele-VII2 (87-92-117-27.bb.dnainternet.fi [87.92.117.27]) (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 874924098F36 for <tls@ietf.org>; Wed, 8 Jul 2026 13:33:06 +0300 (EEST)
DKIM-Filter: OpenDKIM Filter v2.11.0 smtp.dnamail.fi 874924098F36
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=welho.com; s=2025-03; t=1783506786; bh=hX9Qq7hLpg8e/NQ61DSq8Dswc4K3tR2MAGazYEWPNGA=; h=Date:From:To:Subject:References:In-Reply-To:From; b=jA61J8rexIx2Khi6O5cXojOJFvgd9b1zggFBgwX1Sku8H9py2FeP700nqxRx0TUeF QD46/Xxy8YNy/f8B40KGwjwxqDhklAOYOKLeHQy4q7KPoSO4PtWT8Zp15Mt6Zv2U34 6yU9dEGv0pgtAJRgCdav8qEjG+jh9LDHjOn5sD88FM7lnS1nquBjU9EUX/L0GliSjp 0IoRDYJU/IpGgh6ru6afnoheyTEZaG5Rz2cEkane/uKOdgTFiGx76ocyRHKLmJ7v8z ed7TfZj9CkiMc/ITsrZr2tLNZkXbvcs7brW22I/nYPYupGAmkuYTIfrw7Ewgu+OeIZ Qan6+fJiAww6Q==
Date: Wed, 08 Jul 2026 13:33:02 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: "<tls@ietf.org>" <tls@ietf.org>
Message-ID: <ak4nXp2FabeuTy5K@LK-Perkele-VII2.locald>
References: <178337862867.322525.625506674684583095@dt-datatracker-57b5d8f849-zrqfx> <CAOjisRx62wHM_ePa5EzwLoJSxvUydYksAN4XhbQ8sF=URrJqHQ@mail.gmail.com> <AS4PR07MB8825D308A80A6B5512070E4889F02@AS4PR07MB8825.eurprd07.prod.outlook.com> <ak0vFIGK3NiyaXzS@LK-Perkele-VII2.locald> <CA+iU_qn9vG+DXvyHJB+=K=u33trb9Z3AFfzsoX2UeejzW1r9dw@mail.gmail.com> <CAOjisRyPxrdm6=Dyo+7kUscZCM2mjZCkSx7-rqtT7f=Rg-oMsg@mail.gmail.com> <9E26E27B-9940-485B-B3BD-E4B03089FFEA@thomwiggers.nl>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <9E26E27B-9940-485B-B3BD-E4B03089FFEA@thomwiggers.nl>
Sender: ilariliusvaara@welho.com
Message-ID-Hash: T2JRKWH46YPH3RKUEV64CBGXFUHZ43NT
X-Message-ID-Hash: T2JRKWH46YPH3RKUEV64CBGXFUHZ43NT
X-MailFrom: ilariliusvaara@welho.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: New Version Notification for draft-sullivan-tls-xof-ciphers-00.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/rMGAFysty1AzXbiQEZTmRfTZibw>
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 Wed, Jul 08, 2026 at 11:04:40AM +0200, Thom Wiggers wrote:
> Hi Nick, all,
> 
> - Ilari’s construction, from a high level, looks like a re-invention
>   of the Deck construction. Nick already provided a performance
>   comparison, but I feel that re-inventing this wheel is a bad road
>   to go down and that we should instead stick to (well-analyzed)
>   primitives.

I did not set out to re-invent deck construction, but to optimize the
existing TLS 1.3 key schedule assuming XOF with wide enough blocks
(like (Turbo)Shake256). It is definitely not intended to be clever.

Heck, it still has the third handshake rachet, which so far does
not seem to do anything useful.


> On the draft:
> 
> - The draft spends a lot of time talking about how all of the hash
>   computations are updated. I have a very hard time getting through
>   all of that. 

I also had very hard time following all the key schedule stuff. Which
was a big reason for me to develop something that seemed much simpler.
 

> - Additionally, I feel that all sections not specific to instantiation
>   profiles should be generic — the MAC section hardcodes it to KMAC’s
>   design.

Yeah, the TLS 1.3 design seems just odd there. There might be a good
reason, like getting the proofs to go through with HKDF/SHA-2, or it
might just be cargo-culted.


> - Section 15.7.2.2 uses capital-MUST for things that are not
>   interoperability hazards. 

The erasure requirements look like trouble for pretty much any higher
level language, not just the ones with GC. Compilers like to spill
values to stack, and those are pretty much impossible to erase, as
there is no way to target the location.




-Ilari