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

2016-01-13 Thread Jong-Shian Wu
I have a question about the even-vs-odd restrictions on the length of a valid variable-length vector defined in TLS specification after reading the section 4.3 of RFC 5246 [1] which states that: "The length of an encoded vector must be an even multiple of the length of a single element (for example

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

2016-01-13 Thread Jong-Shian Wu
On Thu, Jan 14, 2016 at 4:53 AM, Benjamin Kaduk 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! _