Re: [TLS] HKDF

Yoav Nir <ynir.ietf@gmail.com> Tue, 24 March 2015 04:58 UTC

Return-Path: <ynir.ietf@gmail.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 7552D1B2C8A for <tls@ietfa.amsl.com>; Mon, 23 Mar 2015 21:58:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, SPF_PASS=-0.001] 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 2Du3OwjvKpWe for <tls@ietfa.amsl.com>; Mon, 23 Mar 2015 21:58:11 -0700 (PDT)
Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (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 AF3E41B2C89 for <tls@ietf.org>; Mon, 23 Mar 2015 21:58:11 -0700 (PDT)
Received: by obdfc2 with SMTP id fc2so139400931obd.3 for <tls@ietf.org>; Mon, 23 Mar 2015 21:58:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=content-type:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=Brd1vBYHmwJ+ZsJnQYQi9mADiZIEKSjw29Ji5gmkjt0=; b=mfvdStYXfTvjvy+Er9TPJWBubeNbrSubdmcwt/oY5dmaw5pQJPCL8/eVCm/h6SgEP+ eE1qO8mrjuqHyrVn3MCBt49Yl1KhrzRi3/ZMeu9detvb6CxbAalQBVNZ5+UunjyQ8GnF vkaXoqonS4qfAnJ6i7ThS3alCJvehjc9gh1z95qD4+TPq/u9rvNuAg9CtTmFp9/vts1n NFTzJ9a16MGmncADo/jbbMATgs/lPwlOKY/XyoDUw3y8OW9gTJd2Fry1aA15POmCBJtr aZNgmuPLAfdv+ScEM5pXWg99+HFCUGS2BpdkCJKkpXGGJhu91WsJKTXLp5Jr1NaW9zLe O2zw==
X-Received: by 10.202.55.4 with SMTP id e4mr1741808oia.45.1427173091276; Mon, 23 Mar 2015 21:58:11 -0700 (PDT)
Received: from [10.111.111.37] ([173.200.48.34]) by mx.google.com with ESMTPSA id h8sm1667179obe.2.2015.03.23.21.58.09 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 23 Mar 2015 21:58:10 -0700 (PDT)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 8.2 \(2070.6\))
From: Yoav Nir <ynir.ietf@gmail.com>
In-Reply-To: <CABcZeBPa3j+EfMkPik7r5G-qcBpYkXTFWwYwuCeE38mFjUwpJw@mail.gmail.com>
Date: Mon, 23 Mar 2015 23:58:08 -0500
Content-Transfer-Encoding: quoted-printable
Message-Id: <7FA320AE-B9C2-412D-B84B-DB4CAB05B325@gmail.com>
References: <CABcZeBPa3j+EfMkPik7r5G-qcBpYkXTFWwYwuCeE38mFjUwpJw@mail.gmail.com>
To: Eric Rescorla <ekr@rtfm.com>
X-Mailer: Apple Mail (2.2070.6)
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/LcKGdRrWHqWlL0x8bIY-rwVYFhU>
Cc: "tls@ietf.org" <tls@ietf.org>
Subject: Re: [TLS] HKDF
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: Tue, 24 Mar 2015 04:58:13 -0000

> On Mar 23, 2015, at 9:19 AM, Eric Rescorla <ekr@rtfm.com> wrote:
> 
> As I mentioned in a previous message [0] during the interim we discussed
> moving from the TLS PRF to HKDF [RFC5869].
> 
> The general sentiment was:
> 
> - Move to HKDF
> - Specify both SHA-256 and SHA-384 (the latter being required for
>   Suite B)
> 
> This is also the time when we would want to look at adjusting
> the key expansion to separate keys and IVs (assuming we still
> have IVs).
> 
> Please use this thread to discuss this topic.
> 

OK, since you’re proposing to abandon the current TLS PRF:

1. Why? What is wrong with the TLS PRF, and 
2. If we’re changing it, why not to a fast PRF such as blake2?

Yoav