W3C home > Mailing lists > Public > public-webcrypto@w3.org > March 2014

Re: Bug 23159 - Inconsistent "length" property when generating keys (bits vs bytes)

From: Richard Barnes <rlb@ipv.sx>
Date: Mon, 3 Mar 2014 23:59:06 +0000
Message-ID: <CAL02cgS0r6LFbR14XgAPA-shWf2rCvf9hy6SjRq6BR-jwtKHOw@mail.gmail.com>
To: Mark Watson <watsonm@netflix.com>
Cc: "public-webcrypto@w3.org" <public-webcrypto@w3.org>
Agree we should be uniform.  Typed arrays are all byte oriented, so it
seems like aligning on BYTES (literally) would result in less ambiguity.
Otherwise you have to say how you pack left over bits.



On Monday, March 3, 2014, Mark Watson <watsonm@netflix.com> wrote:

> https://www.w3.org/Bugs/Public/show_bug.cgi?id=23159
>
> The length property of an algorithm is everywhere specified as the length
> in BITS, except HMAC which defines it as the length in BYTES.
>
> The proposal is to align on BITS.
>
> Any objections ?
>
> ...Mark
>
Received on Monday, 3 March 2014 23:59:33 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:17:21 UTC