[CFRG] Re: Random-access authenticated encryption (raAE) draft
Nick Sullivan <nicholas.sullivan@gmail.com> Tue, 14 July 2026 09:06 UTC
Return-Path: <nicholas.sullivan@gmail.com>
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 44889116610F2 for <cfrg@mail2.ietf.org>; Tue, 14 Jul 2026 02:06:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ietf.org; s=ietf1; t=1784020015; bh=aYVjPqCW/2CBy4LVVkrxe/OGvYSse9k6Odlb/fegf0M=; h=References:In-Reply-To:From:Date:Subject:To:Cc; b=SzKSIydaRrGY72Sdl38g1XL+B1aQGQ0rs5BgmBAI74X8oU9k0JITqYeOZ7kCUAJ7x E80NlcFynBkvxjxdzsend3tWLVNcqdESyogS39t10PbHZAkzw/eTuiCH4czuNtGlAs yDbEM+TCzeOFGq8IEFDbNFowDvenvr0SUerZj2J8=
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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] 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 x8b24R1x7kTj for <cfrg@mail2.ietf.org>; Tue, 14 Jul 2026 02:06:54 -0700 (PDT)
Received: from mail-yw1-x112b.google.com (mail-yw1-x112b.google.com [IPv6:2607:f8b0:4864:20::112b]) (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 7FA01116610EB for <cfrg@irtf.org>; Tue, 14 Jul 2026 02:06:54 -0700 (PDT)
Received: by mail-yw1-x112b.google.com with SMTP id 00721157ae682-80bb41f7f3cso7420947b3.2 for <cfrg@irtf.org>; Tue, 14 Jul 2026 02:06:54 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; t=1784020014; cv=none; d=google.com; s=arc-20260327; b=jNI16pESvzD7EyUh8aoXSwtOVR7WDVcQVElZkxbtdPZJweA9a6LiJbBgsPhHKrJPxt 3RjDqQhshJyEpXvt8ky1UBlWw19T564F6jkum4I802R0lhDlu4RD3rDaLjYU/6B81m8O oG1i5X1n8ugi6de5sQwSZjfyhxYQp5g0JWJ5ZvIs2tqJB8jBa3r0HvactfkXumd6BZ0c UudN7NlfGO4NygIZkSzUFCpyphbvxamZ55lMh2XMWjeqrM+N1dAk65o9fyi1lDO/4br2 Bb6Kr16l5+8q1BTWLoycqD19bnb9kvKcPv+OkLmz0RhRu6nWlpZcG6sHnvuMaSJeMpGe 5COw==
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=DThXebOeS+x87jU50N3eQK3+djYJ/UCVy2TAVCr+3rg=; fh=RG+Kls0Okhqq5b/A7pjt2/xBcC/0xuIQnRZhe4s3Px8=; b=XfCKuZSQVKEfyoCK0vwGWg2rHNIkpN2CNJHh8Ky+HYSjCqBQYFR+LA9EuvLGhN4seA 5UgFEy6VXcwmMPidWq25p6SKVxGFUr6frZabCnW082lZPVkU3Bj18G6HPWTo3ytwAQcy BSRQiGbfO4iEncZ7m6nt0jDH1GW+t6jE7fenf6XE26mJWYXVdVphLpLEw9MtWDLGVrS3 H5Qt13MCR+xQhCBlme1hUZlC6jpLouIiXlR6mbSH91H4+eqwINqsUclvyHUgtwrBqL0p ugbeaBFMUQHzAWzmxTWiA4gKWs4APD1Y+ZEGVVhMAg9VkdTPoUR/3zdHlT9tbqFm58Zt eynA==; darn=irtf.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=1784020014; x=1784624814; darn=irtf.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=DThXebOeS+x87jU50N3eQK3+djYJ/UCVy2TAVCr+3rg=; b=AUoXJar0nT9zLMmLMi1xoWpg33oazfZGdx9CWbgMEKvDHfLIXZCN4EV+DoScBl74Hc oMeM8tqLXU4eH+hQ85EZE2gFZR7ksft0a52U1BuCqGtvkLnrGjPv4j0hD57xKwMfhmFM dkJYxJ80W+Ii5NWiLd5WWZYveXJLbOjajbf5B1XWwLV+5iup8EJcjDOBVzMlfkagUOZG tqgDSS6y0BrvCrgXjZ82xtwRaUiKZdO4KQuUenZk/7kfIbJylsBTTk+P2vKjvjBLZyNT 5l+WuCKjpCpsJmbKNi5+y+dat+OJuhHB/GTwA78ALSPuZQ+fCQ4nV/WYsLJkhvU3bfsX SJ9Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1784020014; x=1784624814; 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=DThXebOeS+x87jU50N3eQK3+djYJ/UCVy2TAVCr+3rg=; b=Zb7uc9yARzgF0WUCwubVXLs90NWwdJ02O+//2XPEN3cl6vBt57RFoi/zV4gWty5RQK FiE2vcTNOhbTDM1qh/ezpfZdLE7Sf1csepecNY1Y2iTCWiZmE3AOKOKlSmd864b3A5rQ M3F6mC2zO4FoluVBE4T3j1GXnuLKVkZBt3020OkcvQrKbngq7kzvWMRjfw9IwbY9oej9 Bs0HtB2LDxgTgw78DnMm8mpMsIeDP8I8UEP/j06Ob4M4mZBiVORyMxMn2Eu9urNQxdNK lHdFcj1s8jvwW76FWNvbH2Q2Oiy1NPJX61HHe/9hMdaHLZLu99htQ7cV+OfiOjj9lIEh IjdA==
X-Gm-Message-State: AOJu0YzCNF6tAiZEZ1RpEXKzGcHnRhRiBFs2LKfv+v2Gun8cFooGqI7C 7km2ScOjmSUrF2TElewpztAKUgMZkACuB/t14i+ToXCENj2Z7QYxP7MXIDB9qFfWLhU0QsQCGcH M1wtHxKQtxoSDgVjlyaPOQYxC/MrJxXPMa2mLgnSkvTZI
X-Gm-Gg: AfdE7cl/7pqmywkS5KQzkimBOvISqpyxrCNsJfSNkzdg1IQjPpVk7r/VwPhrlq09ICh v0BljcXfS0C2yXS+MOG9L7kMoHVGBwpTDYoOvzLNCGeJ4fyaGgweGRF5TLrTXgqjpWHSxzFhTji cLc+52P7Knh6FE9/oLgnhuar3mRkFDA99bn55CVawpxC9ucPk6MY3+E0I0vWnzbQ9Yl7jLZKdr4 ww5kIjyCorO6+H7iabjkeuXUgfteP6jxSafDEwcevIZdZcqLkPr+MdbmdYKqOjY9jAQX10fdv6E hHIXj8QrHFdyEVD33eQ9E6DVsJkvYhfO7oLfiiGiYINxcMvIehWFa+MBgTCUhQFq/066jRuIBd1 cO1+ywDJ4B09orYhzpiS8rqxMqx6EsPt4cte4D0tmETUGDkMzr1fws5dBtDhl6oNSm8MZlP1vSA ==
X-Received: by 2002:a05:690c:6981:b0:80e:2917:4b01 with SMTP id 00721157ae682-81e9003e955mr90158197b3.27.1784020013799; Tue, 14 Jul 2026 02:06:53 -0700 (PDT)
MIME-Version: 1.0
References: <CAOjisRximY8dNJVFkYyHogh6UyH6HOUK==yt8+b-Muy9VntX9Q@mail.gmail.com> <ef6adb6e-cc5e-4021-96c7-4691404c9b1b@app.fastmail.com>
In-Reply-To: <ef6adb6e-cc5e-4021-96c7-4691404c9b1b@app.fastmail.com>
From: Nick Sullivan <nicholas.sullivan@gmail.com>
Date: Tue, 14 Jul 2026 10:06:42 +0100
X-Gm-Features: AVVi8CdLTIe5_xkPXEB3FD0CbhTfSVQN9m3FN4dCa4GXwqOMgu53sHxKq-GKeq8
Message-ID: <CAOjisRwvAKwgWnsV_niRUcBwTsu4hFVANSSYV4vqeye1BeX=mw@mail.gmail.com>
To: Martin Thomson <mt@lowentropy.net>
Content-Type: multipart/alternative; boundary="00000000000031e01406568e8796"
Message-ID-Hash: XB3VIKMKJKX636QSS7JUZH6MQJULUE4D
X-Message-ID-Hash: XB3VIKMKJKX636QSS7JUZH6MQJULUE4D
X-MailFrom: nicholas.sullivan@gmail.com
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/9lx0duQFryKbf2mvymHoODEYFRk>
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>
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