Re: [Cfrg] RGLC on draft-irtf-cfrg-chacha20-poly1305-01.txt

Adam Langley <agl@imperialviolet.org> Mon, 06 October 2014 21:53 UTC

Return-Path: <alangley@gmail.com>
X-Original-To: cfrg@ietfa.amsl.com
Delivered-To: cfrg@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 09A921A8A8D for <cfrg@ietfa.amsl.com>; Mon, 6 Oct 2014 14:53:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] autolearn=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 jTDiMxHCgegl for <cfrg@ietfa.amsl.com>; Mon, 6 Oct 2014 14:53:07 -0700 (PDT)
Received: from mail-lb0-x22e.google.com (mail-lb0-x22e.google.com [IPv6:2a00:1450:4010:c04::22e]) (using TLSv1 with cipher ECDHE-RSA-RC4-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4FEC1A1B7F for <cfrg@irtf.org>; Mon, 6 Oct 2014 14:53:06 -0700 (PDT)
Received: by mail-lb0-f174.google.com with SMTP id p9so5108931lbv.33 for <cfrg@irtf.org>; Mon, 06 Oct 2014 14:53:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type:content-transfer-encoding; bh=3Dxx8cOYGvtwD1rOTjk5fFp6dSn2Ymy1tOyD/AbKH5E=; b=OOYgKkuwLKhRq31txhe6gTLRQxjmdr798M5npPeHevxLXBRgf9jxP7M+L9Zl7KsPe8 ytE+fw4+8vWu5lXU0iTY+CddA8kCN+ydHKmkSbrMhshvvHFoF7HwpZtLYAh5tz2jI7f8 Wl3XaW8Zt2zMYLYklVk/SO/Yiuh999eUz1o4kkuMJE0KrCw3H5HeydYNN1vgMEaPbxN5 6+FlnScOw0iklENZ2RNBrBR/YCmxCps4RAUaaNmJRjBG/rZSOv4l62uqeesm9PK9s5Fo K+EPFLYfSskMG9jJd5fNsxY1EhOUgpeuZ12o70bXyu7Ijl38lAgzOXSPwFz/mzEcTrkH fgXw==
MIME-Version: 1.0
X-Received: by 10.152.21.101 with SMTP id u5mr11348146lae.76.1412632384934; Mon, 06 Oct 2014 14:53:04 -0700 (PDT)
Sender: alangley@gmail.com
Received: by 10.112.241.103 with HTTP; Mon, 6 Oct 2014 14:53:04 -0700 (PDT)
In-Reply-To: <1CFF7FC2-DDC9-46AF-B574-4126379232DB@gmail.com>
References: <542D48CD.9060404@isode.com> <CAGvU-a7zd9jB_0vwipe4ALO5u5F0tk5BrfQ-0B5sLNjNRjZiPQ@mail.gmail.com> <9a348a00f974bffba1c3785464cd2032.squirrel@www.trepanning.net> <1CFF7FC2-DDC9-46AF-B574-4126379232DB@gmail.com>
Date: Mon, 6 Oct 2014 14:53:04 -0700
X-Google-Sender-Auth: ivwDctPloLv0U73byxUdLa88ZrA
Message-ID: <CAMfhd9UQr6wR4ooxfvkNDpmura5oSFask2JhnD+OERDA6tB30A@mail.gmail.com>
From: Adam Langley <agl@imperialviolet.org>
To: Yoav Nir <ynir.ietf@gmail.com>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable
Archived-At: http://mailarchive.ietf.org/arch/msg/cfrg/DT2F2Bo7fk14peUDykbQUyiCFsM
Cc: "cfrg@irtf.org" <cfrg@irtf.org>
Subject: Re: [Cfrg] RGLC on draft-irtf-cfrg-chacha20-poly1305-01.txt
X-BeenThere: cfrg@irtf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: Crypto Forum Research Group <cfrg.irtf.org>
List-Unsubscribe: <http://www.irtf.org/mailman/options/cfrg>, <mailto:cfrg-request@irtf.org?subject=unsubscribe>
List-Archive: <http://www.irtf.org/mail-archive/web/cfrg/>
List-Post: <mailto:cfrg@irtf.org>
List-Help: <mailto:cfrg-request@irtf.org?subject=help>
List-Subscribe: <http://www.irtf.org/mailman/listinfo/cfrg>, <mailto:cfrg-request@irtf.org?subject=subscribe>
X-List-Received-Date: Mon, 06 Oct 2014 21:53:09 -0000

On Mon, Oct 6, 2014 at 2:50 PM, Yoav Nir <ynir.ietf@gmail.com> wrote:
> I’m not quite sure I follow. The construction uses a 96-bit nonce precisely
> so that we comply with RFC 5116. What requirement of 5116 are we not fitting
> into?

I think Dan is just saying that the limits need to be specified. For
example see page 8 in
https://tools.ietf.org/html/draft-agl-tls-chacha20poly1305-04#section-5
(although these values are wrong now).


Cheers

AGL

-- 
Adam Langley agl@imperialviolet.org https://www.imperialviolet.org