Packet Number Encryption outside of AEAD

Mikkel Fahnøe Jørgensen <> Thu, 26 July 2018 06:21 UTC

Return-Path: <>
Received: from localhost (localhost []) by (Postfix) with ESMTP id EE89A130DF2 for <>; Wed, 25 Jul 2018 23:21:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at
X-Spam-Flag: NO
X-Spam-Score: -1.997
X-Spam-Status: No, score=-1.997 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: (amavisd-new); dkim=pass (2048-bit key)
Received: from ([]) by localhost ( []) (amavisd-new, port 10024) with ESMTP id tliiLvI_pvc3 for <>; Wed, 25 Jul 2018 23:21:48 -0700 (PDT)
Received: from ( [IPv6:2607:f8b0:4001:c0b::22b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by (Postfix) with ESMTPS id EE9F5130DC2 for <>; Wed, 25 Jul 2018 23:21:47 -0700 (PDT)
Received: by with SMTP id 72-v6so1266672itw.3 for <>; Wed, 25 Jul 2018 23:21:47 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=from:mime-version:date:message-id:subject:to; bh=a5T/VlWp8XpoCviFG9y55uKCaXfH79+1hZDHFVAaoRY=; b=Nym+M3HSB1tDUPMQRLK7pb4P4HFSbPQRazX4vfJSPE3zD05yOasmV2ipoCb9FJYxBl IkDz2RSZoOKxvDMWrMLUpnGccOgVVM1DQD3+OJpB8bCBcu3rVz51nDNv6KuLzLRrrKAz myZjm6crKrRE3ih5qhrPGS5cz3O5kfvEju3vPZCNnJ96ZmyAJNOX+4H+S7MiwuUV3jxi ms4g9+2tkuK4FcFKBvXijQDpQflZfGtDpPd13ELM/2YeOaojqd9+kqxY8YdlL2lbngVA wdKUiNc2nXBuwkVBNeFGsZVNKBwsIyigowSF2u0+iL8j8r1BSy20MnCpbLOonHuyH1MF tDlg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;; s=20161025; h=x-gm-message-state:from:mime-version:date:message-id:subject:to; bh=a5T/VlWp8XpoCviFG9y55uKCaXfH79+1hZDHFVAaoRY=; b=UXMTOihFIvaxhWw1FCiQeRVjKi6NWrSdgfe+KHXTxTtK5/FUcsrDBmk+fpT+if9ndh biXFxHfxbOA9XOfZ6Ygn0nn23DTKBS1md1kLhdZUIC/R8QQ/XLOSgFFvAvCjTu515160 KtxGGH0EFsyqH1ndzKPwQcKAx32Gyi8VFFidDPFOt+tYRJLmJ9Yae2iYL3Nqr14JAX4W TJKOsipdQgB0KvE52gvLinkpT6R9gPlopxIip0XIu3GiPkiClI3+TW4FOrzKTR5PE/GX kffKF+hcl8z65FdU6/2/VmtJ7pV/KjFNxsgQrYPDTQvG2zq2/UuqSCE4CMJoPXOKIVq5 4Pcg==
X-Gm-Message-State: AOUpUlEFpjUfkf4QI0CKI2k52IuNnpsbQiAaaWimOVq49TK92/wM7+4F qjhvLQmqZsgGFae+DyZnK+8Z+CL/A4SGlH9D8sWm0w==
X-Google-Smtp-Source: AAOMgpfhKA315M9vP8ZbLjo+qJYIWmdC9hqyUm9QIcO1tcJ5SScudarN7SGutlCXg+vdjFzcoPJSo2nbWy1q5vQ3lWY=
X-Received: by 2002:a24:4ecb:: with SMTP id r194-v6mr829233ita.39.1532586107042; Wed, 25 Jul 2018 23:21:47 -0700 (PDT)
Received: from 1058052472880 named unknown by with HTTPREST; Wed, 25 Jul 2018 23:21:46 -0700
From: =?UTF-8?Q?Mikkel_Fahn=C3=B8e_J=C3=B8rgensen?= <>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Wed, 25 Jul 2018 23:21:46 -0700
Message-ID: <>
Subject: Packet Number Encryption outside of AEAD
Content-Type: multipart/alternative; boundary="0000000000007f82420571e1020e"
Archived-At: <>
X-Mailman-Version: 2.1.27
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <>
List-Unsubscribe: <>, <>
List-Archive: <>
List-Post: <>
List-Help: <>
List-Subscribe: <>, <>
X-List-Received-Date: Thu, 26 Jul 2018 06:21:50 -0000

I created the following issue a while ago but go no response, so perhaps it
should have been discussed on this list:

The issues covers the point, but in summary:

If the packet format is kept as it is today, but the packet number is not
included in the authenticated data when computing the AEAD tag, then the
decoder need not modify the received packet buffer when decoding the packet
number. This can lead to more efficient hardware implementations and make
multi-processor buffer sharing more effective.