Commit Graph

40 Commits

Author SHA1 Message Date
Boris Zbarsky
54986917b5 Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley 2014-07-31 23:50:19 -04:00
Tim Taubert
82f8203c5a 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
ed6a9680e6 Bug 1041328 - Fix crash in CryptoKey::PrivateKeyFromPkcs8() when trying to import invalid key data r=rbarnes 2014-07-25 13:53:28 +02:00
Tim Taubert
1fd5a954bc Bug 1044071 - WebCrypto API methods need to resolve to ArrayBuffers not Uint8Arrays r=rbarnes 2014-07-25 19:18:58 +02:00
Ms2ger
d9e695483d Bug 1043963 - Collapse test-only moz.build files under dom/ into ancestor moz.build files; r=ted
There is very little benefit to having another layer of moz.build files, and
removing them will speed up the build a minimal amount. It also paves the way
for removing TEST_DIRS, which could simplify the build system somewhat.
2014-07-26 08:17:24 +02:00
Mike Hommey
9ae3c48776 Bug 1041860 - Avoid setting FINAL_LIBRARY to libraries that further use a FINAL_LIBRARY. r=mshal 2014-07-23 08:37:51 +09:00
Richard Barnes
6708dfdf79 Bug 1034852 - Add support for AES-KW to WebCrypto API r=keeler 2014-07-19 07:04:00 -05:00
Richard Barnes
8a1527f0e1 Bug 1025230 - Allow import/export of JWK-formatted keys in WebCrypto r=bz,keeler 2014-07-19 08:25:00 -05:00
Richard Barnes
9e000d2d6f Bug 1034851 - Add wrapKey and unwrapKey methods to WebCrypto API r=bz 2014-07-19 08:24:00 -05:00
Tim Taubert
04422d6b32 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
a4246ff00b 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
9358d5e60d Backed out changeset 5460c4558253 (bug 1026398) for test_WebCrypto.html timeouts on B2G; CLOSED TREE 2014-07-11 17:01:44 +01:00
Ed Morley
113438b5c5 Backed out changeset bf3359ddd831 (bug 1026398) 2014-07-11 17:01:07 +01:00
Tim Taubert
8329a9be3c Bug 1026398 - Add RSA-OAEP tests. r=rbarnes 2014-06-22 03:07:00 +02:00
Richard Barnes
66dd601f2e Bug 1026398 - Add support for RSA-OAEP to WebCrypto API. r=bz,dkeeler 2014-07-10 13:44:00 +02:00
Benoit Jacob
66530c3e02 Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan 2014-07-08 17:23:17 -04:00
Andrew McCreight
eb6a69286e Bug 1034911 - Make the destructor for KeyAlgorithm private. r=smaug 2014-07-08 13:46:23 -07:00
Richard Barnes
cb4e8d0cd0 Bug 1033492 - Add test. r=keeler 2014-07-08 07:56:56 -04:00
Richard Barnes
d560c4258e Bug 1033492 - WebCrypto: heap-buffer-overflow crash [@PK11_EnterSlotMonitor]. r=dkeeler 2014-07-07 09:07:46 -04:00
Tim Taubert
9f6f5e6bb2 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
From 9beed249a4d08ccc945bc573a0c71d295cb1b222 Mon Sep 17 00:00:00 2001

--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Ed Morley
f4b34b75ea Backed out changeset 38831e922852 (bug 1026314) for test_interfaces.html failures
--HG--
rename : dom/crypto/CryptoKey.cpp => dom/crypto/Key.cpp
rename : dom/crypto/CryptoKey.h => dom/crypto/Key.h
rename : dom/crypto/CryptoKeyPair.cpp => dom/crypto/KeyPair.cpp
rename : dom/crypto/CryptoKeyPair.h => dom/crypto/KeyPair.h
2014-07-04 16:17:51 +01:00
Tim Taubert
4f942527d3 Bug 1026314 - Rename Key to CryptoKey in WebCrypto r=rbarnes,bz
--HG--
rename : dom/crypto/Key.cpp => dom/crypto/CryptoKey.cpp
rename : dom/crypto/Key.h => dom/crypto/CryptoKey.h
rename : dom/crypto/KeyPair.cpp => dom/crypto/CryptoKeyPair.cpp
rename : dom/crypto/KeyPair.h => dom/crypto/CryptoKeyPair.h
2014-06-23 23:25:13 +02:00
Benoit Jacob
84b13c683d Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan 2014-06-23 15:56:07 -04:00
Tim Taubert
4473ad3e74 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
407622822b Bug 1025318 - AesCbcParams should enforce a 16 byte IV length r=rbarnes 2014-06-14 00:01:38 +02:00
Richard Barnes
26378a3817 Bug 1021102: Correct test vector for RSAES-PKCS1-v1_5. r=wtc. 2014-06-13 11:22:29 -07:00
Boris Zbarsky
b6c8784504 Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv 2014-06-11 16:26:52 -04:00
Richard Barnes
96069f1cf6 Bug 1020598 - Add telemetry to measure WebCrypto usage. r=vladan 2014-06-09 22:01:00 -04:00
Tim Taubert
c7661853a4 Bug 1021601 - Remove SHA-224 support from WebCrypto API r=rbarnes 2014-06-05 22:42:45 +02:00
Tim Taubert
098e6a47f0 Bug 1020882 - length param of HmacKeyGenParams should be optional r=bz,rbarnes 2014-06-05 11:46:10 +02:00
Richard Barnes
4e2ca77768 Bug 1018467 - Address remaining comments from Bug 998802 and Bug 998803. r=bz 2014-06-04 14:07:00 -04:00
Richard Barnes
0d61ab9da3 Bug 1018446 - Return errors properly in WebCryptoTasks. r=bz 2014-06-04 15:55:00 -04:00
Jeff Walden
4c812b7b56 Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent, r=efaust, r=jorendorff 2014-05-27 14:32:41 -07:00
Ryan VanderMeulen
7fe2913bfc Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
CLOSED TREE
2014-05-27 14:08:30 -04:00
Jeff Walden
c104308fa6 Bug 999651, bug 995679, bug 1009952, bug 1011007, bug 991981. r=sfink, r=shu, r=jandem, r=jdm, r=luke, r=bbouvier, r=nmatsakis, r=bz, r=ehsan, r=jgilbert, r=smaug, r=sicking, r=terrence, r=bholley, r=bent 2014-05-27 09:56:43 -07:00
Richard Barnes
8eeedb0852 Bug 998471 - Add support for key generation to WebCrypto API. r=bz,dkeeler
* * *
Change from SetCapacity to SetLength so that strings clone properly
2014-05-26 12:05:00 +02:00
Richard Barnes
2b34ee7aa4 Bug 998803 - Add support for RSA encryption and signing to WebCrypto API. r=bz,dkeeler 2014-05-23 15:29:00 +02:00
Richard Barnes
550d7f3544 Bug 998802 - Add support for symmetric-key encryption and MAC to WebCrypto API. r=bz,dkeeler 2014-05-23 15:29:00 +02:00
Richard Barnes
e4201a48b1 Bug 998804 - Add support for SHA-1 and SHA-2 digests to WebCrypto API. r=bz, r=cviecco, r=dkeeler 2014-05-04 21:25:00 -04:00
Richard Barnes
63aeb46ec5 Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler 2014-05-15 06:20:00 -04:00