[TLS] Re: Working Group Last Call for Post-quantum Hybrid ECDHE-MLKEM Key Agreement for TLSv1.3
John Mattsson <john.mattsson@ericsson.com> Fri, 10 October 2025 06:41 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 927C9707D91C for <tls@mail2.ietf.org>; Thu, 9 Oct 2025 23:41:05 -0700 (PDT)
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_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_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 lBpV4ELHN1QS for <tls@mail2.ietf.org>; Thu, 9 Oct 2025 23:41:02 -0700 (PDT)
Received: from PA4PR04CU001.outbound.protection.outlook.com (mail-francecentralazon11013034.outbound.protection.outlook.com [40.107.162.34]) (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 64547707D90F for <tls@ietf.org>; Thu, 9 Oct 2025 23:41:01 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=WO3R2BCHiZ3k0Xd02WqR6sNYN7m1qsSmD1/80Bz5JwooL2J8VSDRE+6wvWRTaKl+lQQ2krjaDTgMLWy+OCnJvoiyYvqQxzWJRcSLKlt6bvi67tC2Z1dJqzR/SdcLHrEeZkt3D6oWmapLKtNgQ4pjz/w0ZsdWDgP2f+QWXpjH/PdUn6bLKwBlWr9oab2acJ7/6460waErK/6H3RNUEihCJCrmfDNTrQLkd8+GmZtBRKRaz4UNM82TrN27deUyA8xSIhLHVWlh/OzqK/9+jHOz1c8Jo6A8J6NRVd8Fx1OG0X715eb/w5/w8IuFSQrYTswRWanQCLYeC9UbWIH37dD0Ww==
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=rr7OeeE0HG9e9LGsnDiyxBSJSpI3IWRSNlgnlwTOYmg=; b=RAJ/unXWle20YBIz6erObxLMLo9tYsDlzsTrelVxFGoupLjjxJB4fPw1SI6lCk0lr4daEFrM/dr8zfleZpa1cW/YWcOTmWH45ZNPfcHzUDrQveoDya44vuBuYhZoGoH9EYsn2DsKvyKtNjtyW2UFUL3eQsqRmGl2kWpUl+Z02sKUe8EnhgyXgy9Dnpp1jWEmxB7Ik9CIgQtO/qjl67cK95/B7uUAdC99MPtvpDSSjYrl5i9lEMZxxLvf7u81reNoBIx0IfrNxpkTXVkIfIrucz17KnFUSKzFralVwAVsDe023m76CplAw9tJQwfFFqiaa7tgdF0Gb61Y2Wkno/r4Ng==
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=rr7OeeE0HG9e9LGsnDiyxBSJSpI3IWRSNlgnlwTOYmg=; b=F/uAUnzSkh7KgdMFBKb3GULEB6cKH9SIQSuZWHBXwZ1y1/i2mp8nkH6FCuWKnE2MaPM4PtFftFU8A/UIdij6wzQO6609vTmgPg5z0gOTgtZnc+WCDYdgrqhf0riYHVYbASN3oouj9AIkPQbsnMsOF1LPeaNysKMBXRsrgFT0YUstgX3VgyUpdSEFN6YU/F4eDCTZjeq7g8687R0MKx2RLUEviRuMkf2ltDMuTUPbe64rTxMvPPi/IiHR3xtqc0JcCghZiZwerXrKADM8j52NwqFZLDrKg/ZspeLJ/R4kqX4yV+BOwRqS6GpH4hg/11Pyg4fp3BIy2wC6Q8Zmz++TvQ==
Received: from GVXPR07MB9678.eurprd07.prod.outlook.com (2603:10a6:150:114::10) by PA4PR07MB7262.eurprd07.prod.outlook.com (2603:10a6:102:f4::9) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.9203.10; Fri, 10 Oct 2025 06:40:51 +0000
Received: from GVXPR07MB9678.eurprd07.prod.outlook.com ([fe80::bcf3:3f45:888e:a4b8]) by GVXPR07MB9678.eurprd07.prod.outlook.com ([fe80::bcf3:3f45:888e:a4b8%3]) with mapi id 15.20.9203.009; Fri, 10 Oct 2025 06:40:51 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: "Kampanakis, Panos" <kpanos=40amazon.com@dmarc.ietf.org>, "D. J. Bernstein" <djb@cr.yp.to>, "tls@ietf.org" <tls@ietf.org>
Thread-Topic: [TLS] Re: Working Group Last Call for Post-quantum Hybrid ECDHE-MLKEM Key Agreement for TLSv1.3
Thread-Index: AQHcOTco9fPx0wvNDEG226hGgvXyA7S6skEAgAA8O5w=
Message-ID: <GVXPR07MB96787960DCEB12341CF0651789EFA@GVXPR07MB9678.eurprd07.prod.outlook.com>
References: <CAOgPGoA+c8kXDizwsvFG5tLz9+Kxk0HqiN1skKp5jMvvpxeu0Q@mail.gmail.com> <20251009160139.42473.qmail@cr.yp.to> <DM5PR18MB2326D93261B74BECF06061B4ABEFA@DM5PR18MB2326.namprd18.prod.outlook.com>
In-Reply-To: <DM5PR18MB2326D93261B74BECF06061B4ABEFA@DM5PR18MB2326.namprd18.prod.outlook.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_|PA4PR07MB7262:EE_
x-ms-office365-filtering-correlation-id: 3d1d85ab-8a46-4942-3ada-08de07c7f46c
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|366016|376014|4022899009|8096899003|13003099007|38070700021|7053199007;
x-microsoft-antispam-message-info: VJSdFXcczeWHTAf07SzNcWqu/VWOrjHQ8QgdzKVMy04NDhiFBB0PU/DN8XL80xzZ0d9jrHDfLpL4Svql+kZjin/QGMfEivGYTUIUCPuBksBIv73pJkYfNoEBTtXOm4LhR8rL2swKhRVJLgJrfrD3zl2yzKKcpXuQdpsTg6NWKO8WyntnBXwm8i4pNGWxuFUW+GOyd2fpraYqxCNcbf3rEXS+zZhxJijjjNZpzbajV4meJ1pLEjZEPxLR8XvDaXM0ps2yOPnzRQcfwytfhM3Q3oxRsmJUpXTlypK0w7+NZiIDSnAw49zgTnG5T2twJTRJn7QD75GlFt3R9+O9KXRwGMgot7nCP2ZzEJmzOaCIRV4wr5DhnXjDg/JPKyQy0ofLQ3usJ/1/derTx8ahAaA5M65qd4szXg/vmlx+2Om0k+gR9CKW7ZDcmRzoiFQ9aliaZSgUES7+2VEE6OxE4tQBU7PCWeIukk/R1bdI9UpOTvCGzEs83MC9KG+jOzNSyUq5Mj59imeYA0BOzr+Ef8wCyMMOSE7iK8GwGQ1J0uyFl3DWqk7JTDHCz6AzHVtw7pXYoqhhlNHHuZIgyHTf7Q+Y3m26zpQ84kDb6LZH5XmUw3MdXnJ7HTePgadh423ScDyJXIX9CKAXNINnqa93Pu25z6h4eXj9e1hfbgywDr/sj0RE6OAk4+OMND9ng45oZbSGbu0khm3NYdc8FXpdnEac7SBm5uhgmiMVFZvHP1WSPGF8FvqGKMVD0sLvSkc0bsxiw6mgX2RFU/KuWYnIWEKZBwUibbRLFaHZqmsY9rqGl0ehDbc1Nft0ZNT3p3Fs0gSZnyeyYv1uxddUKs4Isa2nauPYAVKzYpeTPYF+mJnEADQYaXzc1GPk0Y6ciqzGhC9QIwhh2fA0MdN92gI03exzsloBzehj5TY0EQCB/fUDDGamOkHGdMpkIPRvUio0ksYAiM1yVPnNQWmrIqYKbVgR4EYzYpe9l4UGsWX7Q1QuFJ99NiJ/1z4P4sYyYWFMlc6t03GZDfxAofGklrLLUNZj1Yte4J8byn3n/kE6cskSl3JhMhQbqJx65rAVSm3SlY/ICuKm3y8EmWSiGuFGoTIQW1lE/IEah1wnCXcmKad4bk5W8+mwLe/GypobNFQYl23r177ykkIo0HEUGQ/skApjCBjrcLw65bFStiPOamt7CdHd9mLlWdOqSosHyOvFvGCbXigH7fbcGlkBkYCDF0FD2sm8RkbRaQKRcDazUv+ebO3M/lX/PUCt/qFXo1WrRW7C9GOEVtBezUKntUHlOoJd3ktIUTOMmayj9tE2HP4w5XSw5pJFIvJLrZ5zHr7P9ONsGUwVxgak34Y0z61eGm/easBjHBofEzSdoSk3w3pV3FKrQVA7rBnHGT4D73pzs72H6/3Vq3W2zUxB5ZLg4NGMlHMEi+keRgSglaBKJ37ZSHlTlCMPgHzbvfUvU8hDLP2l
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)(366016)(376014)(4022899009)(8096899003)(13003099007)(38070700021)(7053199007);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: 2s031jZXRW4gruF8EKsmMVQgw3C0kxmxn2hgjhZH7tOsjc7auZormej7QXNc4ZOYf1HkTABKHvB92vU677T3yDsB3eAOr0mT2xuCvf/8ND5xVTnS5sY3zgsK0pb8TZbceuuovZhAnEVX1wLF02bV/HEbJxwlX0SXX+T8eViQENEhp+iZZ4VlFfMhQy+cQg3zJ0fOper2ZSBPeiHUmhZCAMy/phDEZRZqc6mrjmamgzzaTCK5gPZCw1E5En9d1UX+9zcXh8uDfbLVgBKOW0jEQdNdC749UAcUHzTTrLLrWKtmCdyi6h8Crfqv9WvO2/OSkIk5Wm0I5rBcf72cZ9lDU4Bk4J/zmzStPuucZu1O6p6YLALZOFNuuAxVMj5xD3dXoHxQPlB+WWWCnhwODVbLW2xmTogs+7bBUgEOmlw3/zKQ/W7yvTx5Vcqn/SP7PWr2LdwgtPYfcoIlVVGFnrLAf9w1I7UkjmkGq3ZUiZI8GNzrQQN+SreX6ahXzWsH7XAFW+oUH+2mvsuNH8QLcOdziB6eCNjPW6IOxfwhooeYTgRsWm+VgIk9jPJ+vvP2HT52NfKm2qCneiOx4cT58F8+7PSV6Yb2UDIpsWbeOtHXCGS5IzPl+IQr0HF31l1sGSDmc5s9VNgOhO5XmUyKkxZwH5dsaWaiVmdJUV1xoteuuTA+bPHoGay2PzDOQZGmUCIsYa3+QW7DhOVJisPiANy0OCKg8aql95Q4S/j6rt3OhkNBbP/TW9PFEekdtb/e6Wij3dhuWF9FwwA7IVAXk3kmcntVhoT0S6KY5uIx3hiqNsbZk+6u0ajE09qlXN2n7NWDd8MZF84eq/bWTbRtpuqvqjFYAbiY5Gp2Vytl7+pCvw2sxpwWd8i+oCL9EFDfVJylivYKfBaC8LVZu0ZUQSSA8vn+BoIk67YHaEeluEHLmjpI0RneR0cniWHojxGdMInDnf1oZy0Vm5TZQjXXTL7FaQ1zXm7GLcq039RkpKKs0KETpcKWx8jHUXiGmuqrClvnJjZR9jLSkPx60LgZIuYgnyJW2p1h6e0hkKvCq339htWkOht82xm7sFOynGSIdauWtSY/ZoeXBY/dmYKYAX5RgBdUjH/wie1JXk2cg+rUfAsRRyrNw5r089kngyyvGno1OXlvaiKaxXOrDBdlg4Zy34MbJNI6GOimhWkiEbP7uteH/PGvbze0VxH59qFwNEvST+MiZWeRigY7+Fr5xf+bxpBPtoOE+ILQlJQTcVITeXlaA1JvzETeSaHWYIGuUNI20U2++uc8wzfyBO5ffGYhEKb833ls2TlDnEValdcRKMvX5zfwBCR2YrtPTFaxjy7ft2MPldT4StDEwyZ+TY1PoojOLifuxBA1g1xSCvhHJI+QXYT5Zsi72w9mDHTRU1tNwC/Vn9UtjaiogZd+JCVK/3BS82dq7df5qlchTICuoOJYnDUZaGelGY8iFccnwz1+XLGiPMgdxYlwZjGYRRhEKiZO7OGS2EFnA9fKBmJ/ZF+WcknAU9EkvjM3nTTSdN4sy6krfz6KozU5D5uUeKEDqWtZoVq4tyVEE+zEvmga3F7FYl+rwWevyJfgTVsasKtmSbW87mamlUd7sCUZPzCWY/b5JrAYGfU5BwbGX4AcDYc=
Content-Type: multipart/alternative; boundary="_000_GVXPR07MB96787960DCEB12341CF0651789EFAGVXPR07MB9678eurp_"
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: 3d1d85ab-8a46-4942-3ada-08de07c7f46c
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Oct 2025 06:40:51.3612 (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: 5mzVlR49bsPeGg+vXaUXtifhC3Pcz4W7Vj4XhRKPJ5SLXXCZlI3aENZr76GmTGdf6+sq+xewiC++wuO7Q5BkjxJvJ57NpHXrs6po36OCbDA=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: PA4PR07MB7262
X-MailFrom: john.mattsson@ericsson.com
X-Mailman-Rule-Hits: implicit-dest
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-tls.ietf.org-0; nonmember-moderation; administrivia; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
Message-ID-Hash: H6UBPS4OWURD6ZVSJWWGUPR2PZLRDNKN
X-Message-ID-Hash: H6UBPS4OWURD6ZVSJWWGUPR2PZLRDNKN
X-Mailman-Approved-At: Sun, 12 Oct 2025 08:52:36 -0700
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: Working Group Last Call for Post-quantum Hybrid ECDHE-MLKEM Key Agreement 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/vyPYgOR4MN5GGkGfS9fZ2fMCug0>
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>
Date: Fri, 10 Oct 2025 06:41:05 -0000
X-Original-Date: Fri, 10 Oct 2025 06:40:51 +0000
>P256 and P384 are risky choices now and the solution is for the draft to include only your curves with MLKEM768 or 1024? Anything that can go wrong, will go wrong. History is full of libraries with no built‑in point validation, libraries that perform point validation incorrectly, or libraries that leave point validation entirely to the user. While P-256 and P-384 can be used correctly, many implementations violate NIST’s requirement for point validation. The risk increases further because many implementations also violate NIST’s requirement to not reuse ephemeral keys, which breaks session‑key independence. I don't think Ed448 can be described as a Bernstein's curve. I think the draft should discuss the performance differences. This is likely very important for readers of the document. For optimized implementations, X25519MLKEM768 is significantly faster than SecP256r1MLKEM768 which is significantly faster than SecP384r1MLKEM1024. And as optimized ML-KEM is significantly faster than X25519, they are all significantly slower than standalone ML-KEM. https://blog.cloudflare.com/es-es/pq-2024/ Performance is practically an extremely important security factor as slow performance often lead to violated requirements. Cheers, John ===== NOTICES REGARDING CONTRIBUTIONS ===== It has come to my attention that some people want to limit the freedom to use information in IETF contributions. I am hereby explicitly dedicating my message above to the public domain. From: Kampanakis, Panos <kpanos=40amazon.com@dmarc.ietf.org> Date: Friday, 10 October 2025 at 05:03 To: D. J. Bernstein <djb@cr.yp.to>, tls@ietf.org <tls@ietf.org> Subject: [TLS] Re: Working Group Last Call for Post-quantum Hybrid ECDHE-MLKEM Key Agreement for TLSv1.3 P256 and P384 are risky choices now and the solution is for the draft to include only your curves with MLKEM768 or 1024? Come on man! -----Original Message----- From: D. J. Bernstein <djb@cr.yp.to> Sent: Thursday, October 9, 2025 12:02 PM To: tls@ietf.org Subject: [EXTERNAL] [TLS] Re: Working Group Last Call for Post-quantum Hybrid ECDHE-MLKEM Key Agreement for TLSv1.3 CAUTION: This email originated from outside of the organization. Do not click links or open attachments unless you can confirm the sender and know the content is safe. It's good from a security perspective to see the increasing deployment of post-quantum cryptography. The most widely deployed option in this draft, namely X25519MLKEM768, is reportedly supported by ~40% of clients and ~30% of the top 100K servers, so presumably it covers ~10% of TLS traffic already, which is a big step above 0%. Regarding the choice of ML-KEM, the _hope_ that ML-KEM will protect against quantum attacks shouldn't blind us to the _risk_ of ML-KEM being breakable. Many other post-quantum proposals have been publicly broken (see https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcr.yp.to%2Fpapers.html%23qrcsp&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989450879%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=dToYMJzMW0WfzImt77QE3GJYIRPKOQ675B8zWASijZk%3D&reserved=0<https://cr.yp.to/papers.html#qrcsp> for a survey), including various proposals from experienced teams. Kyber/ML-KEM itself has seen quite a few vulnerabilities over the past 24 months, such as the following: * KyberSlash1 and KyberSlash2 (see https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fkyberslash.cr.yp.to%2F&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989483370%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=gxnx2kWM3sYrC78tIlZE4UV5IHfJ99t0Oa9swxvh5ok%3D&reserved=0)<https://kyberslash.cr.yp.to/> prompted two rounds of security patches to the majority of ML-KEM implementations, including the reference code. * https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fa%2Flist.nist.gov%2Fg%2Fpqc-forum%2Fc%2FhqbtIGFKIpU&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989503997%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=O6EiBy%2Fux3dGs%2BVnjGcxn2iqXefSjA7HIWDGXA0pic8%3D&reserved=0<https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/hqbtIGFKIpU> prompted another round of ML-KEM security patches. * https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprint.iacr.org%2F2024%2F080&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989524597%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=OfDcfsZr3r63YVcwlnz0y50WNjsZY8J7exgekKSDGe4%3D&reserved=0<https://eprint.iacr.org/2024/080> showed that NIST's claims of many bits of extra ML-KEM security from memory-access costs---see https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fweb.archive.org%2Fweb%2F20231219201240%2Fhttps%3A%2F%2Fcsrc.nist.gov%2Fcsrc%2Fmedia%2FProjects%2Fpost-quantum-cryptography%2Fdocuments%2Ffaq%2FKyber-512-FAQ.pdf&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989545230%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=Q0dlw3uYAWCFefNTPHQOF40ZHW6ODu0cfUuC%2FW3FCKA%3D&reserved=0<https://web.archive.org/web/20231219201240/https://csrc.nist.gov/csrc/media/Projects/post-quantum-cryptography/documents/faq/Kyber-512-FAQ.pdf> ---are, asymptotically, completely wrong for 3-dimensional attack hardware and almost completely wrong for 2-dimensional attack hardware. * https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Feprint.iacr.org%2F2024%2F739&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989565097%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=jE7OgJ547dKdS9QdqEAGwjjYo8E6ovc0p47EJUJtk7E%3D&reserved=0<https://eprint.iacr.org/2024/739> showed that the same claims from NIST are, on real hardware, almost completely wrong. NIST has not withdrawn the claims but also has not disputed these papers. * https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Flink.springer.com%2Fchapter%2F10.1007%2F978-3-032-01855-7_15&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989583408%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=mPpTv%2Fua7quTM4jiQ%2BoL5CWEXsPElqokHqHDEX4uejM%3D&reserved=0<https://link.springer.com/chapter/10.1007/978-3-032-01855-7_15> debunked previous claims that "dual attacks" don't work, and concluded that none of the ML-KEM parameter sets reach their claimed security levels. A Kyber team member has disputed this conclusion, writing "there remains a few bits to be gained by cryptanalysts before the security levels would be convincingly crossed", but in any case this falls far short of the security margin that NIST was claiming just two years ago. So it's good to see that the draft also meets the crucial requirement of having an ECC layer in every option. An ECC layer means that moving from today's X25519 (>80% of TLS) to X25519MLKEM768 definitely won't reduce security, even if ML-KEM collapses: i.e., we can comfortably _try_ to protect against quantum computers without risking a loss of security. However, the following two concerns are serious enough that I can't support this draft in its current state. First concern: The other two options in the draft make unnecessarily risky ECC choices, originally proposed by NSA in the 1990s. We've seen many ECC failures since then because of implementation screwups, and it's well understood (see https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcr.yp.to%2Fpapers.html%23safecurves&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989599880%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=PAvZ4crazKRRfKUCcqn9SJs187WRPf89Y0cNgrLP86o%3D&reserved=0)<https://cr.yp.to/papers.html#safecurves> how better ECC choices reduce these risks. For example, instead of using (x,y)-coordinates in ECDH and begging the implementor to check input validity (something we've seen going wrong again and again), we should be using x-coordinates on a twist-secure curve. I understand that there are some earlier standards requiring risky ECC choices. I haven't seen a coherent argument that copying this flaw will noticeably improve deployability of the draft. Meanwhile this flaw is contrary to the "improve security" goal in the WG charter. A sub-concern here is that, since MLKEM1024 is somewhat less risky than MLKEM768, it's reasonable for implementors to support MLKEM1024, but then the draft forces those implementors to use a poor ECC choice. This sub-concern is very easy to fix: add X25519MLKEM1024 and X448MLKEM1024. Kicking the can down the road, saying that these options can be added by another spec later, would not address this sub-concern. An implementor looking for the lowest-risk post-quantum option in _this_ spec is forced into a poor ECC choice; _this_ spec should fix that. Second concern: Kyber has always been in the middle of a patent minefield. The revisions to Kyber didn't do anything to move out of the minefield. ML-KEM, which is Kyber version 4, is in the same minefield. NIST claims that its license agreements with two patent holders (Ding and GAM) allow free usage of unmodified ML-KEM under those patents; but there's another patent holder, Yunlei Zhao, who wrote in https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fgroups.google.com%2Fa%2Flist.nist.gov%2Fg%2Fpqc-forum%2Fc%2FFm4cDfsx65s%2Fm%2FF63mixuWBAAJ&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989619589%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=6rhAtiP0BEZEWXZQaeg%2FxEsiWzFF4oMVHkh5SfT5io4%3D&reserved=0<https://groups.google.com/a/list.nist.gov/g/pqc-forum/c/Fm4cDfsx65s/m/F63mixuWBAAJ> that "Kyber is covered by our patents". I haven't heard reports of Zhao asking for money yet, but I also haven't seen a patent analysis explaining why Zhao is wrong. What happens if a patent holder in, say, 2027 starts writing to one company after another saying "Here are records showing you've used ML-KEM, now pay $50000"? Probably a typical company pays the $50000 and promptly disables ML-KEM, regressing to the undesirable situation of users _definitely_ being unprotected against quantum attacks. Getting a patent-free replacement to the same level of deployment will take years. The only way to provide interoperable post-quantum cryptography in this scenario is for a patent-free post-quantum option to be implemented and allowed everywhere, even if the patented option is default. Every spec should be taking responsibility for providing patent-free options. As above, kicking the can down the road does not address the problem; it means that the necessary job doesn't get done. I'm not saying the WG should be trying to do patent analyses---on the contrary, IETF has a rule saying that it won't decide validity of any particular patent. I'm saying that the _claims_ from patent holders regarding ML-KEM warrant adding more options to mitigate patent risks. ---D. J. Bernstein ===== NOTICES REGARDING IETF ===== It has come to my attention that IETF LLC believes that anyone filing a comment, objection, or appeal is engaging in a copyright giveaway by default, for example allowing IETF LLC to feed that material into AI systems for manipulation. Specifically, IETF LLC views any such material as a "Contribution", and believes that WG chairs, IESG, and other IETF LLC agents are free to modify the material "unless explicitly disallowed in the notices contained in a Contribution (in the form specified by the Legend Instructions)". I am hereby explicitly disallowing such modifications. Regarding "form", my understanding is that "Legend Instructions" currently refers to the portion of https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fweb.archive.org%2Fweb%2F20250306221446%2Fhttps%3A%2F%2Ftrustee.ietf.org%2Fwp-content%2Fuploads%2FCorrected-TLP-5.0-legal-provsions.pdf&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7C8cad2bc84b1a46fe716208de07a9889c%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638956621989639895%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=cfrhwGSukIJrWCc%2FVnH%2FJscSm1xcPETMdvHoiOEGwco%3D&reserved=0<https://web.archive.org/web/20250306221446/https://trustee.ietf.org/wp-content/uploads/Corrected-TLP-5.0-legal-provsions.pdf> saying that the situation that "the Contributor does not wish to allow modifications nor to allow publication as an RFC" must be expressed in the following form: "This document may not be modified, and derivative works of it may not be created, and it may not be published except as an Internet-Draft". That expression hereby applies to this message. I'm fine with redistribution of copies of this message. There are no confidentiality restrictions on this message. The issue here is with modifications, not with dissemination. For other people concerned about what IETF LLC is doing: Feel free to copy these notices into your own messages. If you're preparing text for an IETF standard, it's legitimate for IETF LLC to insist on being allowed to modify the text; but if you're just filing comments then there's no reason for this. _______________________________________________ TLS mailing list -- tls@ietf.org To unsubscribe send an email to tls-leave@ietf.org _______________________________________________ TLS mailing list -- tls@ietf.org To unsubscribe send an email to tls-leave@ietf.org
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Paul Wouters
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Bas Westerbaan
- [TLS] Re: Working Group Last Call for Post-quantu… Watson Ladd
- [TLS] Working Group Last Call for Post-quantum Hy… Joseph Salowey
- [TLS] Re: Working Group Last Call for Post-quantu… Bas Westerbaan
- [TLS] Re: Working Group Last Call for Post-quantu… David Adrian
- [TLS] Re: Working Group Last Call for Post-quantu… Loganaden Velvindron
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Deirdre Connolly
- [TLS] Re: Working Group Last Call for Post-quantu… Kampanakis, Panos
- [TLS] Re: Working Group Last Call for Post-quantu… Viktor Dukhovni
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: Working Group Last Call for Post-quantu… Kampanakis, Panos
- [TLS] Re: Working Group Last Call for Post-quantu… Watson Ladd
- [TLS] Re: Working Group Last Call for Post-quantu… Kris Kwiatkowski
- [TLS] Re: Working Group Last Call for Post-quantu… Viktor Dukhovni
- [TLS] Re: Working Group Last Call for Post-quantu… Bas Westerbaan
- [TLS] Re: Working Group Last Call for Post-quantu… Kris Kwiatkowski
- [TLS] Re: Working Group Last Call for Post-quantu… Loganaden Velvindron
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… tirumal reddy
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Andrei Popov
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Yaroslav Rosomakho
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Jan Schaumann
- [TLS] Re: Working Group Last Call for Post-quantu… Watson Ladd
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Andrei Popov
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Thom Wiggers
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Rob Sayre
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Deirdre Connolly
- [TLS] Re: [EXT] Re: [EXTERNAL] Re: Working Group … Blumenthal, Uri - 0553 - MITLL
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… David Benjamin
- [TLS] Re: [External⚠️] Re: Working Group Last Cal… Yaroslav Rosomakho
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Eric Rescorla
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Andrei Popov
- [TLS] Re: Working Group Last Call for Post-quantu… Martin Thomson
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Andrei Popov
- [TLS] Re: [External] Re: Working Group Last Call … D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Viktor Dukhovni
- [TLS] Re: Working Group Last Call for Post-quantu… Yaroslav Rosomakho
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Filippo Valsorda
- [TLS] Re: [External] Re: Working Group Last Call … Muhammad Usama Sardar
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: [External] Re: Working Group Last Call … John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… Watson Ladd
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Deirdre Connolly
- [TLS] Re: [EXT] Re: [EXTERNAL] Re: Working Group … Bellebaum, Thomas
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… Bellebaum, Thomas
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Deirdre Connolly
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Rob Sayre
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Rob Sayre
- [TLS] Re: Working Group Last Call for Post-quantu… Yaroslav Rosomakho
- [TLS] Re: [EXT] Re: [EXTERNAL] Re: Working Group … Bellebaum, Thomas
- [TLS] Re: [EXT] Re: [EXTERNAL] Re: Working Group … Blumenthal, Uri - 0553 - MITLL
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Dennis Jackson
- [TLS] Re: Working Group Last Call for Post-quantu… Jan Schaumann
- [TLS] Re: Working Group Last Call for Post-quantu… Stephen Farrell
- [TLS] Re: Working Group Last Call for Post-quantu… Joseph Birr-Pixton
- [TLS] Re: Working Group Last Call for Post-quantu… Robert Relyea
- [TLS] Re: [EXT] Re: [EXTERNAL] Re: Working Group … Bellebaum, Thomas
- [TLS] Re: Working Group Last Call for Post-quantu… Kris Kwiatkowski
- [TLS] Re: Working Group Last Call for Post-quantu… Alicja Kario
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Kampanakis, Panos
- [TLS] Re: Working Group Last Call for Post-quantu… Bellebaum, Thomas
- [TLS] Re: Working Group Last Call for Post-quantu… Bellebaum, Thomas
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Deirdre Connolly
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Jan Schaumann
- [TLS] Re: Working Group Last Call for Post-quantu… Sophie Schmieg
- [TLS] Re: Working Group Last Call for Post-quantu… Christopher Patton
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Muhammad Usama Sardar
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Rob Sayre
- [TLS] Re: Working Group Last Call for Post-quantu… Kris Kwiatkowski
- [TLS] Re: Working Group Last Call for Post-quantu… Viktor Dukhovni
- [TLS] Re: Working Group Last Call for Post-quantu… Jan Schaumann
- [TLS] Re: Working Group Last Call for Post-quantu… Kampanakis, Panos
- [TLS] Re: Working Group Last Call for Post-quantu… Alicja Kario
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… Alicja Kario
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Deirdre Connolly
- [TLS] Re: [EXTERNAL] Re: Working Group Last Call … Rob Sayre
- [TLS] Appeal Response to Rob Sayre - was Re: Re: … Paul Wouters
- [TLS] Re: Appeal Response to Rob Sayre - was Re: … Rob Sayre
- [TLS] Re: Working Group Last Call for Post-quantu… Salz, Rich
- [TLS] Re: Working Group Last Call for Post-quantu… Blumenthal, Uri - 0553 - MITLL
- [TLS] Re: Working Group Last Call for Post-quantu… D. J. Bernstein
- [TLS] Re: Working Group Last Call for Post-quantu… Jan Schaumann
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… Alicja Kario
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: Working Group Last Call for Post-quantu… Alicja Kario
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… John Mattsson
- [TLS] Re: Working Group Last Call for Post-quantu… Peter Gutmann
- [TLS] Re: Working Group Last Call for Post-quantu… Yaakov Stein
- [TLS] Re: Working Group Last Call for Post-quantu… Kampanakis, Panos
- [TLS] Re: Working Group Last Call for Post-quantu… Bellebaum, Thomas
- [TLS] Re: Working Group Last Call for Post-quantu… Bellebaum, Thomas
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Robert Relyea
- [TLS] Re: Working Group Last Call for Post-quantu… Kris Kwiatkowski
- [TLS] Re: Working Group Last Call for Post-quantu… Eric Rescorla
- [TLS] Re: Working Group Last Call for Post-quantu… Simon Josefsson
- [TLS] Re: Working Group Last Call for Post-quantu… Sophie Schmieg
- [TLS] Re: Working Group Last Call for Post-quantu… Alicja Kario
- [TLS] Re: Working Group Last Call for Post-quantu… Joseph Salowey