Re: [TLS] Consensus for AEAD IV

Eric Rescorla <ekr@rtfm.com> Sun, 17 May 2015 13:28 UTC

Return-Path: <ekr@rtfm.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 991D41A92BD for <tls@ietfa.amsl.com>; Sun, 17 May 2015 06:28:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.577
X-Spam-Level:
X-Spam-Status: No, score=-0.577 tagged_above=-999 required=5 tests=[BAYES_05=-0.5, FM_FORGED_GMAIL=0.622, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7] autolearn=ham
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 p2P1RXEi9pJR for <tls@ietfa.amsl.com>; Sun, 17 May 2015 06:28:26 -0700 (PDT)
Received: from mail-wi0-f170.google.com (mail-wi0-f170.google.com [209.85.212.170]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id C688C1A0173 for <tls@ietf.org>; Sun, 17 May 2015 06:28:25 -0700 (PDT)
Received: by wicmx19 with SMTP id mx19so70337497wic.0 for <tls@ietf.org>; Sun, 17 May 2015 06:28:23 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=GBGp+1SDozKld3IsM2pzCCKlRj/EaTESPj71JcmiBUE=; b=CsRO5gCSYE8EJZAl81S0dHazFyshThbI89aeA3FepZEaj0+BvADPhmG2TmRtQvMFAL quF7APiGXPwoOgozud6OvcrNmH/KB1Xp0aoejth4dVPGknDTdlXcvR80B2C96QQp2GYE P/Zumm1QlMhCpk1BPXEWbLCiHhFQ/eggUjI0zO+4j+D5BOPhYWIiVQaMVNmtFwmz/0L1 raY7/IGe/vLz8+PxXFbeZ7JPZvy6o8sy9Z/Jx9zkCuHrON4Z/y1yZemYjzobF8AwKLAk NsD8c9ebARoA8DJsXjWyQHR+yXaGRhEXW8eGTqgCu1iPpPE7apwSFfHHbbmu2X6z2c9v oVSw==
X-Gm-Message-State: ALoCoQnK7Ug82eAOxswIvMFXvuOpBzTPFroJ0Y/c6peBfUoT7Wi8ALf1gSqcZuiePqe6CxkK7TOW
X-Received: by 10.194.86.101 with SMTP id o5mr36205970wjz.8.1431869303637; Sun, 17 May 2015 06:28:23 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.27.205.87 with HTTP; Sun, 17 May 2015 06:27:43 -0700 (PDT)
In-Reply-To: <CAOgPGoC14uhjrZAQvDHFQrJoyoVNELpNNd4+Hh==zwf9ipyY5g@mail.gmail.com>
References: <CAOgPGoC14uhjrZAQvDHFQrJoyoVNELpNNd4+Hh==zwf9ipyY5g@mail.gmail.com>
From: Eric Rescorla <ekr@rtfm.com>
Date: Sun, 17 May 2015 06:27:43 -0700
Message-ID: <CABcZeBNvTe_hjAimUitA4_qQURE88Muo_x0hgM=KWtE8VgbjPw@mail.gmail.com>
To: Joseph Salowey <joe@salowey.net>
Content-Type: multipart/alternative; boundary="089e0102f352355f530516470d67"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/KXzTvSg4z_kpjkioRMk4W2CCLvY>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] Consensus for AEAD IV
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 17 May 2015 13:28:27 -0000

The following PR makes this change:
https://github.com/tlswg/tls13-spec/pull/155

Target merge date: 5/20


Note 1: I haven't done anything about changing derivation one way or the
other. These are orthogonal issues.

Note 2: Should the ChaCha draft adopt this change as well, since it's
already incompatible with the encoding TLS 1.2 uses for GCM?

-Ekr


On Fri, Apr 24, 2015 at 10:10 AM, Joseph Salowey <joe@salowey.net> wrote:

> The general consensus on the list seems to prefer to derive "IV" and use
> it to make the AEAD nonce less predictable. Most folks seemed to be OK with
> this approach.    In Dallas, there was significant support for using the
> derived "IV" as a per session XOR mask for the counter.  If you have
> objections to this approach please respond on the list by May 1, 2015 .
>
> Cheers,
>
> Joe
>
> _______________________________________________
> TLS mailing list
> TLS@ietf.org
> https://www.ietf.org/mailman/listinfo/tls
>
>