[quicwg/base-drafts] 36609c: Simplify ChaCha20 interface

Martin Thomson <noreply@github.com> Mon, 26 August 2019 10:47 UTC

Return-Path: <noreply@github.com>
X-Original-To: quic-issues@ietfa.amsl.com
Delivered-To: quic-issues@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 360A812008D for <quic-issues@ietfa.amsl.com>; Mon, 26 Aug 2019 03:47:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -7.001
X-Spam-Level:
X-Spam-Status: No, score=-7.001 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=github.com
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 9N74M0Tdibw3 for <quic-issues@ietfa.amsl.com>; Mon, 26 Aug 2019 03:47:01 -0700 (PDT)
Received: from out-17.smtp.github.com (out-17.smtp.github.com [192.30.252.200]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id AD03812001E for <quic-issues@ietf.org>; Mon, 26 Aug 2019 03:47:01 -0700 (PDT)
Date: Mon, 26 Aug 2019 03:47:00 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1566816420; bh=AqM26HgF97Cbgf9BFyUjybTKocjIQ5h3OmHUm7cW8iQ=; h=Date:From:To:Subject:From; b=BNj6N7M1yccJivdTHgKJ+68q3W696X5kSrOBMhGe3PglxFybOIEUIo77AKw2UCGm1 +7PT5Apv0MfpMIu6rvJOEwplFGdMjZs5tRxmh4DlLsuj7PzA7VPrA2wF4nfPvoX6lL CQZSdy3IMR0Sg3IDdPZCRxt0a/E2AQRCRm2rOzZg=
From: Martin Thomson <noreply@github.com>
To: quic-issues@ietf.org
Message-ID: <quicwg/base-drafts/push/refs/heads/chacha-simple/000000-36609c@github.com>
Subject: [quicwg/base-drafts] 36609c: Simplify ChaCha20 interface
Mime-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-Auto-Response-Suppress: All
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/rcFguLTxDYfw63II0lUkp-pU_PI>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Notification list for GitHub issues related to the QUIC WG <quic-issues.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic-issues/>
List-Post: <mailto:quic-issues@ietf.org>
List-Help: <mailto:quic-issues-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic-issues>, <mailto:quic-issues-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Aug 2019 10:47:03 -0000

  Branch: refs/heads/chacha-simple
  Home:   https://github.com/quicwg/base-drafts
  Commit: 36609c20e66663a11a678b30f5d0330b11bba62c
      https://github.com/quicwg/base-drafts/commit/36609c20e66663a11a678b30f5d0330b11bba62c
  Author: Martin Thomson <martin.thomson@gmail.com>
  Date:   2019-08-26 (Mon, 26 Aug 2019)

  Changed paths:
    M draft-ietf-quic-tls.md

  Log Message:
  -----------
  Simplify ChaCha20 interface

The nonce can just be opaque bytes.

The block counter is tricky, as noted in the issue.  The "obvious"
choice is little-endian, as that is consistent with the philosophy of
the designer (as I understand it), but that is not anything more than a
guess.

Absent strong evidence that big-endian is a better choice, I'm going to
err on the side of not making a substantive change here.  But I think
that we need a consensus call to support that viewpoint.

Closes #2171.