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

Re: BigNum API Proposal

From: Ryan Sleevi <sleevi@google.com>
Date: Mon, 4 Mar 2013 14:26:02 -0800
Message-ID: <CACvaWvbhLP4TNdF_OAQynzX8BiVHKPx6j0N=xNi4AutWeQNRPQ@mail.gmail.com>
To: Richard Barnes <rbarnes@bbn.com>
Cc: Anthony Nadalin <tonynad@microsoft.com>, "public-webcrypto@w3.org" <public-webcrypto@w3.org>
No.

But it should be part of the core language - not something a
browser/user-agent provides.

You want your JS engine to be able to recognize "Hey, this is a big
num op" and swap out with optimized asm.

On Mon, Mar 4, 2013 at 1:33 PM, Richard Barnes <rbarnes@bbn.com> wrote:
> Do you mean that JS integers should be arbitrary precision, like python integers?
>
>
> On Mar 4, 2013, at 4:03 PM, Ryan Sleevi <sleevi@google.com> wrote:
>
>> Which is why it should be in the language, not the DOM.
>>
>> On Mon, Mar 4, 2013 at 12:59 PM, Anthony Nadalin <tonynad@microsoft.com> wrote:
>>> Performance, need performance of native
>>>
>>> -----Original Message-----
>>> From: Richard Barnes [mailto:rbarnes@bbn.com]
>>> Sent: Monday, March 4, 2013 10:23 AM
>>> To: Anthony Nadalin
>>> Cc: 'public-webcrypto@w3.org'
>>> Subject: Re: BigNum API Proposal
>>>
>>> Could you clarify why this needs to be done as a web API instead of in JS?
>>>
>>> To answer the obvious question: The WebCrypto API needs to provide crypto primitives so that the keying material can remain hidden from the JS in most circumstances.  Not clear to me that that applies to general BigNum stuff.
>>>
>>>
>>> On Mar 4, 2013, at 12:41 PM, Anthony Nadalin <tonynad@microsoft.com> wrote:
>>>
>>>> With all the discussion about blind signatures and support for BigNum, here is a draft API that Microsoft is submitting to the WG as a basis for the API. The BigNum API is common function in other JS libraries and a needed basic function for nonstandard algorithms. We would like to further discuss this at the up and coming F2F thus a heads up and a chance to read prior and looking forward to comments and discussions.
>>>> <CryptoAPI.j_>
>>>
>>>
>>>
>>>
>>>
>>
>
Received on Monday, 4 March 2013 22:26:30 UTC

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