Re: [Cfrg] AEAD outputs and RFC 7539 (ChaCha20-Poly1305)

Russ Housley <housley@vigilsec.com> Wed, 25 May 2016 22:22 UTC

Return-Path: <housley@vigilsec.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1B2C612D57D for <cfrg@ietfa.amsl.com>; Wed, 25 May 2016 15:22:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -101.9
X-Spam-Level:
X-Spam-Status: No, score=-101.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id cHthTyzFtoMQ for <cfrg@ietfa.amsl.com>; Wed, 25 May 2016 15:22:31 -0700 (PDT)
Received: from mail.smetech.net (x-bolt-wan.smeinc.net [209.135.219.146]) by ietfa.amsl.com (Postfix) with ESMTP id C575C12D557 for <cfrg@ietf.org>; Wed, 25 May 2016 15:22:31 -0700 (PDT)
Received: from localhost (ronin.smetech.net [209.135.209.5]) by mail.smetech.net (Postfix) with ESMTP id B4694F24035; Wed, 25 May 2016 18:22:30 -0400 (EDT)
X-Virus-Scanned: amavisd-new at smetech.net
Received: from mail.smetech.net ([209.135.209.4]) by localhost (ronin.smeinc.net [209.135.209.5]) (amavisd-new, port 10024) with ESMTP id YLd5cpMk7hoM; Wed, 25 May 2016 18:04:38 -0400 (EDT)
Received: from [192.168.2.100] (pool-108-51-128-219.washdc.fios.verizon.net [108.51.128.219]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by mail.smetech.net (Postfix) with ESMTP id 48F5FF24013; Wed, 25 May 2016 18:22:21 -0400 (EDT)
Content-Type: text/plain; charset="us-ascii"
Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.6\))
From: Russ Housley <housley@vigilsec.com>
In-Reply-To: <ED570F16-B246-4BD2-9A7A-2E451F52CB44@gmail.com>
Date: Wed, 25 May 2016 18:17:51 -0400
Content-Transfer-Encoding: quoted-printable
Message-Id: <C1B8B3AF-CC19-443C-A8E7-84047BF9871A@vigilsec.com>
References: <CABkgnnVJJFUFY6OWL0tu=qBQ6G--NJ8ywzPPOGQY6+dHjbenfQ@mail.gmail.com> <CAMfhd9URPSYCBmqoN1Qh5ivDP-zD_6rgoKozLZk9XOczzt14hg@mail.gmail.com> <CABkgnnU-6mtQ0LvLFMcL05OZwhoxmKkyLNHMjkMMn2kuwbycsg@mail.gmail.com> <ED570F16-B246-4BD2-9A7A-2E451F52CB44@gmail.com>
To: Martin Thomson <martin.thomson@gmail.com>
X-Mailer: Apple Mail (2.1878.6)
Archived-At: <http://mailarchive.ietf.org/arch/msg/cfrg/wQVRlQPxKjz6UZIsZZa0DnZwOwI>
Resent-From: alias-bounces@ietf.org
Resent-To: <>
Cc: cfrg@ietf.org
Subject: Re: [Cfrg] AEAD outputs and RFC 7539 (ChaCha20-Poly1305)
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <https://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <https://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Wed, 25 May 2016 22:22:33 -0000

On May 24, 2016, at 2:02 AM, Yoav Nir <ynir.ietf@gmail.com> wrote:

> 
>> On 24 May 2016, at 2:57 AM, Martin Thomson <martin.thomson@gmail.com> wrote:
>> 
>> On 23 May 2016 at 19:36, Adam Langley <agl@imperialviolet.org> wrote:
>>> I favour the model of RFC5116, but it's not universal. There are
>>> certainly cases where the separate parts are used, for example when
>>> encrypting in place and storing tags out of band.
>> 
>> 
>> I'm sure those people with special needs can use special tools.  The
>> only reason I point this out is that it makes it harder to point at
>> ChaCha... as an AEAD.
> 
> Seems right. Perhaps the report should say:
> 
> OLD:
>  The output from the AEAD is twofold:
> 
> New:
>  The output from the AEAD is a concatenation of two parts:

That makes sense to me.

Russ