[TLS] Re: WG Adoption Call for Post-Quantum Hybrid ECDHE-MLKEM KeyAgreement for TLSv1.3

John Mattsson <john.mattsson@ericsson.com> Tue, 18 March 2025 05:26 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 E6891D8822E for <tls@mail2.ietf.org>; Mon, 17 Mar 2025 22:26:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.086
X-Spam-Level:
X-Spam-Status: No, score=-2.086 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_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_NONE=0.001, T_KAM_HTML_FONT_INVALID=0.01] 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 VPEq85kEb6wu for <tls@mail2.ietf.org>; Mon, 17 Mar 2025 22:26:44 -0700 (PDT)
Received: from EUR03-AM7-obe.outbound.protection.outlook.com (mail-am7eur03on2047.outbound.protection.outlook.com [40.107.105.47]) (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 75E3AD88223 for <tls@ietf.org>; Mon, 17 Mar 2025 22:26:44 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=YvzHE/VWGmpEQt+pIMiJCAnuZVmKSech8CpX1UCXb+FEm5J4r4ePtA3MV98dtC0x5pgiL5pf9tQcQ5BxSa482hZki5TW05ShOiku1lSy3aMRZctZz4CtJ5O5aMlc0bisXBrNRUxQ0X8l0k27jt9FkxdEle4b/9XmA3qBLy7Q6yal5yy3VCUMGnaY694GYWBi9LW93a28AfjTZzjN2EhKsmgD1c8OMFPY5+HfB7cAu5mFzRLtbjzZpjxLJuJ/x/5fnKOx4gJC5YCevyby5Fp5OCq3BWNHitZTwjAlZesywOTHJRL1FcIzs51D6RP5mtFoWRd6r7g1YIAMn8S0JFwP2w==
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=ULeMT4M2CmPcOVt8ZGIGkBa7cHqgwm7/UxrJOUptqcc=; b=kEGcBe4sCAs8Fx54CyRzrpDRGZM98vNYIQXd4ZSqJ0aZejGxPHMv+JPeLO4OR2nCcITWEdcgMecBE13uj4LeS5vrFd4CzcPf9C4Xw1UA1jcYavsRVruIzMeXVNQ8L9CTbdqUw8Px028XwQ9XpjRatrV64TXvE8TAspN4Zc/BFxqhMHC2hzg21/IH6A4xCqaYCzQza1I7whWlK4LWK2E7xG6BxmDCpizHKTrrC4ZtfMdZkgPRgwq3F/7I4PdrZqivTaSganVXFD3j8s8ITOZCjbIINtJCqGXG4FVHoIswL+aMYQJsU/acj10Zgh+ozwji92A60Cskjt7JxD0rPuJhwA==
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=selector1; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=ULeMT4M2CmPcOVt8ZGIGkBa7cHqgwm7/UxrJOUptqcc=; b=GsMngQAAifm4b2IJLlQFhIMqCTrNOrESW164eSvkM73aaGyt8y/kHC9u6pXy1d6xMKNV8R/viHVItmb4xEShhHE4EFMnHWgqXJeZhVZ5uhL5KISgEFsBLhd1n617YtS1WkPtaML0MffJ6yrvNvy5qAmvmpyQLvV6dNBka4hH5am/h7iFiKCZyvNtBeoLPaG9xorpPBQL5oOh+lHvB1cu8rhAfvs6nMuGPQ6+opWjC5VgtoIlBl1YgAA+QQJzLrtIERLAs19CKpcEQ9Pbkt1WJxdy/v1ecTJr8DOWBaAFXTT3ZBQlaQE0el3WBtVOLXdx/0OzAKa3QAqno+rAxbouRQ==
Received: from GVXPR07MB9678.eurprd07.prod.outlook.com (2603:10a6:150:114::10) by AS8PR07MB7541.eurprd07.prod.outlook.com (2603:10a6:20b:2a8::13) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.8534.33; Tue, 18 Mar 2025 05:26:42 +0000
Received: from GVXPR07MB9678.eurprd07.prod.outlook.com ([fe80::bcf3:3f45:888e:a4b8]) by GVXPR07MB9678.eurprd07.prod.outlook.com ([fe80::bcf3:3f45:888e:a4b8%7]) with mapi id 15.20.8534.031; Tue, 18 Mar 2025 05:26:42 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: Andrew Scott <andrew@aes.id.au>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Re: WG Adoption Call for Post-Quantum Hybrid ECDHE-MLKEM KeyAgreement for TLSv1.3
Thread-Index: AQHbl8LiLrJK58ziNEqpviZJHJyPnrN4WZKL
Date: Tue, 18 Mar 2025 05:26:42 +0000
Message-ID: <GVXPR07MB9678E9E319E0471B5B33095D89DE2@GVXPR07MB9678.eurprd07.prod.outlook.com>
References: <CADPEYipGP3tQyxDa3ntm7qHrQbiQAUhCNv4JhvkahvqLgkJ+hg@mail.gmail.com>
In-Reply-To: <CADPEYipGP3tQyxDa3ntm7qHrQbiQAUhCNv4JhvkahvqLgkJ+hg@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: GVXPR07MB9678:EE_|AS8PR07MB7541:EE_
x-ms-office365-filtering-correlation-id: aef2f299-51b7-4669-c684-08dd65dd7783
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|10070799003|366016|376014|38070700018|7053199007|13003099007|8096899003;
x-microsoft-antispam-message-info: TnAfXYHHU+8Cm7rMddhofryYAfW/uyuoqKTJGa8OaRxMD7Wqv4p9NGSmKIY9qfg/DvfZFlClZxLMxAytGxLj4897dun8qRjKNxVzqrqUl2JQiq3/bLw8Xmszyxegkn+ophc1ZXSY8rrsr4BPpHFSS4fZbhyEaa7OB93WJvFv5E7IGET/CkUO7ImhcisHMKYNGJhWsbCG55K74PsuGsYaPsH8Xi14aGstp3KQ8krMYCX61g117OqGh7maosVc+EpOKvh4mLIFVxKfAL0VkMz3DTKUBbp75TLE1pXnm6b9Sc3C9+lcwlvsxWjHsRRmZw68emoWZ6AhH2Oa+ZtseF72zdMaVrtkWV+0iijCYx8DRM3/jPp5DFTSSjaUcn4sY1bbXpqvWEec6VClyGrtsD31StK6TMOMWZe5AKDBVs/rHvselx6UpMvAkgk/qfwwpjJWHdzU6yWn76721npwpm5tmIv7BLi54PWlasq33dp+3hiBnTGqkFBeh8v3zyg1ofhy/eRDdnetxaBeIsXDEyrOtTNMg+fRLbFDGYphDFKlNXFZH0SXd5plUl0jle+QuIyE0ngBBnu+M8hLPr6Ih3vyN8QoJqM77EvyZLvHrdBOUSeB4I0mMygfKPuA8D+f5Tk/qPMKdXgrKMo0vPWji/04l6rPoJ47VQhTjXzW52Q8sP94K0Xdwr1d+B7FHKToPQ2bOYEv0+eI1Vr592DKqzom7Dg4C5aEsZerY/8B6I6iCDCrSMa1iQ4ZAPQon5pbS1jek2W68HNskleJ2XXNwivvwaF4mvMVgEZE8F9ezejiH3gT+qdELmI0QGYYzhchr0YR1x1QxftMqw4KrO6VUij/+G+/tu/oiK49Z6xHUdn7kwRbLGnJoUAsRZojb+Rgs9TEQBH5CH/pj0nI1Y/NjZImmAKuZz9sCiQ03lGlc6kjJZjQzXsaZ8PQpyGIcRmLzkb2QuFLJnNcjnxB9j0K0Swhft36FlhhrRa9BUaMdFAn5+C/o7IS3VKfG4Wndo/SiB7D/26DDCXh5F6Fb1EecZii/lj2vSbIb1uDg+YK5ejPX0NSfcYNWIgkWrrgKEzLGGqvo4KnY1aDmdctttPZDBGLQ/zdQ07lwFD4uJj0z/R2l79xAKfwGyI6/XoTFzkKk8cveR29vC3sFzZADrkS4/LdbuOiSBX0nqEMOhKCizlOvtp2Xe6w18y+9b5H/8+luLKRERRS4DZ7lNQlp3A1z0xCOvITCph7QEUItbSZDAZbxMe19imluTp+CfWyg37wu8Une0qiuXCHKj2HMPtOcewn9ne2V6D1sCIqzvIt6WMEJxtzu9vDbxloJ8GT+280KC3KN6Vh5IsL3gyzyr9nQtZ4/K8XpAhfdLqzXHW1eEmA2dpcMgXBDstNKeIrPADmItyX
x-forefront-antispam-report: CIP:255.255.255.255;CTRY:;LANG:en;SCL:1;SRV:;IPV:NLI;SFV:NSPM;H:GVXPR07MB9678.eurprd07.prod.outlook.com;PTR:;CAT:NONE;SFS:(13230040)(1800799024)(10070799003)(366016)(376014)(38070700018)(7053199007)(13003099007)(8096899003);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: nPzpXMQtzTuC/vuWTBfPgbb8LraBOeXs7axmviD3l8G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tk3GlPraxiFkreuOb2U5HA1u633bAz9wGqRJLP7wtjRlwQhkHDtwJjjv8K+zhVHkx9DtYrjqrgenx3Fpui+RwpPoygTo/d1Fp8z1qiq2feN0bDUmVndQqlseXftbhFrXBlDN4Y80RLYZoNBFs8YKo+F54P3RexzQ7g1Fs3ydO3Ec/gEimfgd4dIMXTkbDCd+7LXxVHs/7sqndg6vS3xQpEWrYweg26M/fT5+FYldMDCxj4A8v8ytO8z/XlRfBxgdnK+zoED9YnR2GjdBksJwLvRWp0/f4VVoN6yhfy9mHx4S/Hp8VMBKdTMvXcsJ8sNoSCZ9cCxdv/o3k4bHCe2bvPmAILrvuSC6dDGiWGoAvbwcSWv5MsTLWWTfiZ5xOwQ7edn95go+AlsT2Vl1T4vaMBBEs/pf8kalHhtDn71Q09+zluL4cKWCG/T/ULvrDipxk2HAdhfQpqLfFTIXomn47woEjraM/babxp8TURafuubwxX23XSxqlrC+/qZiNOoGssDtrlG442XpAm5tmX3xWg8q0DDbNZe+2BOTdH4oJwYW62qaAjVbJD4xdjm4yp/wHGeTvuxVz/HPRWEgcvamrYMw=
Content-Type: multipart/alternative; boundary="_000_GVXPR07MB9678E9E319E0471B5B33095D89DE2GVXPR07MB9678eurp_"
MIME-Version: 1.0
X-OriginatorOrg: ericsson.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: GVXPR07MB9678.eurprd07.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: aef2f299-51b7-4669-c684-08dd65dd7783
X-MS-Exchange-CrossTenant-originalarrivaltime: 18 Mar 2025 05:26:42.3372 (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: XWrOGMWDIIZSWHgtIp6RxrhOWmyFGYA69FnHo3b0Y+4DiKQubRBL1O7DIPjIOwJNdnL8M+QjdcQqflDIGOkGmzTOTkt3+vqUvJg+XQZj5JA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AS8PR07MB7541
Message-ID-Hash: HF6PJWQN7XEMMNAJHELO7M2X6R2JBA2G
X-Message-ID-Hash: HF6PJWQN7XEMMNAJHELO7M2X6R2JBA2G
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; 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: WG Adoption Call for Post-Quantum Hybrid ECDHE-MLKEM KeyAgreement for TLSv1.3
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/TilxBWlS5f9kJMSZXUnMf4PFqQ4>
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>

Hi,

I think HQC is a good backup algorithm to ML-KEM for ephemeral key exchange. I would like to see HQC supported in TLS, but I would not use it unless something is wrong with ML-KEM (theoretical or implementation). If used in TLS key exchange, both the sizes of the encapsulation keys and the ciphertexts matter. HQC is also slower than ML-KEM, but ML-KEM is blazingly fast, even faster than X25519. See e.g., slide 9 of this presentation for an overview.
https://csrc.nist.gov/csrc/media/Presentations/2025/ml-kem-is-great/images-media/ml-kem-is-great.pdf

Due to the large public keys, I do not think Classic McEliece is very suitable for ephemeral key exchange in TLS. Classic McEliece is excellent for static encapsulation keys. If would be a good fit for ECH (or for authentication in a theoretical KEM-TLS).

Cheers,
John

From: Andrew Scott <andrew@aes.id.au>
Date: Tuesday, 18 March 2025 at 12:02
To: tls@ietf.org <tls@ietf.org>
Subject: [TLS] Re: WG Adoption Call for Post-Quantum Hybrid ECDHE-MLKEM KeyAgreement for TLSv1.3
You don't often get email from andrew@aes.id.au. Learn why this is important<https://aka.ms/LearnAboutSenderIdentification>
Some relevant additional detail from NIST's paper selecting HQC..

On Thursday, 13 March 2025 10:01 UTC, Alicja Kario wrote:
> NIST has selected HQC for standardisation this week... No idea about
> its patent situation, or if we want something with ciphertexts this big in
> TLS... (reminder: 4.4 kiB, 8.8 kiB, and 14.1 kiB for 128, 192 and 256
> bit level of security respectively)

As well as HQC's selection, NIST also called out   in their report as a possible future NIST standard once ISO/IEC is finished with it:
See https://nvlpubs.nist.gov/nistpubs/ir/2025/NIST.IR.8545.pdf
> In the event that Classic McEliece does become widely
> used through other standards, and that NIST remains confident in its security while also
> determining that there is sufficient need, NIST may develop a NIST standard based on the
> widely used version.

It has better ciphertext sizes, but much much worse encapsulation/decapsulation key sizes.

Andrew Scott
https://aes.id.au/