Re: [quicwg/base-drafts] Remove the explicit packet number gap in favor of one computed (#496)
janaiyengar <notifications@github.com> Thu, 04 May 2017 01:23 UTC
Return-Path: <bounces+848413-a050-quic-issues=ietf.org@sgmail.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 5B25E12944A for <quic-issues@ietfa.amsl.com>; Wed, 3 May 2017 18:23:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.8
X-Spam-Level:
X-Spam-Status: No, score=-4.8 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_IMAGE_ONLY_32=0.001, HTML_MESSAGE=0.001, RCVD_IN_MSPIKE_H2=-2.8, RP_MATCHES_RCVD=-0.001, SPF_PASS=-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 DbVJ53YOCZJQ for <quic-issues@ietfa.amsl.com>; Wed, 3 May 2017 18:23:39 -0700 (PDT)
Received: from o6.sgmail.github.com (o6.sgmail.github.com [192.254.113.101]) (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 B3313126E3A for <quic-issues@ietf.org>; Wed, 3 May 2017 18:23:39 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed/relaxed; d=github.com; h=from:reply-to:to:cc:in-reply-to:references:subject:mime-version:content-type:content-transfer-encoding:list-id:list-archive:list-post:list-unsubscribe; s=s20150108; bh=JuMPuVwWPxJGhSm3IOcBv5A5Z7U=; b=B57jaujv1co+WagH aLkhKyfF7T+7FhlxdfUTmV4ToFEONYuWhBUwImKqyoXwsCWhns2+7wtZ2NF5Kuov /kouUEs7kq6HaAt0gThm+gNqgudVu+j0NhxB4GmQoZ+g1FNHHsbokFLc34bHUzXa sXXR9+Y8cYT9tPVnC59RFlJFEvQ=
Received: by filter0449p1mdw1.sendgrid.net with SMTP id filter0449p1mdw1-9561-590A829A-1F 2017-05-04 01:23:38.584087511 +0000 UTC
Received: from github-smtp2b-ext-cp1-prd.iad.github.net (github-smtp2b-ext-cp1-prd.iad.github.net [192.30.253.17]) by ismtpd0002p1iad1.sendgrid.net (SG) with ESMTP id Vxo0mBQtQPyrpvutjD4gxA for <quic-issues@ietf.org>; Thu, 04 May 2017 01:23:38.569 +0000 (UTC)
Date: Wed, 03 May 2017 18:23:38 -0700
From: janaiyengar <notifications@github.com>
Reply-To: quicwg/base-drafts <reply+0166e4ab6f9c8a652f6896d54c58d5ee682c0ca5bf4c5afd92cf000000011522449a92a169ce0d7957f1@reply.github.com>
To: quicwg/base-drafts <base-drafts@noreply.github.com>
Cc: Subscribed <subscribed@noreply.github.com>
Message-ID: <quicwg/base-drafts/pull/496/review/36174630@github.com>
In-Reply-To: <quicwg/base-drafts/pull/496@github.com>
References: <quicwg/base-drafts/pull/496@github.com>
Subject: Re: [quicwg/base-drafts] Remove the explicit packet number gap in favor of one computed (#496)
Mime-Version: 1.0
Content-Type: multipart/alternative; boundary="--==_mimepart_590a829a7550c_28713fa198691c3883478"; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Precedence: list
X-GitHub-Sender: janaiyengar
X-GitHub-Recipient: quic-issues
X-GitHub-Reason: subscribed
X-Auto-Response-Suppress: All
X-GitHub-Recipient-Address: quic-issues@ietf.org
X-SG-EID: l64QuQ2uJCcEyUykJbxN122A6QRmEpucztpreh3Pak1zUrsQLUBCTyumE8M7vjxVT0/JrvvFYu+NSn ABJyzb6WPVnlxsxCMcabLNXVWHmHcL5GeCNiHJNkYCdeEsgD9HYXqivpiYlnMNe6OLutxAOJLQBEvC OC3c+6FdSpJeN7OGaCd6fP2y1cpOD4tzu+8Gm7Hbmg9LlrJ8h4vxHUScqDn8pklSrq3gFx7OB8+M/b A=
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic-issues/5yiHtnRMIN2PTfls8fIylpPrq4Y>
X-BeenThere: quic-issues@ietf.org
X-Mailman-Version: 2.1.22
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, 04 May 2017 01:23:41 -0000
janaiyengar commented on this pull request. > @@ -1296,6 +1291,22 @@ connection ID, it should expect packets on the new connection ID to start at 18. A packet with the new connection ID and a packet number of 17 is discarded as being in error. +#### Packet Number Gap + +In order to avoid linkage, the packet number gap MUST be externally +indistinguishable from random. The packet number gap for a connection +ID with sequence number is computed by encoding the sequence number +as a 32-bit integer in big-endian format, and then computing: + +~~~ +Gap = HKDF-Expand-Label(packet_number_secret, + "QUIC packet sequence gap", sequence, 4) Why wouldn't a simple keyed-hash be adequate? Of course, organization of text shouldn't determine our design; do you have a suggestion for organizing the text if HKDF is to be used? -- 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/496#discussion_r114687201
- [quicwg/base-drafts] Remove the explicit packet n… ekr
- Re: [quicwg/base-drafts] Remove the explicit pack… ekr
- Re: [quicwg/base-drafts] Remove the explicit pack… Martin Thomson
- Re: [quicwg/base-drafts] Remove the explicit pack… ekr
- Re: [quicwg/base-drafts] Remove the explicit pack… ekr
- Re: [quicwg/base-drafts] Remove the explicit pack… janaiyengar
- Re: [quicwg/base-drafts] Remove the explicit pack… janaiyengar
- Re: [quicwg/base-drafts] Remove the explicit pack… Martin Thomson
- Re: [quicwg/base-drafts] Remove the explicit pack… ekr
- Re: [quicwg/base-drafts] Remove the explicit pack… janaiyengar
- Re: [quicwg/base-drafts] Remove the explicit pack… Martin Thomson
- Re: [quicwg/base-drafts] Remove the explicit pack… janaiyengar
- Re: [quicwg/base-drafts] Remove the explicit pack… Martin Thomson
- Re: [quicwg/base-drafts] Remove the explicit pack… ekr
- Re: [quicwg/base-drafts] Remove the explicit pack… janaiyengar
- Re: [quicwg/base-drafts] Remove the explicit pack… janaiyengar
- Re: [quicwg/base-drafts] Remove the explicit pack… Martin Thomson