Re: [TLS] PRF digest function for ChaCha20-Poly1305 cipher suites

Brian Smith <brian@briansmith.org> Fri, 18 December 2015 21:43 UTC

Return-Path: <brian@briansmith.org>
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 B0A781B3939 for <tls@ietfa.amsl.com>; Fri, 18 Dec 2015 13:43:45 -0800 (PST)
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, HTML_MESSAGE=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 V87hKuOOaZZu for <tls@ietfa.amsl.com>; Fri, 18 Dec 2015 13:43:44 -0800 (PST)
Received: from mail-ob0-x22e.google.com (mail-ob0-x22e.google.com [IPv6:2607:f8b0:4003:c01::22e]) (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 BA8491B3935 for <tls@ietf.org>; Fri, 18 Dec 2015 13:43:44 -0800 (PST)
Received: by mail-ob0-x22e.google.com with SMTP id sd4so89576739obb.0 for <tls@ietf.org>; Fri, 18 Dec 2015 13:43:44 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=briansmith-org.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; bh=ExMr7LREUC/EPyCCKg69ndoyfxMjcEAwoqJqHGNSPXY=; b=lnd3XZIynSVOjik/zI4eHe/e5F1r9J03quCxt/pH3B41BhZpPla21wWEG4HJeA60/d Jnz7ZzYO/x9iYUAdkdMg4d26KbZ4Kebokv4Cv+PluqsNhzwq2Fwb6xF0kGbq02eIPBsI aEHMVECaKiWFIUE9re98kqpz3r0OedhhtI4uu+pE0ycN7TJBTvQcr5sa/vh9uAN3wn36 OeuMfWk70tiPg6E+0addYxK2cBCovv1Cr/5Z0uF0Ig6fJJuzfGV5DxBOJD1gqONN1td2 tVrajAxmiLde6lekpkN45kACYf3ZA6gkqbD16yTYrmVB7P460mtK9lIhlRAGrxc2wPi0 AUJw==
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:date :message-id:subject:from:to:content-type; bh=ExMr7LREUC/EPyCCKg69ndoyfxMjcEAwoqJqHGNSPXY=; b=lAUysZxdRdRJ9ndWUHbrc65YcnsVGmXRezxR93tU/tKE0Io1sSrhVkyze/lGlIqNNJ vg+CzGqBu9RCzFsTgdS9ePDkqfD8FFx0guK83R9SLpWcBYx7FMNtTEeNy2/u0FyRIBIj OGWpueuzaulUfUmaQ1dsI1TanSgpkaUDkGzDdYKxfaOIHXsbnWDQ+h2AuoQldvxqMHI6 GrFc4BAhPO0d6R6SlPWM4I76N6SrzLR6id3YrIOjD7UxBnh4rD/vA1TjIBN6EiUQhJS4 Sz24wICP0j+CnfsyBpV7a0ibtYgDhds1e4sm/QUc5KJGt3r+xvJ/PZn0KkSR59m8W0GO 44ZQ==
X-Gm-Message-State: ALoCoQk8rXUqLAV+Frui6+HwvPSYRAAMw+IIJnEz90jHJLqXT9AyDo4Ab+7CTZKSDAA/wfvSSbsfQXq0LxFa58a2ml2bvzGI/Q==
MIME-Version: 1.0
X-Received: by 10.182.125.38 with SMTP id mn6mr2655410obb.17.1450475024092; Fri, 18 Dec 2015 13:43:44 -0800 (PST)
Received: by 10.76.62.8 with HTTP; Fri, 18 Dec 2015 13:43:44 -0800 (PST)
In-Reply-To: <CAFewVt6=ztWUs-i5EvGaFE=_r_UgHsr_KsOwFyX+ngx6_J-tnA@mail.gmail.com>
References: <CAFewVt6=ztWUs-i5EvGaFE=_r_UgHsr_KsOwFyX+ngx6_J-tnA@mail.gmail.com>
Date: Fri, 18 Dec 2015 11:43:44 -1000
Message-ID: <CAFewVt7G3FVEyapwL=GE=fZ2HFaaJEYQv0rp-GmA_EdkhyQx=w@mail.gmail.com>
From: Brian Smith <brian@briansmith.org>
To: "<tls@ietf.org>" <tls@ietf.org>
Content-Type: multipart/alternative; boundary="089e012952ec91246a0527330881"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/FFdXDn-jWBfQKqY8wefodsVewdk>
Subject: Re: [TLS] PRF digest function for ChaCha20-Poly1305 cipher suites
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: <https://mailarchive.ietf.org/arch/browse/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: Fri, 18 Dec 2015 21:43:45 -0000

On Fri, Dec 18, 2015 at 11:29 AM, Brian Smith <brian@briansmith.org> wrote:

> Hi,
>
> The recent renaming of the ChaCha20-Poly1305 cipher suites brought
> something to my attention that I hadn't thought about before. It seems
> like it might be better to use HKDF-SHA512 instead of HKDF-SHA512, and
>

That is, it seems it would be better to use HKDF-SHA512 instead of
**HKDF-SHA256**.

Cheers,
Brian