Re: [TLS] Issue #964: Shortened HKDF labels

Ilari Liusvaara <ilariliusvaara@welho.com> Wed, 26 April 2017 07:22 UTC

Return-Path: <ilariliusvaara@welho.com>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5261E131986 for <tls@ietfa.amsl.com>; Wed, 26 Apr 2017 00:22:05 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_NONE=-0.0001, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=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 OE1IfkFSo8hf for <tls@ietfa.amsl.com>; Wed, 26 Apr 2017 00:22:03 -0700 (PDT)
Received: from welho-filter3.welho.com (welho-filter3.welho.com [83.102.41.25]) by ietfa.amsl.com (Postfix) with ESMTP id 1FBF113197C for <tls@ietf.org>; Wed, 26 Apr 2017 00:21:52 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by welho-filter3.welho.com (Postfix) with ESMTP id 3AC27409E4; Wed, 26 Apr 2017 10:21:51 +0300 (EEST)
X-Virus-Scanned: Debian amavisd-new at pp.htv.fi
Received: from welho-smtp2.welho.com ([IPv6:::ffff:83.102.41.85]) by localhost (welho-filter3.welho.com [::ffff:83.102.41.25]) (amavisd-new, port 10024) with ESMTP id wJTr3vmkzhY5; Wed, 26 Apr 2017 10:21:51 +0300 (EEST)
Received: from LK-Perkele-V2 (87-92-51-204.bb.dnainternet.fi [87.92.51.204]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by welho-smtp2.welho.com (Postfix) with ESMTPSA id 146D021C; Wed, 26 Apr 2017 10:21:51 +0300 (EEST)
Date: Wed, 26 Apr 2017 10:21:48 +0300
From: Ilari Liusvaara <ilariliusvaara@welho.com>
To: Martin Thomson <martin.thomson@gmail.com>
Cc: Eric Rescorla <ekr@rtfm.com>, "tls@ietf.org" <tls@ietf.org>
Message-ID: <20170426072148.GB29159@LK-Perkele-V2.elisa-laajakaista.fi>
References: <CABcZeBP_0d+14_3SQ3sk+knytxpo4yxq5eYwGn++GC8H9BpUfw@mail.gmail.com> <CABcZeBMriYeFZO5OJnBZvDbhw57V0F5_SBXwvcq8FAXTASa9Bw@mail.gmail.com> <CABcZeBO0pcysQuFPXoA44+LxGbOhRVC73UMHC7K6J2DTfB5gVA@mail.gmail.com> <201704242108.54252.davemgarrett@gmail.com> <CABcZeBP+dsPhK_FTdhqu0m2JY-19d32XyE9SULvuNVzemn2Zyw@mail.gmail.com> <CABcZeBMce9txkEVZ-HbMqKpX7Sox78JVRo8Y2fzKCQxsea618g@mail.gmail.com> <CABkgnnVervY4yRbJ=4zO2koqenQieVaNA0fEbDm91r9e6T+FgA@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
In-Reply-To: <CABkgnnVervY4yRbJ=4zO2koqenQieVaNA0fEbDm91r9e6T+FgA@mail.gmail.com>
User-Agent: Mutt/1.5.23 (2014-03-12)
Sender: ilariliusvaara@welho.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/tls/TGbBXceMFTNKUMaXhtYgJFhWUxg>
Subject: Re: [TLS] Issue #964: Shortened HKDF labels
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.22
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: Wed, 26 Apr 2017 07:22:06 -0000

On Wed, Apr 26, 2017 at 04:51:01PM +1000, Martin Thomson wrote:
> Unsurprisingly, this was easy to implement.  If anyone else is
> tracking this closely, I can share a version of NSS that includes this
> change (and pretends to be an implementation of -20).

Not very hard, altough I had to do some refactoring in order to semi-
cleanly support multiple versions at once (I have a branch that does
-17 to -20, with "-20" being -19 + this label change.


-Ilari