[TLS] Re: WG Last Call: draft-ietf-tls-mlkem-08 (Ends 2026-07-08)

John Mattsson <john.mattsson@ericsson.com> Tue, 07 July 2026 17:17 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 477141122BD80 for <tls@mail2.ietf.org>; Tue, 7 Jul 2026 10:17:04 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783444624; bh=1g3d8xl0OaLAcd5MHv4LQ3/Aa/Uxso8l8QvNfwjzqGM=; h=From:To:CC:Subject:Date:References:In-Reply-To; b=CQ2oJdGqlXCTpbUqP9YRlqNx+i5Y8ao1BT/6/bFBFfWIWY3V9+wYCmGS6M+khUsrc Dibp+VfpM+WvUQzlvE2e8MrNfgmXmZuTyde16PbM8rHl/3QuW6hEL9HdV+RI+G7kEe fjw+yWMpzZZZ7fyanUKWVXw5NOP6AKBVhOeHjYU0=
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_DNSWL_NONE=-0.0001, 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 cLXoFlXzuHEe for <tls@mail2.ietf.org>; Tue, 7 Jul 2026 10:17:03 -0700 (PDT)
Received: from AS8PR04CU009.outbound.protection.outlook.com (mail-westeuropeazon11011021.outbound.protection.outlook.com [52.101.70.21]) (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 C33D91122BC87 for <tls@ietf.org>; Tue, 7 Jul 2026 10:16:34 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector10001; d=microsoft.com; cv=none; b=OhjpxJddOE7/ofsh3zMw/RnSqt2B09L1UZpUKr52puT1hP//HhdxSbGqp4TXLhO9C6GwfVU6/QNklRl1M6CAhn/Qs7zVKkKTSfKPV3958FyRNMkq+9hzmfaEAWu7/xt9haHzPxj/FYnAiIhmkN5J+xWXlF1Hz8PQMPtKXcOaqOSvbdJGuXcx+Ldp4v9OljwNWmU671nKGy7/nf9EQ4AFyXSNvlkL/ONioaSfKlFytF+FCGZnEVgf5ruQWoYk2UfHHJNSfgg6p4paUZcaHOmQQ/hNp8KH/tou2TII8V+KvJ2WFy11UyX31cSNk9NGIOEugSgTl7/G5qnuQc33rUJzBQ==
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=1g3d8xl0OaLAcd5MHv4LQ3/Aa/Uxso8l8QvNfwjzqGM=; b=EJU0+9RvWY6QMEqfrjJIFVp0eCPs0/W2vjg9QQ4BxQkDlojmhGp8fV7vGx27NG/6x6JhG60j2j3+K2i0xGW/RkNJvHYvRCfy1RF1BRGHbaG0t4Sq+qT04tdLSASdOfCxlhQJY+gocc1sjm4XpOS5ANe9xJEyP+vB5k0d3vqHooNgnhaojXmTWPEO9p2uWse7Mwj9Fj/1jpOLE+FbwQyYWzDhg/cjmP+hCmaXgv8fNOP7hziELT/h0ryIIGpFPI2WeSD30Z47ChcZN7pv/UMFKraajmdF75iJ/lxtd9KxRAVXVGAiXO7nkpgL6JezebdRtCz+nHwtxjHb4f+/2VG3BQ==
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=1g3d8xl0OaLAcd5MHv4LQ3/Aa/Uxso8l8QvNfwjzqGM=; b=XhP2xWeygQwHmNVIf1Rl9LWvb0PxITYQlksQiZG+CA6g+itc2YD36LXrT1EPVFs3Dke8+qXJycUN1FlgPi+9/+xx/Np5+QAw9vd/lszwg0dokZGXBhcGS98RAp/k1l4P/GFU0Y4sb33RczTUU4abYqqIxWAd9BhhtVUW3eSsTEdj8reqB68+NqkjEfjy5U+OrUPCy9Jw1y1kWTB4TNo9FltPXMC9HKYm7mUt2+KiqA26sCxbpm0RuLiCCN9rmkft4p+C5ClUdbML/OcpuC2hyPhePc2gOV9aALCsd2a+3x83tJmpeJ9SLPl2bctO2X7GrcN3x2y9VQItoBdzOu1wDg==
Received: from AS4PR07MB8825.eurprd07.prod.outlook.com (2603:10a6:20b:4f3::15) by GV4PR07MB10953.eurprd07.prod.outlook.com (2603:10a6:150:2b5::12) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.21.181.10; Tue, 7 Jul 2026 17:16:26 +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.0181.008; Tue, 7 Jul 2026 17:16:26 +0000
From: John Mattsson <john.mattsson@ericsson.com>
To: David Benjamin <davidben@chromium.org>, Mark Tehrani <mark.tehrani@cyberseq.net>
Thread-Topic: [TLS] Re: WG Last Call: draft-ietf-tls-mlkem-08 (Ends 2026-07-08)
Thread-Index: AQHdDiboq5bMwKc74kWxk9IeyRewx7ZiPtyAgAAKCmo=
Date: Tue, 07 Jul 2026 17:16:26 +0000
Message-ID: <AS4PR07MB88251F29AEE8A78C1B02EF6589F02@AS4PR07MB8825.eurprd07.prod.outlook.com>
References: <CAEDOiZXh4Tid2nEJ8WYD4Xi2dh_gZaKx_MWTM22tPJ0ddAz6HA@mail.gmail.com> <CAF8qwaBRMxAZMTVohie=VNHaeuk2Dy+QfdMfzwbWC2b+9adTqA@mail.gmail.com>
In-Reply-To: <CAF8qwaBRMxAZMTVohie=VNHaeuk2Dy+QfdMfzwbWC2b+9adTqA@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_|GV4PR07MB10953:EE_
x-ms-office365-filtering-correlation-id: 813ffb8e-c9f7-46d9-3724-08dedc4b7a6a
x-ms-exchange-senderadcheck: 1
x-ms-exchange-antispam-relay: 0
x-microsoft-antispam: BCL:0;ARA:13230040|1800799024|376014|3109299003|4022899009|7049299003|69100299015|366016|23010399003|11063799006|4143699003|38070700021|56012099006|8096899003|22082099003|6133799003|13003099007|18002099003;
x-microsoft-antispam-message-info: o8g7IFo0y6cHzuSIqWr0L3XKgu4/oGs5ll7PGUNIjHp8rdaxOXAjNXka/Q3I8sBTouEKnlUtcqhMLYvoFMTuJa4hdcf6W4+kVuFy7zMSb/IWXHEic8YuO6zX6IYUOdFvZGyf+S/Tf2K4XUiH+fYUKnRX+ezKGL6bkCFA7SJ/MblA7U6306vNzDCIlFr9RG2HpglBL2S1TG64TumjmIsWFyHgj93mUALWAxDBHEoucfAu6ZQNN4PRxoiSvZR5/86HPpezDhg25thkPR+PqU0n0tvS0rTjlzLOCUYI1oz3QfZBq6vJvYs8ZGNMPhJpGyK/sYdZuFFbVW6D06sUCbq0JtWFlU/K1tg9UvV1s9i5jMispVff0uxtkyNksHiI0ZRIeFjZoxhV7sHctTlEBDFl/dpUDR/BvHEpZrj4wIMs72TXQJwwzU8PlXDbNGSQxMpIq1a5zgxAWii9OthtmMF/FA/qeZnyKH0TNl4VJUAx6OZ9U2Z8A8GqI7YbBRfnvRBK3by2vxir+C2p4+FlS9MJz62u6+bLJiw2MfoimRYsgDj4mLplyVXqF/oUxhi6hzm1oERS72DaraI7AnIFaAoXOPQD0ORWIUt3zXJQuTPvCo+NywPVfWfB7EJaHExJoq+Htq3Pgj/tugrF371YXQhreF6EfzEMFCgHiR9y5jtmxfk=
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)(1800799024)(376014)(3109299003)(4022899009)(7049299003)(69100299015)(366016)(23010399003)(11063799006)(4143699003)(38070700021)(56012099006)(8096899003)(22082099003)(6133799003)(13003099007)(18002099003);DIR:OUT;SFP:1101;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: SEvTqOsiEljNXYYJxMw8+xp1ap3BMpWdD5Z/LonSdBhryuBZrVTuB6dlIGsLeTFSBqlycLxf2mlDHHIsiUFc4LEXWPDOoGSgnoGAJrR1TGzqwT9BpcZRXwk63BD1WmY3bgDpNYJCU7J07TqS7YZ6P0le0JA+oN+zl7QrHeFPiYdP3HY07Dj1vAYYaiHyRj/NFHmsrbeHu01W1Zybl4EqfVj6YFYj3Zc38zcDFm1DDyMGfBMqTs1zPM7nrbGH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R00dYtUhYUCHFF3IqToXXAotZrClb9NCrVtRuHtnajYhF0OLV0m6TTvrf/6D1soFPQ82n0CmHPMREYn/qUh1IT6Vq9gBDVd9Gg1zRvgKSJr0NZGL/KbVVukhTKkrBsJBnqYFIgRuw4jM9+jRhNtFyjhoRvTX17hptO2w1z2YR4P5O0Babm6PT9cwTPmBH4Da1WEpxIhCwzFFwhDKrTJkc52906uA6T++VHqEd9fE58amNSDnwQnsBdYG2zVKfbn1WPF9o7ZrGXC8zGBn6MF+BxEgA+SlwcP1bNNYr4cSD602D8bwfej/B+5GSHzgVA7m8Y4fa9t+1tmvi+TrCZ1J2OPWLSo54SNOAPFfSMUXvwD8KGFYdLQeoXqv3erZLYzi7ZFGHEwGrHZZu0ivgDSc1T3FEefzHizGyZEufssbPX7105x328T3w3rnDxE=
Content-Type: multipart/alternative; boundary="_000_AS4PR07MB88251F29AEE8A78C1B02EF6589F02AS4PR07MB8825eurp_"
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: 813ffb8e-c9f7-46d9-3724-08dedc4b7a6a
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Jul 2026 17:16:26.7454 (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: ZT2NGNB+Yq2uH1VOGdoEXWvYkixgf9t5nkmArbFmokFF6hV24f6HLnkIYewbBtcoMOoZaZerD6sCf+Bk4ElXLDUj19srDNA0SfdD6t8qRtE=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: GV4PR07MB10953
Message-ID-Hash: T2CKNSANAYZ73F5ZOIOWELBX54QAHX2R
X-Message-ID-Hash: T2CKNSANAYZ73F5ZOIOWELBX54QAHX2R
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
CC: "tls@ietf.org" <tls@ietf.org>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [TLS] Re: WG Last Call: draft-ietf-tls-mlkem-08 (Ends 2026-07-08)
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/R6VllBlEbmjv_IFPATpjgJen5mo>
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>

Agree with David

I think this is a largely unsurprising implementation survey wrapped in an extremely exaggerated security narrative. The fact that a randomness compromise, an attacker-controlled RNG, or an attacker with code/build control break security is neither new nor surprising, nor is it specific to ML-KEM. The comparison with Dual_EC_DRBG is particularly misleading.

The one genuinely useful point in the paper is that some libraries expose internal functions. However, in the case of ML-KEM, these interfaces do not appear to give an attacker any capability that they could not implement themselves. The main concern with exposing the internal ML-KEM interfaces is that developers may misuse them.

NIST seems to have done everything right, they listened to feedback from the cryptographic community and followed current best practices for designing cryptographic interfaces including making the distinction explicit by naming the functions _internal() and _external().

Cheers,
John Preuß Mattsson

From: David Benjamin <davidben@chromium.org>
Date: Tuesday, 7 July 2026 at 18:36
To: Mark Tehrani <mark.tehrani@cyberseq.net>
Cc: tls@ietf.org <tls@ietf.org>
Subject: [TLS] Re: WG Last Call: draft-ietf-tls-mlkem-08 (Ends 2026-07-08)

This paper seems to amount to being concerned about something that is standard practice in testing non-deterministic cryptographic processes: you should have a defined, deterministic process from explicitly-passed entropy, because that makes testing possible.
https://words.filippo.io/avoid-the-randomness-from-the-sky/

As it's standard practice, this is not unique to ML-KEM. In X25519, the equivalent of the encapsulation coin in ML-KEM is the X25519 private key that each side generates. That too needs to come from a secure source of randomness. At the same time, you'll find that every implementation provides some deterministic version of this API. This is both for deterministic testing and because that's how you import a serialized private key. Indeed, because of the latter, you will not see any kind of testing guard on it. X25519 depends on the caller knowing the difference between importing and generating a key.

For example, see this API where both computing the public key and the Diffie-Hellman operation itself just take the secret as an explicit parameter. Should one predictable entropy in there, the system would also break.
https://cr.yp.to/ecdh.html

This does not seem to be a reason to be concerned about ML-KEM over any other algorithm. Calling the correct functions in your TLS stack, and making sure an attacker cannot modify your TLS stack to call the wrong functions, is part of the baseline for everything here.

On Tue, Jul 7, 2026 at 11:39 AM Mark Tehrani <mark.tehrani@cyberseq.net<mailto:mark.tehrani@cyberseq.net>> wrote:

Dear all

I do not support the publication of this document. Defense in depth is clearly needed, implementation of algorithms are in the standardization process and therefore they may have implementation immaturity. My example is here:

https://eprint.iacr.org/2026/1117


Best,

Mark Tehrani
Founder & CEO
CyberSeQ Ltd (UK)
+44 7818 712279<tel:+44%207818%20712279>
mark.tehrani@cyberseq.net
https://www.cyberseq.io<https://www.cyberseq.io/>
[https://ci3.googleusercontent.com/mail-sig/AIorK4zkIQmBlgzaxDagMyEtBglGj0HehZ34kIOXcsTZ2ukkOl2kjKfX9wJprX0Bx2TwDuuz7DHQKa3y7c8N]
_______________________________________________
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>