Re: [TLS] Length of a variable-length vector: Could it be an odd multiple?

Jong-Shian Wu <js@crypto.tw> Wed, 13 January 2016 21:03 UTC

Return-Path: <js@crypto.tw>
X-Original-To: tls@ietfa.amsl.com
Delivered-To: tls@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 321321A0104 for <tls@ietfa.amsl.com>; Wed, 13 Jan 2016 13:03:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.278
X-Spam-Level:
X-Spam-Status: No, score=-1.278 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622] autolearn=no
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 0F1daXK5o_Pb for <tls@ietfa.amsl.com>; Wed, 13 Jan 2016 13:03:33 -0800 (PST)
Received: from mail-ob0-x22d.google.com (mail-ob0-x22d.google.com [IPv6:2607:f8b0:4003:c01::22d]) (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 79F231A0105 for <tls@ietf.org>; Wed, 13 Jan 2016 13:03:33 -0800 (PST)
Received: by mail-ob0-x22d.google.com with SMTP id is5so65962677obc.0 for <tls@ietf.org>; Wed, 13 Jan 2016 13:03:33 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=crypto-tw.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; bh=0Lapep4TdAxEZ1+nx641/8UJbnCg9iNg+AmlQOTB0gQ=; b=uORwT45EWYEOZ9EmZSfvQiuivNVycKJ7k+U8BklVSMrB8SaxgmDm7GNFmvMBlrqaz1 vcq2jptf6BS1Cp1DlfC4PajVrAQfwnnLhWSbSGUYUPp9IrAFiT7kTPDuABJLZBBRWEjA CcJSP97aVdbr+M6b+zD2wA1NiBYSsGpPtOlywutr9u//a7ChwvqnHP99K8cwpL+14Wwv Q/oTEE558rdpcJ2y/F7ooOBIdLD8K75VuISjI6JEg8fgi74fcG7Wuv3xa4ZTpEMw0aYg 3L6Lfe2X1LQQCXFEREhvxmEHLC+s2lGdQBOCVnLpnTdnau9fHFy39oZim5cXBpC1EQXo Hxdw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc:content-type; bh=0Lapep4TdAxEZ1+nx641/8UJbnCg9iNg+AmlQOTB0gQ=; b=mK5rnwZiZNqlo8UlnRlQE3ibHkhvYzOxpE3NQKCnk3La0o8jMFRozMSDmGK1llgaFS 1mOFpzHSPwcGPFSSZJbTYzszyqRqJ5J9h5Fy3nlDwmSU/4IrosoXF7onaoE3hk1p6JpQ at8R5QMRQLTQ6mxBCWfShIMsixQuRxnQ4ktfgazSGd/bUoy1QlhWyuOrU72H03kn92wp ecGefviXSqIWb3w/+BLZMfGoKY1fJWJc/1Z2RFcMQhlujY+qadov+T0D7qdHqYIRAN8n XK5zchpmkrmOTD7q34SvfHEbbduW45tA+9ea/+ck8f5SLS2eFkRuwh8dpTOcwWoZEItx nEeA==
X-Gm-Message-State: ALoCoQlVnAHrceJeWHNFMtOo5AevCfGrOhomuKccESmtdKOOF4twL0HcQ7lQ9PLeIE9zwFA6Ybb1Kv3uXxLH2syS+ALYxtpnPA==
X-Received: by 10.182.18.105 with SMTP id v9mr245358obd.59.1452719012870; Wed, 13 Jan 2016 13:03:32 -0800 (PST)
Received: from mail-ob0-f170.google.com (mail-ob0-f170.google.com. [209.85.214.170]) by smtp.gmail.com with ESMTPSA id w143sm1548122oiw.16.2016.01.13.13.03.32 for <tls@ietf.org> (version=TLSv1/SSLv3 cipher=OTHER); Wed, 13 Jan 2016 13:03:32 -0800 (PST)
Received: by mail-ob0-f170.google.com with SMTP id py5so98263902obc.2 for <tls@ietf.org>; Wed, 13 Jan 2016 13:03:32 -0800 (PST)
X-Received: by 10.182.241.3 with SMTP id we3mr268831obc.82.1452719012296; Wed, 13 Jan 2016 13:03:32 -0800 (PST)
MIME-Version: 1.0
Received: by 10.202.197.131 with HTTP; Wed, 13 Jan 2016 13:02:53 -0800 (PST)
In-Reply-To: <5696B946.3050405@akamai.com>
References: <CA+_zv04F0EiLdcbkhyNo9P8dR3BW3JAsDys_WKFXXUW92x=LcQ@mail.gmail.com> <5696B946.3050405@akamai.com>
From: Jong-Shian Wu <js@crypto.tw>
Date: Thu, 14 Jan 2016 05:02:53 +0800
X-Gmail-Original-Message-ID: <CA+_zv04a+5euxpVz9JgD1JrvG9NGsSP8KAOzYZ1_1S3sbO9HyQ@mail.gmail.com>
Message-ID: <CA+_zv04a+5euxpVz9JgD1JrvG9NGsSP8KAOzYZ1_1S3sbO9HyQ@mail.gmail.com>
To: Benjamin Kaduk <bkaduk@akamai.com>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tls/9TnXYJVQw_P9p5YIJpkEOdu3m7A>
Cc: tls@ietf.org
Subject: Re: [TLS] Length of a variable-length vector: Could it be an odd multiple?
X-BeenThere: tls@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: "This is the mailing list for the Transport Layer Security working group of the IETF." <tls.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tls>, <mailto:tls-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tls/>
List-Post: <mailto:tls@ietf.org>
List-Help: <mailto:tls-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tls>, <mailto:tls-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 13 Jan 2016 21:03:34 -0000

On Thu, Jan 14, 2016 at 4:53 AM, Benjamin Kaduk <bkaduk@akamai.com> wrote:
> It means "whole-number" as opposed to fractional, i.e., there should not
> be unused "junk bytes" at the end.
>
> -Ben

Ah, so that is not about even vs odd numbers at all.  Thank you very
much for the quick clarification!