Re: aes128gcm: is the 1st example wrong?

Daurnimator <quae@daurnimator.com> Thu, 16 February 2017 06:14 UTC

Return-Path: <ietf-http-wg-request+bounce-httpbisa-archive-bis2juki=lists.ie@listhub.w3.org>
X-Original-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Delivered-To: ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D22D12953D for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2017 22:14:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.502
X-Spam-Level:
X-Spam-Status: No, score=-6.502 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_SORBS_SPAM=0.5, RP_MATCHES_RCVD=-0.001, SPF_HELO_PASS=-0.001, SPF_PASS=-0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=daurnimator.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 d80uXdg5Wa2N for <ietfarch-httpbisa-archive-bis2Juki@ietfa.amsl.com>; Wed, 15 Feb 2017 22:14:41 -0800 (PST)
Received: from frink.w3.org (frink.w3.org [128.30.52.56]) (using TLSv1.2 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 6810E1295B9 for <httpbisa-archive-bis2Juki@lists.ietf.org>; Wed, 15 Feb 2017 21:59:40 -0800 (PST)
Received: from lists by frink.w3.org with local (Exim 4.80) (envelope-from <ietf-http-wg-request@listhub.w3.org>) id 1ceF3C-0000gR-53 for ietf-http-wg-dist@listhub.w3.org; Thu, 16 Feb 2017 05:56:18 +0000
Resent-Date: Thu, 16 Feb 2017 05:56:18 +0000
Resent-Message-Id: <E1ceF3C-0000gR-53@frink.w3.org>
Received: from titan.w3.org ([128.30.52.76]) by frink.w3.org with esmtps (TLS1.2:RSA_AES_128_CBC_SHA1:128) (Exim 4.80) (envelope-from <quae@daurnimator.com>) id 1ceF2z-0000fO-LL for ietf-http-wg@listhub.w3.org; Thu, 16 Feb 2017 05:56:05 +0000
Received: from mail-it0-f42.google.com ([209.85.214.42]) by titan.w3.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.84_2) (envelope-from <quae@daurnimator.com>) id 1ceF2t-0004zD-KN for ietf-http-wg@w3.org; Thu, 16 Feb 2017 05:56:00 +0000
Received: by mail-it0-f42.google.com with SMTP id c7so88643055itd.1 for <ietf-http-wg@w3.org>; Wed, 15 Feb 2017 21:55:38 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=daurnimator.com; s=daurnimator; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=tkhltq6TfewZgrlvsnbQ3lw2wZsjhJTx0bt4p0WoQag=; b=eubLgdAMxlKBMheUeoYX6u4mOLg+IpgDojqqo69s6ddF9s3NVnmhB1vzrQRKMezf+U fDrFW2puTMmxfuaI7WMFrxBj7Xg88kjWDtibqtuhwHR7+6Y6BeWAxTocEnZHHsiqoxfU kcE2Wlv2GUTupk412bqdqSo6XGID3n/TfqlBA=
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=tkhltq6TfewZgrlvsnbQ3lw2wZsjhJTx0bt4p0WoQag=; b=JE1RvEEzWDZlL6K8HtfI7DhRml5yQ3dbx2czxxYcRQYrF7fGH5sL4YOeRpx3GIHi+j RndeoLlitMFPY8pJtSOYwv+s5TG+xxi9J33Zly8NhhIkZmeyED1wW5Efi4VUId0fggrl SJkx2XFGovq6zt7g0eR+89X3ZSOpdKy2eVnPGxHOubAPuR5Sz2HonXsw2RqcBT9chrlA fuOX1blPhA+La98LrGySiDbuzNzQJfEwYohwp30VNEQQDAVpU+9ObZitGyItUzXutSSj 84C2dpKJu+E4c+JzoMqpPMK0Kmosf7qaCaEypN+gDahaL/IzV1t8p79eg1VtRX3qmKxM 6Mpg==
X-Gm-Message-State: AMke39mkKNfNDbp3s5aqzLPhiYfIRo9czV5FcS3v6F7qauy64wyT/ri6odLdgVsuQSBGQQ==
X-Received: by 10.36.70.1 with SMTP id j1mr761283itb.15.1487224532924; Wed, 15 Feb 2017 21:55:32 -0800 (PST)
Received: from mail-it0-f51.google.com (mail-it0-f51.google.com. [209.85.214.51]) by smtp.gmail.com with ESMTPSA id 9sm2841001itm.18.2017.02.15.21.55.32 for <ietf-http-wg@w3.org> (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Wed, 15 Feb 2017 21:55:32 -0800 (PST)
Received: by mail-it0-f51.google.com with SMTP id 203so88792512ith.0 for <ietf-http-wg@w3.org>; Wed, 15 Feb 2017 21:55:32 -0800 (PST)
X-Received: by 10.36.189.135 with SMTP id x129mr12510589ite.123.1487224531855; Wed, 15 Feb 2017 21:55:31 -0800 (PST)
MIME-Version: 1.0
Received: by 10.107.185.85 with HTTP; Wed, 15 Feb 2017 21:55:31 -0800 (PST)
In-Reply-To: <SYXPR01MB16157B1A0656DE1BDF8F7727E55A0@SYXPR01MB1615.ausprd01.prod.outlook.com>
References: <SYXPR01MB1615D5823473E6A9B5F0C80DE57C0@SYXPR01MB1615.ausprd01.prod.outlook.com> <CABkgnnWE38wbhKfp+5nF1hfn7qH4-6Uk4QMGBKgGL6-f_em_KA@mail.gmail.com> <1459eb07-f8cb-ff90-6101-be05f80c76aa@gmx.de> <CABkgnnVVc3OvJh1ukTuaFmrbOLgEiVWSqfKGP74ct=TKxpZxTg@mail.gmail.com> <SYXPR01MB1615A9EA6825C721A3ACCEA9E5460@SYXPR01MB1615.ausprd01.prod.outlook.com> <daa227a4-e2b7-f9cc-7468-b1f2ebfc69c1@gmx.de> <CABkgnnUxtcNnrs=O3bVNbuMnLuX6HpHNG-bkhDQn7ZZmzvuiiA@mail.gmail.com> <CAEnbY+dfBAqAMfm5Y0gMYCSPT4mEfR11C4tLdyOSYsf6R1865g@mail.gmail.com> <SYXPR01MB16157B1A0656DE1BDF8F7727E55A0@SYXPR01MB1615.ausprd01.prod.outlook.com>
From: Daurnimator <quae@daurnimator.com>
Date: Thu, 16 Feb 2017 16:55:31 +1100
X-Gmail-Original-Message-ID: <CAEnbY+em1=xOuXi_5-aR0-=R-VUF=Z=0=9bmOGXPmwMAbHZ2cg@mail.gmail.com>
Message-ID: <CAEnbY+em1=xOuXi_5-aR0-=R-VUF=Z=0=9bmOGXPmwMAbHZ2cg@mail.gmail.com>
To: "Manger, James" <James.H.Manger@team.telstra.com>
Cc: "ietf-http-wg@w3.org" <ietf-http-wg@w3.org>
Content-Type: text/plain; charset="UTF-8"
Received-SPF: none client-ip=209.85.214.42; envelope-from=quae@daurnimator.com; helo=mail-it0-f42.google.com
X-W3C-Hub-Spam-Status: No, score=-4.8
X-W3C-Hub-Spam-Report: AWL=-1.312, BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RCVD_IN_SORBS_SPAM=0.5, W3C_AA=-1, W3C_WL=-1
X-W3C-Scan-Sig: titan.w3.org 1ceF2t-0004zD-KN d813bada0ae36959203786794fdfa1c0
X-Original-To: ietf-http-wg@w3.org
Subject: Re: aes128gcm: is the 1st example wrong?
Archived-At: <http://www.w3.org/mid/CAEnbY+em1=xOuXi_5-aR0-=R-VUF=Z=0=9bmOGXPmwMAbHZ2cg@mail.gmail.com>
Resent-From: ietf-http-wg@w3.org
X-Mailing-List: <ietf-http-wg@w3.org> archive/latest/33549
X-Loop: ietf-http-wg@w3.org
Resent-Sender: ietf-http-wg-request@w3.org
Precedence: list
List-Id: <ietf-http-wg.w3.org>
List-Help: <http://www.w3.org/Mail/>
List-Post: <mailto:ietf-http-wg@w3.org>
List-Unsubscribe: <mailto:ietf-http-wg-request@w3.org?subject=unsubscribe>

On 16 February 2017 at 12:11, Manger, James
<James.H.Manger@team.telstra.com> wrote:
> 8bit data is perfectly fine.
> All zeros *from the end back to the padding delimiter byte* are padding.
> Bytes before the padding delimiter byte can be anything (including zero).

Ah sorry, I misunderstood.