[TLS] Re: Concerns about the current draft.
Sophie Schmieg <sschmieg@google.com> Fri, 29 August 2025 19:42 UTC
Return-Path: <sschmieg@google.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 674645ACD17D for <tls@mail2.ietf.org>; Fri, 29 Aug 2025 12:42:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -17.5
X-Spam-Level:
X-Spam-Status: No, score=-17.5 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, ENV_AND_HDR_SPF_MATCH=-0.5, HTML_MESSAGE=0.001, HTTPS_HTTP_MISMATCH=0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5, USER_IN_DEF_SPF_WL=-7.5] autolearn=unavailable autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=google.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 BNtyHPdqp69y for <tls@mail2.ietf.org>; Fri, 29 Aug 2025 12:42:37 -0700 (PDT)
Received: from mail-lf1-x129.google.com (mail-lf1-x129.google.com [IPv6:2a00:1450:4864:20::129]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 092F25ACD0F8 for <tls@ietf.org>; Fri, 29 Aug 2025 12:42:23 -0700 (PDT)
Received: by mail-lf1-x129.google.com with SMTP id 2adb3069b0e04-55f6b77c91fso102e87.1 for <tls@ietf.org>; Fri, 29 Aug 2025 12:42:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20230601; t=1756496542; x=1757101342; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=MhwFySC+0rqrssL5VBQKsvKokubwGGro0ccJnmsGwNA=; b=3Ae92VQ1FWBU6kE7SZ6aylhQl1vW0OBq42L7q2zJ8YuBIrvwlgFvhRknLIk0Ff2yq+ HTk/U52huS6GIqcX8Z0dWYchz090FvGaWP4NqKGp9Mgf/X5QlP0tATy9RthHKctzEenU yjIvIpSml1homXFPsUmWvdeIARdAjsP4FgKHe6KlhbI1vhrRrHfXxb6Vu4guyGJA3R7l gVa+WQOu0BILAwlOFLgWmjZ/16Vjvw2McQP+rtvVepTQrsVS+ICP22vHyScmnX1AWlUC huhqAH/PcsInEuOC1Rx2FR+Z5MMbE2QZ+2iEAKvBFLmqwyQ5H/vrAT54w16Ls4+vvPRk ikoQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1756496542; x=1757101342; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=MhwFySC+0rqrssL5VBQKsvKokubwGGro0ccJnmsGwNA=; b=af2MC1UqZyRE8RfPGMbeZ7qvwfvs8uHUCqKsAI0iYtS7zvf/XnzGL6O9ZQTzxJ2ezk 4xRIsUTEPETzZp9qotcWpMpRMqe4Lv8c/1nEGQ3U+rAEEVIvBjj4dQuyJheVvRmm0q+w AnCZt0SRmeo+pCU/Y8mgsQHVssBWK57LzGcYqzIaapCi0VyTb7O3bPC9L3rQuZ5lz4pj nUiK6NXVTNDWYphdMmcETGq5lhuvDktb7usGr7LAr6FUz3I9hsmjWb6pATCGr3cI1FFC Hl6CIwkxVh4SOAPumeNMM/oWYpnUQK1/a+yR2Gy6u0zETOxj5FRTC+Gw01rJg3/rHdRH KGvw==
X-Gm-Message-State: AOJu0YxnMHR9C6tfdBLX0o3ILWKdok5Iot3hqYFClWJbWR15RM+oEOjo 9HJ6xk7qBGds2e7ICo6XEUqYZ6VgC0NDF1T38ZItvQOuZLuF6vmrKiMo77p0SkUyhAvL68mANm8 icN+Wl1sba9zijwrhOOUXLftHeu6Uue5pN3kR/dYU
X-Gm-Gg: ASbGnct58MazeKc83C5rqs+B4peLb3TAIC563jltieDQb4AeYuhdjuXw2+J6aRyq0F4 KbPb2LSSXlS7mvhY3eh7rt73UygHjrI3VuHDgwaqV74Idyis2LESOcn8XMNzXYhwYwxD7kcW+Pg SXkEfFFzopb3tcDQD3BYtT7z6zwAtXJaBST0cVA2C5uSO7DsMe8rZZVfGMfo4Gj3AWOv3CgEgy6 t/yNzFlRYC+P8KwQXzHAYrl+9S/KZP86/tLmR0Dmxpu7sDWzC2+Z+spCR8=
X-Google-Smtp-Source: AGHT+IFj8a112ScQTUlzTJL+fAhKwlKvSVN1yoX1kzdd1n1cZqKSy2K/j8MJulT6OSHF9LmXCya8CM3Un5Vp328KGrw=
X-Received: by 2002:a05:6512:6519:b0:542:6b39:1d57 with SMTP id 2adb3069b0e04-55f6f5045d1mr41112e87.3.1756496541177; Fri, 29 Aug 2025 12:42:21 -0700 (PDT)
MIME-Version: 1.0
References: <CAEEbLAaJ6-hFTJQHMQ1qwWVWEFWp9hTXjZwQR4SDmRFFHbW=EA@mail.gmail.com> <20250829174621.213770.qmail@cr.yp.to> <GVXPR07MB9678CF53A08828BFB66A4600893AA@GVXPR07MB9678.eurprd07.prod.outlook.com>
In-Reply-To: <GVXPR07MB9678CF53A08828BFB66A4600893AA@GVXPR07MB9678.eurprd07.prod.outlook.com>
From: Sophie Schmieg <sschmieg@google.com>
Date: Fri, 29 Aug 2025 12:42:09 -0700
X-Gm-Features: Ac12FXxV9MAxNwGlFWPaWZNwrbhqeOLWi6ASo5DVx2TDz6alL6bWWB9VVLEWJhY
Message-ID: <CAEEbLAYm39hg6VA4Upbr6147syTdLzKiBFcKFRL8HqtCPsAT_w@mail.gmail.com>
To: John Mattsson <john.mattsson=40ericsson.com@dmarc.ietf.org>
Content-Type: multipart/alternative; boundary="000000000000638a0e063d863835"
Message-ID-Hash: YWO7SIYHNGHLGJ5IZMRZIRMCU673RZEO
X-Message-ID-Hash: YWO7SIYHNGHLGJ5IZMRZIRMCU673RZEO
X-MailFrom: sschmieg@google.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: Concerns about the current draft.
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/yhyzLXgSBye6FDF2YrDVQPjmqJo>
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>
Yes, technically you can parallelize Grover's you just lose the quadratic speedup, so it is not a very appealing tradeoff. As for multiuser attacks, those only apply in a situation where the same plaintext is encrypted with a block cipher by multiple users. In other words, the attack only applies to deterministic modes such as AES-CMAC, AES-SIV or AES-ECB. And I do indeed not recommend using AES128-CMAC, AES128-SIV, or AES128-ECB (or AES256-ECB for that matter), in order to account for multiuser attacks. For the usage in TLS in particular, the IV is the xor of the sequence number and a per connection static IV, so multiuser attacks do not apply. On Fri, Aug 29, 2025 at 11:17 AM John Mattsson <john.mattsson= 40ericsson.com@dmarc.ietf.org> wrote: > Sophie Schmieg wrote: > > As Bas mentioned, there is currently no indication that Grover's > algorithm can practically break AES-128 any time soon. > Completely agree. > > >Grover's algorithm is inherently sequential, and cannot be parallelized, > > Cannot be _*effectively*_ parallelized would be a more theoretically > correct statement. But practically, Grover’s algorithm will never be used > for breaking AES-128. Quantum computers will also remain much slower and > much more expensive than classical computers. Anybody claiming Grover's > algorithm is a threat to any cryptography should provide detailed > calculation of the cost, size, and time. With realistic assumptions you end > up with result like “a huge cluster of one billion CRQCs (according to one > estimate costing one billion USD each) would take a million years of > uninterrupted calculation to find a single AES-128 key” or “require > qubits covering the surface area of the Moon”. > > https://datatracker.ietf.org/liaison/1942/ > > https://www.youtube.com/watch?v=eB4po9Br1YY&t=3227s > > > John > > *From: *D. J. Bernstein <djb@cr.yp.to> > *Date: *Friday, 29 August 2025 at 19:47 > *To: *tls@ietf.org <tls@ietf.org> > *Subject: *[TLS] Re: Concerns about the current draft. > > Sophie Schmieg writes: > > Grover's algorithm is inherently sequential, and cannot be > > parallelized, making the standard approach of throwing more compute at > > the problem to scale up infeasible. > > One can split the search space across many parallel quantum processors > and run a smaller Grover search on each part of the space, as noted in, > e.g., > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Farxiv.org%2Fabs%2Fquant-ph%2F0309123&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7Ce91ec897b40744e464bc08dde72429dd%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638920864700657440%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=haVw1vVYALl5qAbq7VJPRciy2fAjPgrA0NEuAVbxyiY%3D&reserved=0 > <https://arxiv.org/abs/quant-ph/0309123> from Grover and Rudolph. > > To some extent it's possible to combine this with multi-target attacks. > See > https://eur02.safelinks.protection.outlook.com/?url=https%3A%2F%2Fcr.yp.to%2Fpapers.html%23groverrho&data=05%7C02%7Cjohn.mattsson%40ericsson.com%7Ce91ec897b40744e464bc08dde72429dd%7C92e84cebfbfd47abbe52080c6b87953f%7C0%7C0%7C638920864700717818%7CUnknown%7CTWFpbGZsb3d8eyJFbXB0eU1hcGkiOnRydWUsIlYiOiIwLjAuMDAwMCIsIlAiOiJXaW4zMiIsIkFOIjoiTWFpbCIsIldUIjoyfQ%3D%3D%7C0%7C%7C%7C&sdata=CK8nBl6TfEM5LwY%2Fznl7KgJjT0x4dNiUG4IeSL7xf4s%3D&reserved=0 > <https://cr.yp.to/papers.html#groverrho>. > > Even without quantum computers, 2^40-target attacks against AES-128 are > already a feasible computation today for large-scale attackers. One can > try to stop these attacks by having every AES-128 application randomize > every input block, but we keep seeing people screw this up. This is the > sort of thing that _probably_ ends up working for TLS, but it's fragile, > and the broader habit of tolerating this sort of fragility is certainly > a big factor in the problems that we _have_ seen in TLS. > > I agree that the Grover speedup compared to non-quantum searches comes > from the number of serial iterations carried out on each processor, and > meanwhile this has to fight against the quantum-computation overhead--- > which could end up as 2^30 or 2^40; we don't know yet. But this doesn't > makes AES-128 a safe option: on the contrary, tolerating AES-128 will > end up compromising the confidentiality of some user data. > > > confirmed the infeasibility of Grover's in at least the > > medium term of several decades to centuries > > I see no basis for this claim. > > > the reason for ECC + lattice based hybrids are becoming less > > compelling with every day that passes in which lattices do not get > > broken > > One of the talks at Crypto 2025 last week said that none of the Kyber > parameters meet their claimed security levels. > > ---D. J. Bernstein > > _______________________________________________ > 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 > -- Sophie Schmieg | Information Security Engineer | ISE Crypto | sschmieg@google.com
- [TLS] Re: [EXT] Re: Concerns about the current dr… D. J. Bernstein
- [TLS] Concerns about the current draft. ma bing
- [TLS] Re: Concerns about the current draft. Eric Rescorla
- [TLS] Re: Concerns about the current draft. Bas Westerbaan
- [TLS] Re: Concerns about the current draft. D. J. Bernstein
- [TLS] Re: [EXT] Re: Concerns about the current dr… D. J. Bernstein
- [TLS] Re: [EXT] Re: Concerns about the current dr… Blumenthal, Uri - 0553 - MITLL
- [TLS] Re: Concerns about the current draft. Robert Relyea
- [TLS] Re: Concerns about the current draft. Sophie Schmieg
- [TLS] Re: Concerns about the current draft. tirumal reddy
- [TLS] Re: [EXT] Re: Concerns about the current dr… John Mattsson
- [TLS] Re: [EXT] Re: Concerns about the current dr… Blumenthal, Uri - 0553 - MITLL
- [TLS] Re: Concerns about the current draft. John Mattsson
- [TLS] Re: Concerns about the current draft. Sophie Schmieg
- [TLS] Re: Concerns about the current draft. Tim Hollebeek
- [TLS] Re: Concerns about the current draft. Martin Thomson
- [TLS] Re: Concerns about the current draft. David Benjamin
- [TLS] Re: Concerns about the current draft. John Mattsson