Commit Graph

59 Commits

Author SHA1 Message Date
Guilherme Goncalves
a49ce40aa1 Bug 1088042 - Fix JsonWebKey object in test_WebCrypto_JWK. r=rbarnes 2014-10-23 09:07:00 +02:00
Tim Taubert
c9d7cf6c0d Bug 1034856 - Remove CryptoBuffer::ToSECItem() using moz_malloc() r=rbarnes 2014-09-03 09:40:21 -04:00
Tim Taubert
f450c02db4 Bug 1034856 - Implement SPKI public key import/export for DH r=rbarnes 2014-08-22 15:32:15 +02:00
Tim Taubert
052b3f48cc Bug 1034856 - Implement raw public key import/export for DH r=rbarnes,smaug 2014-08-22 12:02:14 +02:00
Tim Taubert
530abb1378 Bug 1034856 - Implement deriveBits() for DH r=rbarnes,smaug 2014-08-21 17:51:51 +02:00
Tim Taubert
0ac4ad093d Bug 1034856 - Implement generateKey() for DH r=rbarnes 2014-07-20 06:38:44 +02:00
Richard Barnes
a717141eec Bug 1034854 - Add support for ECDSA to WebCrypto API r=ttaubert,dkeeler r=bz 2014-10-13 23:19:00 +02:00
Tim Taubert
a1fad13d55 Bug 1078847 - GenerateAsymmetricKeyTask should allow generating key pairs where only the public key or the private key has any usages r=rbarnes 2014-10-07 00:47:21 +02:00
Richard Barnes
9675da7865 Bug 1077072 - Add telemetry for ECDH and PBKDF2 to WebCrypto API r=ttaubert 2014-10-03 15:03:04 -04:00
Richard Barnes
b4cce44046 Bug 1064320 - NSC_Encrypt returns uninitialised garbage which is handed onwards to realloc 2014-09-30 17:43:49 -04:00
Richard Barnes
452905a915 Bug 1037892 - Implement changes to WebCrypto API from latest Editor's Draft r=bz,ttaubert 2014-09-27 14:22:57 -04:00
Wes Kocher
282d72751c Backed out changeset 398bdeea30b0 (bug 1037892) for build bustage 2014-09-26 15:35:38 -07:00
Richard Barnes
82ea3e9b15 Bug 1037892 - Implement changes to WebCrypto API from latest Editor's Draft r=bz,ttaubert
* * *
Add check for old structured clone format.
2014-09-26 17:36:39 -04:00
Bobby Holley
8ff0a8449b Bug 1070696 - Rename xpc::GetNativeForGlobal to xpc::NativeGlobal and make it accept non-global JSObjects. r=smaug
The method is infallible, and making the callers invoke
js::GetGlobalForObjectCrossCompartment manually is dumb.
2014-09-21 21:31:53 +02:00
Chris Peterson
def5e6780e Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Ehsan Akhgari
99fed18e00 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:26:43 -04:00
Tim Taubert
9dc11e06e4 Bug 1048133 - Check key algorithms before using them for encryption/signatures r=rbarnes a=abillings 2014-08-04 14:31:17 +02:00
Tim Taubert
ca4ca454cd Bug 1050785 - RSA-OAEP encrypt/decrypt should accept strings as AlgorithmIdentifiers r=rbarnes 2014-08-08 16:45:08 +02:00
Tim Taubert
c2fa80fa95 Bug 1050202 - Take length parameter into account when deriving HMAC keys r=rbarnes,smaug 2014-08-07 12:52:28 +02:00
Tim Taubert
9e02913454 Bug 1034855 - Implement SPKI import/export for ECDH r=keeler,rbarnes 2014-08-04 09:39:12 +02:00
Tim Taubert
0ca4eb6c1c Bug 1034855 - Implement deriveKey() for ECDH r=rbarnes 2014-07-29 12:37:06 +02:00
Tim Taubert
cacd830324 Bug 1034855 - Implement JWK import/export for ECDH r=rbarnes,keeler 2014-07-29 11:10:07 +02:00
Tim Taubert
a2da8b3090 Bug 1034855 - Implement deriveBits() for ECDH r=rbarnes,smaug 2014-07-29 11:11:26 +02:00
Tim Taubert
0d1cf93ff6 Bug 1034855 - Implement generateKey() for ECDH r=rbarnes,keeler 2014-07-26 08:01:14 +02:00
Tim Taubert
16e7421301 Bug 1034855 - Introduce EcKeyAlgorithm r=rbarnes,smaug 2014-07-26 08:00:24 +02:00
Ryan VanderMeulen
36111f94fd Backed out 6 changesets (bug 1034855) for LSAN leaks on a CLOSED TREE.
Backed out changeset 0dc569f74991 (bug 1034855)
Backed out changeset 4eb0ee62db1e (bug 1034855)
Backed out changeset 4af8993f1534 (bug 1034855)
Backed out changeset f4f5f5b8421d (bug 1034855)
Backed out changeset 33510bb7ad60 (bug 1034855)
Backed out changeset 50b8670329aa (bug 1034855)
2014-08-05 14:04:08 -04:00
Tim Taubert
094a318d7b Bug 1034855 - Implement SPKI import/export for ECDH r=keeler,rbarnes 2014-08-04 09:39:12 +02:00
Tim Taubert
43cc690f78 Bug 1034855 - Implement deriveKey() for ECDH r=rbarnes 2014-07-29 12:37:06 +02:00
Tim Taubert
9322851e17 Bug 1034855 - Implement JWK import/export for ECDH r=rbarnes,keeler 2014-07-29 11:10:07 +02:00
Tim Taubert
c28e35687e Bug 1034855 - Implement deriveBits() for ECDH r=rbarnes,smaug 2014-07-29 11:11:26 +02:00
Tim Taubert
ca69c5f6d5 Bug 1034855 - Implement generateKey() for ECDH r=rbarnes,keeler 2014-07-26 08:01:14 +02:00
Tim Taubert
aba0e0cf76 Bug 1034855 - Introduce EcKeyAlgorithm r=rbarnes,smaug 2014-07-26 08:00:24 +02:00
Boris Zbarsky
5eb56aafbf Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley 2014-07-31 23:50:19 -04:00
Tim Taubert
02cd7a61c4 Bug 1037501 - Normalize WebCrypto algorithm names as they are defined in the spec r=rbarnes 2014-07-25 16:33:03 +02:00
Tim Taubert
a0d5454da1 Bug 1044071 - WebCrypto API methods need to resolve to ArrayBuffers not Uint8Arrays r=rbarnes 2014-07-25 19:18:58 +02:00
Richard Barnes
8e3893c225 Bug 1034852 - Add support for AES-KW to WebCrypto API r=keeler 2014-07-19 07:04:00 -05:00
Richard Barnes
1c95a43c5a Bug 1025230 - Allow import/export of JWK-formatted keys in WebCrypto r=bz,keeler 2014-07-19 08:25:00 -05:00
Richard Barnes
42e188ad5d Bug 1034851 - Add wrapKey and unwrapKey methods to WebCrypto API r=bz 2014-07-19 08:24:00 -05:00
Tim Taubert
844bd02a6e Bug 1026398 - Add support for RSA-OAEP to WebCrypto API r=rbarnes,bz,dkeeler
* * *
Bug 1026398 - Add RSA-OAEP tests r=rbarnes
2014-07-14 18:33:12 -07:00
Richard Barnes
730b8f3fc8 Bug 1021607 - Add support for PBKDF2 to WebCrypto API. r=bz
0001 - Introduce BasicSymmetricKeyAlgorithm r=rbarnes
0002 - Implement import key operation for PBKDF2 r=bz,rbarnes
0003 - Introduce MapAlgorithmNameToMechanism() r=rbarnes
0004 - Implement derive bits operation for PBKDF2 r=rbarnes,keeler,bz
0005 - Introduce GetKeySizeForAlgorithm() r=rbarnes
0006 - Implement derive keys operation for PBKDF2 r=rbarnes,bz
2014-07-12 20:06:00 +02:00
Ed Morley
b0015a0713 Backed out changeset 5460c4558253 (bug 1026398) for test_WebCrypto.html timeouts on B2G; CLOSED TREE 2014-07-11 17:01:44 +01:00
Richard Barnes
27fa8bfe72 Bug 1026398 - Add support for RSA-OAEP to WebCrypto API. r=bz,dkeeler 2014-07-10 13:44:00 +02:00
Andrew McCreight
9474052722 Bug 1034911 - Make the destructor for KeyAlgorithm private. r=smaug 2014-07-08 13:46:23 -07:00
Richard Barnes
898fb46c93 Bug 1033492 - WebCrypto: heap-buffer-overflow crash [@PK11_EnterSlotMonitor]. r=dkeeler 2014-07-07 09:07:46 -04:00
Tim Taubert
8173949e3d Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
From 9beed249a4d08ccc945bc573a0c71d295cb1b222 Mon Sep 17 00:00:00 2001
2014-06-23 23:25:13 +02:00
Ed Morley
860e779bb2 Backed out changeset 38831e922852 (bug 1026314) for test_interfaces.html failures 2014-07-04 16:17:51 +01:00
Tim Taubert
f0ffeb45fd Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz 2014-06-23 23:25:13 +02:00
Tim Taubert
4faf538bdc Bug 1022343 - Use the hash function's block size as the default length when generating keys r=rbarnes 2014-06-08 13:46:54 +02:00
Tim Taubert
f9b6b3d816 Bug 1025318 - AesCbcParams should enforce a 16 byte IV length r=rbarnes 2014-06-14 00:01:38 +02:00
Richard Barnes
379e2ae474 Bug 1020598 - Add telemetry to measure WebCrypto usage. r=vladan 2014-06-09 22:01:00 -04:00