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

John Mattsson <john.mattsson@ericsson.com> Fri, 31 July 2026 07:08 UTC

Return-Path: <john.mattsson@ericsson.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 76DDF121735C0 for <tls@mail2.ietf.org>; Fri, 31 Jul 2026 00:08:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1785481721; bh=vfu24mOnUtEAselquHnvc0jGekoArHzhmYkpVVdTEb0=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=MYZxpFm1F3fex/dkx543A+pugItNsFu/sitFe9bPFq89kobFGadGsqSyvhsobwC7S V7XU7vK9ZscK+CmaR1KXI0saQVFuWsb/iCblEjcTVTeTBVf/WMQ5eeKbPybvZWjLrE 3tLSlipK8Xk9UDsldYnvmYTbsR6CJhE8W72AM+A8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.096
X-Spam-Level:
X-Spam-Status: No, score=-2.096 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=0.001, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_NONE=0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=ericsson.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 ZOI4-bO_d-_5 for <tls@mail2.ietf.org>; Fri, 31 Jul 2026 00:08:40 -0700 (PDT)
Received: from PA4PR04CU001.outbound.protection.outlook.com (mail-francecentralazon11013053.outbound.protection.outlook.com [40.107.162.53]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-384) server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 2417C121735B9 for <tls@ietf.org>; Fri, 31 Jul 2026 00:08:39 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=SkU3NoZcz8no5dgUhGyUUy7c9mw13N/rOj4NIk0X8EPiySbLaLGw0TgPVPIZMUe8C9uZVBzWEDHHffRbd//HUXxBLQ0yoffBYUau4/9ucyTbg1q5U5zQ6kHzHYcPw1MEZxVo4xgQEZd61eiBjn1Q8ekGIoGJyWKJpaYGk4Gw7fWGprmKh5FMJSb3xO0lGiJu6vUOMQiKVTP2VO4xzQuKAK6V8Ud//xA5mGCAtebPmFbM4mXnL/sFYLLFz0gZ6chBC2mxPnrq0GmgZuoI2AwqDI/pj0Ktnjvf2SfEVHhL110rZLq0k0SkeQ7ycEdcA2UhSspH/rWS5l7zQRPDntfv5g==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector10001; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-AntiSpam-MessageData-ChunkCount:X-MS-Exchange-AntiSpam-MessageData-0:X-MS-Exchange-AntiSpam-MessageData-1; bh=vfu24mOnUtEAselquHnvc0jGekoArHzhmYkpVVdTEb0=; b=GiFZD6Y/8QCc2bzH2qPft52Y0AigaB1yICL3p4FL7kUGVqZWALN7UsgLK3L58gSKD+RBkPdK1sTghhM4RgQHkDvTV0LS+hKriTv48qkzyGD5rfBc24B/FAbg/zgDxnR1N4g/N/WE1Go4o7MBghmmlEzco+H8ccHLs4LAtrEEgI/zrQ9SYyJossNTRMlLMjPqn0cYAufYUSRxs21SzPiJL4ONb+qbU4IjoAG54TvSHvdPFUNncIpEzB0QObBzeJcqezxSMCJvCYFxFkXebsZ4w+zLKTSFEkPRZdSoARJmhNe8QxmlThwk0x0HPVfuBRd1bcaCvfPuNkadqRFS/fS1Mg==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=ericsson.com; dmarc=pass action=none header.from=ericsson.com; dkim=pass header.d=ericsson.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.com; s=selector2; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=vfu24mOnUtEAselquHnvc0jGekoArHzhmYkpVVdTEb0=; b=LkFjOZ1YPyCzk43gIPjqXbeyPnONik5am5KH+UDU80+2GJQ1nDhu7wl+M3FVw3g4DwJAa4sKyV0iUwX7Tzynir4nEEYZJXqHeVgKtsxEuNJuioXjlEYUmMeUYmgroWUWxcM5xLWEExINJ/LSTz2DPt4HhUlHl3idEsWJ3m0tqQbnzu9ifc/IFo5CPncN2S4XoYGCqYlv3FhfsNVxK8fZzgtoMoPZww7alXWzguiTLhytVrrcBOA8NsebQZikZaJdYFovP0AleXkSkVrD7vb2md06m4A3rWH2vYGgIVubl0YRWJsgVEFx33NiCPx7/SjWOlO3Ydktr24N87T7FvgeJA==
Received: from AS4PR07MB8825.eurprd07.prod.outlook.com (2603:10a6:20b:4f3::15) by AS8PR07MB9525.eurprd07.prod.outlook.com (2603:10a6:20b:630::18) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.292.10; Fri, 31 Jul 2026 07:08:29 +0000
Received: from AS4PR07MB8825.eurprd07.prod.outlook.com ([fe80::11a4:5f37:fa92:f174]) by AS4PR07MB8825.eurprd07.prod.outlook.com ([fe80::11a4:5f37:fa92:f174%6]) with mapi id 15.21.0292.009; Fri, 31 Jul 2026 07:08:29 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Nick Sullivan <nicholas.sullivan@gmail.com>
Thread-Topic: [TLS] Re: New Version Notification for draft-sullivan-tls-xof-ciphers-00.txt
Thread-Index: AQHdHnt9OtJPdQ3gbES5x8+sRVlTPraHLiMAgAAGn54=
Date: Fri, 31 Jul 2026 07:08:29 +0000
Message-ID: <AS4PR07MB88252535766DC2F2F8924C5D89C82@AS4PR07MB8825.eurprd07.prod.outlook.com>
References: <AS4PR07MB88254ED7B2770683737DCADB89CB2@AS4PR07MB8825.eurprd07.prod.outlook.com> <CAOjisRyNkJLnMcZHPb8K2_1Q0y_FH=+ZfMnUExN5CRQ0mpJ5VQ@mail.gmail.com>
In-Reply-To: <CAOjisRyNkJLnMcZHPb8K2_1Q0y_FH=+ZfMnUExN5CRQ0mpJ5VQ@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-GB
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-reactions: allow
authentication-results: dkim=none (message not signed) header.d=none;dmarc=none action=none header.from=ericsson.com;
x-ms-publictraffictype: Email
x-ms-traffictypediagnostic: AS4PR07MB8825:EE_|AS8PR07MB9525:EE_
x-ms-office365-filtering-correlation-id: c13dedd1-9f04-4e11-7efa-08deeed28637
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|376014|1800799024|4022899009|366016|23010399003|3023799007|38070700021|10067099003|11063799006|4143699003|8096899003|56012099006|13003099007|22082099003|18002099003|6133799003;
x-microsoft-antispam-message-info: islhEe47fwIRYWKuuYL+EkSP4sVo7OK6qsiFRzmAmzOY+UlQMZjW4PQ+zvWbSA7KSpLMThEDNECsjlwpWKVlwAhRrcJpu5/Cc+e3o0DbB9fdjpN56MYtD94Jf3a7GE9io0jdktbb4IEi6e1oguGjWYN+NR0E8Yp4LHzzjqEr6utxrzelfuj9nhlZsyy7JW4UxteBjNSmvjednU2LD/WLAEkC1VqU24a+sm/3kp/RJS6aS/wJ4v986XXzLSNG1ffQN/r/hGsu4oNQMG6oZBz4M1Atu/8rrySHAeepm0MHP785Lg1QzmPT4VinJK0gE/5pGmcLdzbY4YA1jYr1VukCJHq/vgoqkpey+UMkO73ThVN9aAbNOrptvGGWE1yaQxj8JFW4TVoUncbrwp4tndPjfg/afKItAVvWPCW8lZ91/6Eu995yxtKVHG2+Rl0O18FF2AC2BS+JA4agx+Tov0D4oPctSP63EIDNZrMhmYosr28+bBPTchwb9SQq5L2dx9Eu5eBhSUGHy7VTIfZXeUrAuEz/o/knwVfb0156HVxoyixZcDw3fDIOaO05loZcfGcVRUsQzi5TqmRE2DbnS/9XLOrrenfu4tgxbbXSAwdjsKSfRn3A5s2pd1ZMZrmH0kdW4BHnSnbkuCCDW/0oUxYjE5lRVZ9GfWujx/az3oOT4iE=
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:AS4PR07MB8825.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(376014)(1800799024)(4022899009)(366016)(23010399003)(3023799007)(38070700021)(10067099003)(11063799006)(4143699003)(8096899003)(56012099006)(13003099007)(22082099003)(18002099003)(6133799003);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 1UgKr/uIYGz72bg8Gm3xINhLVQtQVH4zKxsVqR6HHisIbpHH0QF9bmJVXh53F47JgdqxuHusYA6xKIFicga9WszKrQo3FBAzneg+9UE2xdm7IiMtr/gtKlSSwghkEd4qF0PJgGeR8gufBnYa/C8WFUzf81iSp/sIKnrL//3YKo64Wq4xpSqPfKMiX1eFroFx6gbLsabPksbo+drdEFsBHMqtaI8Ht1+nmPe/BBew5GU9jyeiNyG9a06RvGop/2ejIxTAnRiBKhfeWVWicVdKIliuzEB8awF8ORorkMfepiuVX6PT/cygDw6gMFn5mGL6M5MxCix6R8JHPQgSnM0ucOQnCBLAbo7BsofcvwCfVh2tUuPtODvWo6R9akZL/b3vpMYo8BsJe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c+qjLGPt1CQ8Bqh69yUokgHUVjwP5AuBXfRVrCPEdPkkzOC6dlnEJnMqRed1LYiR/IXKMOqJNel7QyZxvbzYVvDJnOn5ntVUF/US67UK+nuXnk3++1X8L5rhK8jst/8eqdcLlwghiYYm6f+oEGnX4AoqbEfG9Q9wXArf9/XB84kQieeIAk4cIWk2tK7EFj/z9vkXT2ber30QWw1+b4JL1J53wVDPh2atwDBjZ956TR0cpR4DG8ZallRnz5Xo252LmFSH1RQt9GlvcPvmTi/kifs6hQRk=
Content-Type: multipart/alternative; boundary="_000_AS4PR07MB88252535766DC2F2F8924C5D89C82AS4PR07MB8825eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: AS4PR07MB8825.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: c13dedd1-9f04-4e11-7efa-08deeed28637
X-MS-Exchange-CrossTenant-originalarrivaltime: 31 Jul 2026 07:08:29.5388 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: BiAU6G2CClMMIVKfQ0dIYKTS0GRr8nu8FYN741HsVwYPc/EvobDq/lDwngDy/NORLE4tOeWXyye4fCDxVlKn9NyulmA8rREeTiz2PE99ZIc=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB9525
Message-ID-Hash: UQEWIKKO2XXPM3IOEVDTK6ZVZBKXZSCI
X-Message-ID-Hash: UQEWIKKO2XXPM3IOEVDTK6ZVZBKXZSCI
X-MailFrom: john.mattsson@ericsson.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; header-match-tls.ietf.org-1; header-match-tls.ietf.org-2; header-match-tls.ietf.org-3; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: "tls@ietf.org" <tls@ietf.org>
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/ojTD-iCwSwCm3nG7skSXfzjfObs>
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>

Nick Sullivan wrote:
>For now, I’d suggest we start by trying to apply this translation exercise for two or more protocols before generalizing or splitting out new documents.

That seems like a reasonable approach to me.

draft-sullivan-tls-xof-ciphers-00:
>deck function:  An extendable-output function evaluated over a sequence of framed input strings, with the output length bound into the sequence before any output is produced (Section 7.1). The construction beneath it is an XOF and takes no key parameter

Familiarizing myself further with deck functions, I have come to understand that a deck function is a keyed function. However, I am not particularly fond of the term “dec function”.
https://eprint.iacr.org/2018/767.pdf

Cheers,
John Preuß Mattsson

From: Nick Sullivan <nicholas.sullivan@gmail.com>
Date: Friday, 31 July 2026 at 08:26
To: John Mattsson <john.mattsson@ericsson.com>
Cc: tls@ietf.org <tls@ietf.org>
Subject: Re: [TLS] Re: New Version Notification for draft-sullivan-tls-xof-ciphers-00.txt

Hi John,

I’ve been thinking recently about how best to generalize HKDF-to-XOF key schedule updates across any protocol and I don’t think we’re there yet. As discussed here, there are a variety of ways to instantiate these intermediate representation-style key schedule functions (Derive, Hash, Ratchet, etc.) as functions of a XOF (duplex, OD, with/without KMAC, etc.). Choosing the right one depends on the shape of the key schedule and other factors. For now, I’d suggest we start by trying to apply this translation exercise for two or more protocols before generalizing or splitting out new documents.

MLS is a great example of a second protocol that could use this exercise. As specified, MLS depends on the same HKDF-based primitives as TLS but it piggybacks on HPKE for the definition of the key schedule’s Derive and Hash/Expand/Extract. When HPKE-PQ introduced (Turbo)SHAKE as a one-stage KDF, it didn’t define the equivalent Expand/Extract functions because they were not needed in HPKE. This left MLS, dependent on HPKE for its KDF definitions, functionally unable to use the new single-stage KDFs in its key schedule. This is probably a good thing because a direct mapping would be inefficient. A version of this TLS-XOF draft written for MLS would be a good test of the generalizability of the approach beyond TLS and a step worth taking before considering splitting this document up.

Nick

On Tue, Jul 28, 2026 at 2:28 PM John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org<mailto:40ericsson.com@dmarc.ietf.org>> wrote:
Hi,

Would it make sense to specify the deck function in a separate draft and then reference that from the TLS draft?

For example:

draft-sullivan-tls-deck-schedule + draft-sullivan-deck, or
draft-sullivan-tls-deck-schedule + draft-keccakteam-flightdeck.

I think this would make the architecture cleaner, simplify discussions within the TLS WG, allow the security analysis of the deck to be performed independently of TLS, make it easier for TLS to support different deck functions, allow deck functions not based on an XOF API, and a generic deck-function specification would clearly have value beyond TLS.

Cheers,
John Preuß Mattsson
_______________________________________________
TLS mailing list -- tls@ietf.org<mailto:tls@ietf.org>
To unsubscribe send an email to tls-leave@ietf.org<mailto:tls-leave@ietf.org>