Re: [quicwg/base-drafts] Add an appendix containing test vectors for "Initial". (#1573)

Christian Huitema <notifications@github.com> Thu, 26 July 2018 01:51 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 EA760130F3C for <quic-issues@ietfa.amsl.com>; Wed, 25 Jul 2018 18:51:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -8.009
X-Spam-Level:
X-Spam-Status: No, score=-8.009 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, MAILING_LIST_MULTI=-1, RCVD_IN_DNSWL_HI=-5, SPF_PASS=-0.001, T_DKIMWL_WL_HIGH=-0.01, URIBL_BLOCKED=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 1xO5xiPsaMo3 for <quic-issues@ietfa.amsl.com>; Wed, 25 Jul 2018 18:51:29 -0700 (PDT)
Received: from out-5.smtp.github.com (out-5.smtp.github.com [192.30.252.196]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 461EC127332 for <quic-issues@ietf.org>; Wed, 25 Jul 2018 18:51:29 -0700 (PDT)
Date: Wed, 25 Jul 2018 18:51:28 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1532569888; bh=fDSUKqHAdCzPwtXYb+d1/YEnEGO250zK892YLR6KtnI=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=SN/lO7fsPhVizRnZwWi3NAIUKk0Z7fFl5ljDZpnez4nFSMR+jz8xjHxU3OSgr6hBF BCzULVMsTQxsfua/yQr/ZQ5TQ230xCpGjteukkRn3tGqdgqedTlfbtSW11LUIJBAoA wTKbCrM9w2DKan+91EIXVLi1DC8v3Ru2P/Zd8SIw=
From: Christian Huitema <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abcb4b03c9dd78948f7443ee3f63adb8d1bafda5cd92cf000000011770eb2092a169ce145eeded@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/1573/review/140556418@github.com>
In-Reply-To: <quicwg/base-drafts/pull/1573@github.com>
References: <quicwg/base-drafts/pull/1573@github.com>
Subject: Re: [quicwg/base-drafts] Add an appendix containing test vectors for "Initial". (#1573)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_5b5929207ed05_2a003f80854be624846fe"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: huitema
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/vhUiQE4xueLjyZKtEnaHJKug8ho>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.27
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: Thu, 26 Jul 2018 01:51:31 -0000

huitema commented on this pull request.



> +  f2 41 f2 57 2e fe ee 53 ca 69 0c e5 b2 85 ab 34
+  e9 39 e8 fe 98 d7 14 6b b9 fc 78 e9 9a 1b 41 ab
+~~~
+
+Using this secret, we get the following keys (16 bytes) and
+initialization vector (12 bytes):
+
+~~~
+  key:     99 ff fd 2c 3e 4a cd ae 3d 32 02 1c 75 38 86 c0
+
+  pn key:  14 c2 70 2b 54 48 80 d3 9d ab d7 dd c8 eb cd 9a
+
+  IV:      27 92 24 e5 85 fd 84 e9 e0 70 ea 9a
+~~~
+
+

In fact, I think that it would be better to start with the test vector in EKR's message "PNE Test Vector" sent on the quic list on 7/18/2018.

-- 
You are receiving this because you are subscribed to this thread.
Reply to this email directly or view it on GitHub:
https://github.com/quicwg/base-drafts/pull/1573#discussion_r205310858