[TLS] Re: New Version Notification for draft-sullivan-tls-xof-ciphers-00.txt
"Markku-Juhani O. Saarinen" <mjos.crypto@gmail.com> Tue, 07 July 2026 17:48 UTC
Return-Path: <mjos.crypto@gmail.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 E3CC611231A5A for <tls@mail2.ietf.org>; Tue, 7 Jul 2026 10:48:07 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1783446487; bh=p9dqMuUowNDBoRsjbQlIaMHOvjbv2jTX00iPWWgt1i4=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=OcMzPqAdx93TaHsHdUiwdWk/JDts4kiDVK0FeWOCV0dgoCvD7alO4bjWPfyoKgND4 a//A9yrsRhcqkefo4+MJmLMuNNQ9lRT9AH8Gzama4zIsL66LBtBudGgoS6UqclmAVN WtRFRabilNhzA1S4ux6oRcCI7oAuKwOQNvxEYbs8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.088
X-Spam-Level:
X-Spam-Status: No, score=-2.088 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-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=gmail.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 H3viBwTukF0R for <tls@mail2.ietf.org>; Tue, 7 Jul 2026 10:48:07 -0700 (PDT)
Received: from mail-pf1-x436.google.com (mail-pf1-x436.google.com [IPv6:2607:f8b0:4864:20::436]) (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 1A9C9112318DF for <TLS@ietf.org>; Tue, 7 Jul 2026 10:47:58 -0700 (PDT)
Received: by mail-pf1-x436.google.com with SMTP id d2e1a72fcca58-845c92bc464so3367081b3a.2 for <TLS@ietf.org>; Tue, 07 Jul 2026 10:47:58 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1783446471; cv=none; d=google.com; s=arc-20260327; b=JYt5Z1TWBT7NDV2NLOMP1O9OzYyEkU9hPsT75kBeGgck2fYoa9tjkX/sqEuwpCdBB9 7Ma0Ro0FcsgL4Sh62yNK9Owf2ZQ0MU2uuoyNTmDXXRL63oOt8NlRX5F+TmGxvkTwqyKr By6THeE7l8vDhn3WmhrBzWODjq+bcYsz/67kP3U4TgSiKC8KpRPYaUqUDSNQeDIMTEo6 9qTsQPmDGywA+IGXmSkPvqaNWU+U0AY/UvfkiFVS9OwIfrRULHdJ29tJKB80ps+2lAhz UCwrkqLGMDp6UReQQACegveQc4rypxs48+azl+KB/+ZNHlap+tnafaOIhTI5NhNYaD0p 8DQQ==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20260327; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:dkim-signature; bh=wFkM7pyZ+DsPDM7Tc/MwhPCHJFQtriWx7OvE1OC3DH8=; fh=bwUncO6sMSuMm1ZsjOsDZ+RD5WMETW0tAyJPHNvqNSE=; b=eAN5NinEe9RWx6LGS+5h4UhIkQ0mzi77vqaC2IBWUWonfcVukdluHcW6WLSfXwjngD ozZHR0eSs2kCSL+/1iuDDXx4s4c0AJXTaP1kmMDhwiorPQ0nJTjC1WxWkjrEbGNXiQe2 /szBIx7xQOuR5OoUscqNUHa+xsRdu9x3tORWHnMQ5wnDOS12x5UniIANLysd7I6VXlzp 6lpg7qtr7+e/M1dbszyGY58f+6JtcmCj7K3YnbXvt+RmqAlhPDj8hEZWOfmVyl1g1jhG Kb7mTWgKesow8JS9a0KZjOOI7uH8T7ePhH4nhrhkr7Kv8KNIOSYpsVXOKajE/54uWNwU Awvg==; darn=ietf.org
ARC-Authentication-Results: i=1; mx.google.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1783446471; x=1784051271; darn=ietf.org; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:from:to:cc:subject:date:message-id:reply-to :content-type; bh=wFkM7pyZ+DsPDM7Tc/MwhPCHJFQtriWx7OvE1OC3DH8=; b=UXZPCV7uAb5cWbXzl/UPX9D06Y6gmyfFr7AUdkQUlePS7j1m4c2CWxeV9CnwBjGv3N F2GqZYTrcFsU4eXsnt/s0EoAH2GX4WGEleqYcgfDJFmHKWyCCrqGkyXxAhvcletDJNtN jhPiLsrTLvvSODuKaZNiSaJjrrGwjI8hmgHTOwQspHinL5M5kpXiIrO67oqPoTTOi9fH bR7mmT95rA2lIzHcr5BhWU08gb9P8Em1evDx1vy50pVux9JgMnBWqg39BRfYpqd6IsZl DD5ggRvSGVoDZN+2+0Ben2zWTDBVNXdI1tUqpVcki9xwZEQbdbaTJrQ3KJgOjsKaMru8 jjig==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1783446471; x=1784051271; h=content-type:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:x-gm-gg:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to:content-type; bh=wFkM7pyZ+DsPDM7Tc/MwhPCHJFQtriWx7OvE1OC3DH8=; b=o7k4iRpB2JvculpOkhwVOzuQX1uRpDUGYF9U0YAa31i+25NGZ44FcVLbBt7WfcJean 8TNZX3o1AmEmUMXfDmimbsQJ8gZE87POzLXMrcuwaEXPdsR1dqSwb/3LKcjbliYosq6B T+FLbWAVMvSMLO8xCsR1m5TdwHd3g9p95RUWn/HUg2frFfU10/HlYjYVJ8Rgq64igylL S4e+GAH7Ug8Aya5YWug2TYaTY/jQ1U3/zghULXV00Yjw7gSSSjhC6AFkGvg0QGB0FOM1 byvmpp+2mb+RnjAoYDo6qr3s52vK3Y5DlpyLtK8q/TN43MTnQUTYi6jJwVky8Ze+3+9X Eq5g==
X-Gm-Message-State: AOJu0YzmNnlSqPzrA4X/SfCbciDJAXtn++LbyLEhJ8DI4dLTt+fULO91 OHzVJxh3d6K8TQ4BKhTMI+sL6fnirbT0nKKkWNrzYkkUyGk3NtuGNbf0cgs8ebPEkkWRvbDJL+s zIUI1llAbe9tRGO3ZpAHme8Wr6WpjMIdcINeAsp0=
X-Gm-Gg: AfdE7cmXJacpakHqYW2K+Yjplyb0htMMYaOBx4s2B9TwCd+kgTqArJeNB1/+aT7xkzP HMpqnHXHhVgQUoHpC1xsFxv3+lvOBq5hbLc+65/TkAU0Fs7iCIc2hTooOmtsN6HafhyYxYpOO0n 6Hhz/7rS30hqca68llC4X/hTG0ebB3EWRIQiphugSOjYFARXaw5mZiGGWn8cdDfL23/qVCNp32m iGU6sJAvhyCw0BtA5AZI+hyyMvRtEN/wCUEsnZMHkvpRr2dua4/zMd5ZPoA4mkQvjr0zA8D2umo 5lRCxag/bHLfHZTKYHcZ/W1vzjh5bFtqKXQocFsv6lcPKR3DXceogvEHQQgb
X-Received: by 2002:a05:6a00:398f:b0:847:70aa:9586 with SMTP id d2e1a72fcca58-84826ccef96mr5448715b3a.16.1783446471053; Tue, 07 Jul 2026 10:47:51 -0700 (PDT)
MIME-Version: 1.0
References: <178337862867.322525.625506674684583095@dt-datatracker-57b5d8f849-zrqfx> <CAOjisRx62wHM_ePa5EzwLoJSxvUydYksAN4XhbQ8sF=URrJqHQ@mail.gmail.com> <AS4PR07MB8825D308A80A6B5512070E4889F02@AS4PR07MB8825.eurprd07.prod.outlook.com> <ak0vFIGK3NiyaXzS@LK-Perkele-VII2.locald>
In-Reply-To: <ak0vFIGK3NiyaXzS@LK-Perkele-VII2.locald>
From: "Markku-Juhani O. Saarinen" <mjos.crypto@gmail.com>
Date: Tue, 07 Jul 2026 20:47:37 +0300
X-Gm-Features: AVVi8CcT69IY1ugB5Duz9R-hXqa1pL8KW-U_plc5mCm5av3dSDghsuAQ6-_4qbI
Message-ID: <CA+iU_qn9vG+DXvyHJB+=K=u33trb9Z3AFfzsoX2UeejzW1r9dw@mail.gmail.com>
To: Ilari Liusvaara <ilariliusvaara@welho.com>
Content-Type: multipart/alternative; boundary="00000000000062179d065608fdc5"
Message-ID-Hash: WFMMD32NI7IFTQCSH7D4TIV4XNWGHAKB
X-Message-ID-Hash: WFMMD32NI7IFTQCSH7D4TIV4XNWGHAKB
X-MailFrom: mjos.crypto@gmail.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: 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/3brhm9VEa8iVTeZFsZv5cOGWzag>
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>
Yep, For many years Keccak/SHA3 has had this chicken-and-egg problem wrt AES & GCM, and SHA-2 too. While Keccak is faster in actual hardware, current processors allocate a lot of real estate to the AES S-Boxes and carryless multipliers, and hardly anything to Keccak. As a result, software engineers keep using AES & GCM even more, not SHA3 at all -> processor makers invest even more gates on AES & GCM and still hardly anything in SHA3. With ML-KEM and ML-DSA making heavy use of Keccak, we may finally break this cycle of doing 90s crypto forever -- and finally get full-round Keccak vector instructions (that compute the entire f1600 in a few dozen cycles) on more processors. This is "full keccak" approach substantially faster than the partial SHA3 instructions available in, say, ARMv9. Such a Keccak engine would, of course, make Duplex AEADs competitive or faster than AES & GCM. At the RISC-V PQC TG, the official full Keccak instruction has a ratification plan targeting early next year. So, at present it is restricted to experimental CPUs like the KaruCore processor we use as an HW PoC (but it boots Linux and runs stock OpenSSL benchmarks!) Here's a silly blog I wrote about running PQC benchmarks on it: https://karucore.com/posts/pqc-and-keccak-on-karu/ *"TL;DR: The Keccak instruction vkeccak.vi <http://vkeccak.vi> proposed in the PQC TG of RISC-V International is implemented in our karu64 core and makes standard lattice-based PQC algorithms go 50% faster. The more you optimize the rest, the bigger the Keccak share becomes and the greater the relative benefit of having Keccak."* I want "nice things" ! When building clean-slate things (brand-new CPUs and brand-new TLS handshakes), we don't always have to consider the limitations of technologies that we fully expect to go away anyway. And in the meanwhile the older systems can happily coexist with the new. Cheers, -markku On Tue, Jul 7, 2026 at 7:54 PM Ilari Liusvaara <ilariliusvaara@welho.com> wrote: > On Tue, Jul 07, 2026 at 06:08:10AM +0000, John Mattsson wrote: > > > > This seems like a great start! > > > > Instead of performing a full permutation for the relatively infrequent > > key updates, it may be preferable to also use a lightweight "roll" > > function to support inexpensive per-message ratcheting, similar to the > > approach used by the Signal protocol. > > This seems to run into problems with reodering/loss in DTLS and AES being > slow to rekey (Chacha is much faster here). > > > > The current draft still hands off record protection to a separate AEAD, > > with the deck function merely deriving the traffic keys. In my view, > > this leaves one of the most compelling opportunities unexplored. The > > key schedule and record encryption could be integrated into a single > > running duplex object. > > Unfortunately, Keccak does not seem to be very good for this. > > I recently experimented with using Keccak for record protection. Testing > core loop (the dominant cost for long messages) of an impractical AEAD > (8-way interleaved TurboKeccak in duplex mode) gave ~6GBps on > AMD 7900X(@65W). > > -Ilari > > _______________________________________________ > TLS mailing list -- tls@ietf.org > To unsubscribe send an email to tls-leave@ietf.org >
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Martin Thomson
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… Markku-Juhani O. Saarinen
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Thom Wiggers
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Markku-Juhani O. Saarinen
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Markku-Juhani O. Saarinen
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… Markku-Juhani O. Saarinen
- [TLS] Re: New Version Notification for draft-sull… Hannes Tschofenig
- [TLS] Re: New Version Notification for draft-sull… Thom Wiggers
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Joan Daemen
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Joan Daemen
- [TLS] Re: New Version Notification for draft-sull… Joan Daemen
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… Nadim Kobeissi
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Ilari Liusvaara
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Nick Sullivan
- [TLS] Re: New Version Notification for draft-sull… John Mattsson
- [TLS] Re: New Version Notification for draft-sull… Martin Thomson