[CFRG] Re: Random-access authenticated encryption (raAE) draft
Martin Thomson <mt@lowentropy.net> Thu, 16 July 2026 08:30 UTC
Return-Path: <mt@lowentropy.net>
X-Original-To: cfrg@mail2.ietf.org
Delivered-To: cfrg@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 2A088117AED89 for <cfrg@mail2.ietf.org>; Thu, 16 Jul 2026 01:30:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784190655; bh=0bUdc9qvhnN4RqkBauDhnEAd1DdytA3uZaJJ5ezb9d4=; h=Date:From:To:Cc:In-Reply-To:References:Subject; b=v8SENwpUP8DCEIlt8TaXc0gkAzs2ERbrkaugQrf0pgcclWJ5+bU2xp+0L8YmyAyGy iniXaQInetMImkhT7/iAtoC+JbS5B7w4tzPKMcZcdxuYoza8s6KVvo/RQWLhVI8bjQ 8dqKyI/6Ts1x4+WEDuHyXGTsN6N6bdELLRslLe20=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.799
X-Spam-Level:
X-Spam-Status: No, score=-2.799 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, RCVD_IN_DNSWL_LOW=-0.7, RCVD_IN_VALIDITY_CERTIFIED_BLOCKED=0.001, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: mail2.ietf.org (amavisd-new); dkim=pass (2048-bit key) header.d=lowentropy.net header.b="iwIt7HI7"; dkim=pass (2048-bit key) header.d=messagingengine.com header.b="otVNFjER"
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 yt6YQ_3W9KBi for <cfrg@mail2.ietf.org>; Thu, 16 Jul 2026 01:30:54 -0700 (PDT)
Received: from fhigh-a3-smtp.messagingengine.com (fhigh-a3-smtp.messagingengine.com [103.168.172.154]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id 11E0C117AE9FD for <cfrg@irtf.org>; Thu, 16 Jul 2026 01:30:45 -0700 (PDT)
Received: from phl-compute-04.internal (phl-compute-04.internal [10.202.2.44]) by mailfhigh.phl.internal (Postfix) with ESMTP id 608351400030; Thu, 16 Jul 2026 04:30:38 -0400 (EDT)
Received: from phl-imap-15 ([10.202.2.104]) by phl-compute-04.internal (MEProxy); Thu, 16 Jul 2026 04:30:38 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=lowentropy.net; h=cc:cc:content-transfer-encoding:content-type:content-type :date:date:from:from:in-reply-to:in-reply-to:message-id :mime-version:references:reply-to:subject:subject:to:to; s=fm3; t=1784190638; x=1784277038; bh=yOCwJAz6lNcHEAWaYXDH9GY9SPW33NgQ 0ibjTMM1AJ8=; b=iwIt7HI7P4JGdaB5qBrZ9F/F/OaSvP3VYMc2MsHlR3mLsYA4 Oh5sa7k9tDWUE/GNbU4QZgE6nsgCuXNfxZYFzcXBnMGc+BQYHiC0DVRbXkzhXPDs gVgTiV3pHC2j2WN1Mg6rK1giWQAAJcodvST1eZDNworr12NSHRjLvIRS8Fc3kscy ZQkEQ+kyP0MMBVUjowbWM7CEmfuwN9rk2TWInzlHOQ9re5pLvzQqK3Kmr/hJSnhR ZagvakzFuCV/epVToYvz7NOta+sTLdIcjblYVPvOScvylKxxChS4+sJoj4O8Vj8k Fgas6NeZRRtoSyHJSQgQsdYRliI9wT4Y/AKUhA==
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:cc:content-transfer-encoding :content-type:content-type:date:date:feedback-id:feedback-id :from:from:in-reply-to:in-reply-to:message-id:mime-version :references:reply-to:subject:subject:to:to:x-me-proxy :x-me-sender:x-me-sender:x-sasl-enc; s=fm2; t=1784190638; x= 1784277038; bh=yOCwJAz6lNcHEAWaYXDH9GY9SPW33NgQ0ibjTMM1AJ8=; b=o tVNFjERV4aOskTA7F+PXKoSp25nrDhtPHjPLzY4v9JEnV5nlyEt+YxwEEk58eXFd suWvwyGp+nljp5xZmrR7mfTwouXoM4snfhA1Q1eoqsW6sWI6lUCYAujcoU2rlD7r dCYwrVfuRDmiU9JbwZmrO7LC2eIjrM7akJj/lSvsis+jRWs+ySASdIy3wPiJDnKU wFsNMCdu/WOZuNgQxGrtaLWwYyetRfvdKT/btdhyh5QlZGx2r+lIUxpu8rlHcG+v 6qkKI+9cJWzGCKAq4dIUpPZwuuWQT03hoFm6bgbgvA5vUSIZLUtkdRteVVs+oH34 KaVxJny/FP9RRMfwKAu2g==
X-ME-Sender: <xms:rpZYaj0EF1T2Pln_w4cGgfNTBnTr_HlZ2Er9bzr3KKEn1iRlf4LEOA> <xme:rpZYas5vZiVmZyz-zudCWtGRrBWdsE4YXluHytigS2AX-2FsPAwRb2RtZvoxyC34s 7Gmq_t4RYvpyF1wPckLiWMCxSx5l39jg9qGPcdjs17fx9ssZR9oSHE>
X-ME-Proxy-Cause: dmFkZTGKyIBifQyR9+mUzfQ+YJHNwgnAzSaJoDxPNBi4mMY0adJxkUODQ7Xi2l7D2Ymq1U LTG1ucyURq/zWV43C6mEPnVGIq7KQMTnoHfmkkCl1toghz5jbbesZj+CsxHMISdk8ydoWo CvO3iti8vCk+TIUs/6PpL0JM+N2MzQl+ozS2UToAKvK8KrX3M8eMnEOezyBToMC07xVA3x +FKPpBw6O+Juk0pvAAINM1HAAqYm2iCSoBqfQ/PpiibR4WEfVfM53+AYjxcU+QcEn+9j7k a4HOzSt8VfwSsxNntE0aEtsoVch2Si/kNBkpCP3P5Xo47Okd+y3lFtWtYjVu36E1Xxgppq l7CVBcrMVD/p1OCUnSD/Y8+Ccbz50rKt/Ko/x8pcf8qkFEYlP7I3RaPYq8tQB/Wopt3p9p YYhqGFnnKfuqaCzh8YKtUy2WnXDXFiLnYn8j8mpHBpV5nA2vH850nPQXaKWvoEL80dVXcC x09AfCZkBW2h35jMlj39ieFxEvEJJ83GJeAZ8Cbzf/OHjx20s42W+pCWcYKvgILirozwMs jwSpUjRPhLtLY8eyLo8jt1Ta+3s7HN3ULJsuYaSqCP4V+6RrRNuyETRnoMSQ0eGyQ9POUJ /VElmycxRo5SQR66SYlEMD09cjWzMAWC0/dd8neMfFL/BQkJq+0p60oKMAHA
X-ME-Proxy: <xmx:rpZYak3AfWtGuY9PHqOJpXREbl1NPkaqZheiGTFcQ8TMqIHCzj41zA> <xmx:rpZYalGu36ThqokgBhHWXU2LPEmK0XA9ceZ6HR16mQ0P3HCheGGG0w> <xmx:rpZYaqj0zk59l7qNhSICcbu6zrMyFFI5OluaZD9rfc1m8PZHUjPQQg> <xmx:rpZYao9kp-Ag2Rk_BlIHrdRQni6SnkxK4b6QucP_HzwYRRQRuPKbmw> <xmx:rpZYar-7AqqjIdzNOeavNIGuXHNQxzEGqpTGd-0IWYtD8PZTYg8nmU3a>
Feedback-ID: ic129442d:Fastmail
Received: by mailuser.phl.internal (Postfix, from userid 501) id 212097811B3; Thu, 16 Jul 2026 04:30:38 -0400 (EDT)
X-Mailer: MessagingEngine.com Webmail Interface
MIME-Version: 1.0
X-ThreadId: A_FFQXGJnSxB
Date: Thu, 16 Jul 2026 10:30:17 +0200
From: Martin Thomson <mt@lowentropy.net>
To: Nick Sullivan <nicholas.sullivan@gmail.com>
Message-Id: <5bfec949-398e-4ecf-8120-6f287b467ac2@app.fastmail.com>
In-Reply-To: <CAOjisRwvAKwgWnsV_niRUcBwTsu4hFVANSSYV4vqeye1BeX=mw@mail.gmail.com>
References: <CAOjisRximY8dNJVFkYyHogh6UyH6HOUK==yt8+b-Muy9VntX9Q@mail.gmail.com> <ef6adb6e-cc5e-4021-96c7-4691404c9b1b@app.fastmail.com> <CAOjisRwvAKwgWnsV_niRUcBwTsu4hFVANSSYV4vqeye1BeX=mw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: 4DZVKQURZFJJSJIHFMBOYUKMJLEMEC3N
X-Message-ID-Hash: 4DZVKQURZFJJSJIHFMBOYUKMJLEMEC3N
X-MailFrom: mt@lowentropy.net
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-cfrg.irtf.org-0; header-match-cfrg.irtf.org-1; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: cfrg@irtf.org
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [CFRG] Re: Random-access authenticated encryption (raAE) draft
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/cfrg/3ou_vbJEYbUSRdG-dk5U53KWIEU>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Owner: <mailto:cfrg-owner@irtf.org>
List-Post: <mailto:cfrg@irtf.org>
List-Subscribe: <mailto:cfrg-join@irtf.org>
List-Unsubscribe: <mailto:cfrg-leave@irtf.org>
This looks substantially simpler than TLS, which was done in the IETF. I think that CFRG time is better spent on other things. On Tue, Jul 14, 2026, at 11:06, Nick Sullivan wrote: > Hi Martin, > > I’m not sure I fully agree. Something like SEAL-simple or > SEAL-attachment is probably pure engineering, but it seems like it > would be useful to have a comprehensive research-adjacent document like > this to lean on for analysis. > > Nick > > On Tue, Jul 14, 2026 at 9:01 AM Martin Thomson <mt@lowentropy.net> wrote: >> Hi Nick, >> >> I'm going to suggest a DISPATCH outcome for this, which does not involve CFRG. I think that this is pure engineering and the IETF should be the place to take it up. The usual requirements apply, of course: we need to see the receipts on customers for the mechanism, etc... >> >> On Tue, Jul 14, 2026, at 00:54, Nick Sullivan wrote: >> > Hi all, >> > >> > Writing as an author, not a chair. I've been working on a draft I want >> > to share with the group. This is not a call for adoption, just sharing >> > the early draft in case there's interest. Comments and reviews welcome. >> > >> > *The **problem*. Applications dealing with large encrypted objects >> > (encrypted backups, encrypted archives, object stores) need to read any >> > part of the object without decrypting the whole thing. They also need >> > to verify that each part read belongs to the current object at its >> > claimed position, without processing the entire object. Mutable >> > objects, like encrypted file formats, encrypted disk images, and object >> > stores that accept partial updates, also need in-place modification of >> > any part without re-encrypting the whole. The positional and inclusion >> > proofs should also remain valid after each modification. Take an >> > encrypted database file or an encrypted disk image: any block is read >> > or written by index, and a reader wants to know that the block it reads >> > really belongs at the offset it came from in the current image, without >> > re-hashing every block on every write. No proven security notion in the >> > literature covers all of this under one primitive. As such, each >> > application ends up rolling its own segmented AE layer, mostly without >> > security proofs for the rewrite and whole-object cases. >> > >> > Prior work covers pieces of the problem. CHAIN (Hoang, Reyhanitabar, >> > Rogaway, Vizár 2015) is sequential. STREAM (same paper) supports >> > random-access decryption of individual segments and encodes a >> > final-segment bit for truncation detection, but has no whole-object >> > snapshot and no in-place rewrite. Its deployed relatives (Tink >> > Streaming AEAD, OpenPGP v2 SEIPD) are write-once streaming formats and >> > don't expose rewrite at all. The v2 SEIPD design is itself the outcome >> > of Efail (Poddebniak et al., USENIX 2018), where v1's whole-message >> > integrity failed and applications acted on unauthenticated plaintext. >> > FLOE (Fábrega, Len, Ristenpart, Rubin; ePrint 2025/2275) formalizes >> > random-access AEAD security cleanly and gives a proven construction. >> > This work builds on that formal foundation. >> > >> > I've posted draft-sullivan-cfrg-raae-02, "Random-Access Authenticated >> > Encryption." It covers the primitive, the security notions, the prior >> > constructions in the space, and a concrete family of instantiations >> > with test vectors called SEAL (Segmented Encryption and Authentication >> > Layer), as well as a security analysis (companion paper forthcoming) >> > and write/rewrite budgets. >> > >> > The draft has two layers. raAE is the abstract primitive: the base >> > interface and security notions come from Fábrega et al., which this >> > document extends. SEAL is one concrete construction of raAE, >> > parameterized by an AEAD, a KDF, and an epoch length. It has two >> > profiles (immutable and mutable) and an optional snapshot authenticator >> > that binds the whole segment set and updates cheaply on rewrite. A >> > protocol that would previously have signed the whole encrypted object >> > can sign the snapshot authenticator instead and get the same >> > authentication scope without touching the segments. The snapshot >> > authenticator is also not a single construction, different >> > authenticators fit different consuming-protocol contexts. For example, >> > settings that supply only a single CEKs and owner per object versus >> > settings with a shared CEK (as in MLS) necessitate different >> > authenticators. >> > >> > Freshness against whole-object rollback, storage transactions, and key >> > management are explicitly out of scope. Those belong in a consuming >> > protocol. >> > >> > The shortest path to a concrete, testable thing is to read >> > SEAL-simple(AES-256-GCM, HKDF-SHA-256) in Appendix E >> > <https://www.ietf.org/archive/id/draft-sullivan-cfrg-raae-02.html#name-seal-simple-implementation->, >> > which is the degenerate case for SEAL with no rewrites or snapshot >> > authentication and fixed legacy AEAD/KDF. >> > >> > Reviews and comments on the framing, the security notions, the >> > construction, or the scope are all useful. >> > >> > Draft: https://www.ietf.org/archive/id/draft-sullivan-cfrg-raae-02.html >> > >> > Best, >> > Nick >> > _______________________________________________ >> > CFRG mailing list -- cfrg@irtf.org >> > To unsubscribe send an email to cfrg-leave@irtf.org >> >> _______________________________________________ >> CFRG mailing list -- cfrg@irtf.org >> To unsubscribe send an email to cfrg-leave@irtf.org
- [CFRG] Random-access authenticated encryption (ra… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Martin Thomson
- [CFRG] Re: Random-access authenticated encryption… John Mattsson
- [CFRG] Re: Random-access authenticated encryption… Ilari Liusvaara
- [CFRG] Re: Random-access authenticated encryption… Jack Grigg
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… John Mattsson
- [CFRG] Re: Random-access authenticated encryption… Nico Williams
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… John Mattsson
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Martin Thomson
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Dmitry Belyavsky
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Tushar Patel
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Wang Guilin
- [CFRG] Re: Random-access authenticated encryption… Nick Sullivan
- [CFRG] Re: Random-access authenticated encryption… Wang Guilin
- [CFRG] Re: Random-access authenticated encryption… Nico Williams
- [CFRG] Re: Random-access authenticated encryption… Mark Xue