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

Rui Paulo <notifications@github.com> Mon, 30 July 2018 04:33 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 1C1E7130F96 for <quic-issues@ietfa.amsl.com>; Sun, 29 Jul 2018 21:33:21 -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 PWBkau30pl8d for <quic-issues@ietfa.amsl.com>; Sun, 29 Jul 2018 21:33:19 -0700 (PDT)
Received: from out-1.smtp.github.com (out-1.smtp.github.com [192.30.252.192]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 30D19130934 for <quic-issues@ietf.org>; Sun, 29 Jul 2018 21:33:19 -0700 (PDT)
Date: Sun, 29 Jul 2018 21:33:18 -0700
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=github.com; s=pf2014; t=1532925198; bh=2nynlGNxP2Axpn2A59LxfpDVKPdfQau9F4MJw2pvm4M=; h=Date:From:Reply-To:To:Cc:In-Reply-To:References:Subject:List-ID: List-Archive:List-Post:List-Unsubscribe:From; b=0h/U/21rknLh4SjlvfZizyKmUx9oCtnHF2Q5AVKGO3vPpQQeUWybb5NU2BDCxzPmA Mo54F6/6DHf9LmTg6Zv5fm3lud2ii0SdwXxy1Otjl1d0dyc7QRv0VDm8nUu43dcYAv PID+hWw5aGaPl/ECLdjLLvIfj/fkazJMQzF9b8vw=
From: Rui Paulo <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4abf154cba277d31b44e937d93d75b133d2edfa548d92cf000000011776570e92a169ce145eeded@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/141389860@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_5b5e950e8a2f7_3d073ff5e7cd45c076478e"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: rpaulo
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/kcBsRxtG6fC4YZHLPsixa3ndXME>
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: Mon, 30 Jul 2018 04:33:21 -0000

rpaulo 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
+~~~
+
+

@huitema my objective was to have the PN key in this section and then use it for PNE but this PR was just for initial test vectors.  I agree we need independent verification before we publish.

-- 
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_r206012942