Commit Graph

72 Commits

Author SHA1 Message Date
Richard Barnes
a377f6345c Bug 1077072 - Add telemetry for ECDH and PBKDF2 to WebCrypto API r=ttaubert 2014-10-03 15:03:04 -04:00
Richard Barnes
a5563c2ada Bug 1064320 - NSC_Encrypt returns uninitialised garbage which is handed onwards to realloc 2014-09-30 17:43:49 -04:00
Richard Barnes
0966f0fc10 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
92c42c6f35 Backed out changeset 398bdeea30b0 (bug 1037892) for build bustage 2014-09-26 15:35:38 -07:00
Richard Barnes
d3e0e4e0ba 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
8a6a5ded7f 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
412ea5db86 Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem 2014-07-21 21:43:21 -07:00
Ehsan Akhgari
6f236e1960 Bug 1061023 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : c80c5f9d7ae28286513cdb52ad76b46c240bdd5d
2014-09-01 18:26:43 -04:00
Ehsan Akhgari
f45a3fcf07 Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
--HG--
extra : rebase_source : 01709017e97fdc96d1d53eb881efc1792118edc4
2014-09-01 20:49:25 -04:00
Phil Ringnalda
e2e326a9c4 Backed out 6 changesets (bug 1060982, bug 1061058, bug 1060987, bug 1061060, bug 1060930) for build bustage
CLOSED TREE

Backed out changeset c23b8418e6be (bug 1060987)
Backed out changeset a8cddc6bdffc (bug 1061060)
Backed out changeset b5af5cbdac3f (bug 1060982)
Backed out changeset 4912d451011a (bug 1060930)
Backed out changeset bdacbf453238 (bug 1061058)
Backed out changeset da6c71a8f5ae (bug 1060987)
2014-09-01 16:48:51 -07:00
Ehsan Akhgari
3fc836363c Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku 2014-09-01 18:00:53 -04:00
Tim Taubert
8929f8a9f8 Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes 2014-08-19 10:52:58 +02:00
Tim Taubert
fa321719c5 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
f5ee256309 Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes 2014-08-07 22:24:52 +02:00
Tim Taubert
abd40d3485 Bug 1050785 - RSA-OAEP encrypt/decrypt should accept strings as AlgorithmIdentifiers r=rbarnes 2014-08-08 16:45:08 +02:00
Tim Taubert
368a5b3a15 Bug 1050202 - Take length parameter into account when deriving HMAC keys r=rbarnes,smaug 2014-08-07 12:52:28 +02:00
Tim Taubert
e6a721dd8a Bug 1049434 - Don't allocate SECItems with new operator r=rbarnes 2014-08-06 12:15:35 +02:00
Tim Taubert
88a6354eac Backed out changeset 5184f19384c8 (bug 1049434) 2014-08-07 09:21:13 +02:00
Tim Taubert
1603c30876 Bug 1049434 - Don't allocate SECItems with new operator r=rbarnes 2014-08-06 12:15:35 +02:00
Tim Taubert
cb8595d52a Bug 1034855 - Implement SPKI import/export for ECDH r=keeler,rbarnes 2014-08-04 09:39:12 +02:00
Tim Taubert
ba4023c1b7 Bug 1034855 - Implement deriveKey() for ECDH r=rbarnes 2014-07-29 12:37:06 +02:00
Tim Taubert
183b305a19 Bug 1034855 - Implement JWK import/export for ECDH r=rbarnes,keeler 2014-07-29 11:10:07 +02:00
Tim Taubert
983ef57b16 Bug 1034855 - Implement deriveBits() for ECDH r=rbarnes,smaug 2014-07-29 11:11:26 +02:00
Tim Taubert
abc5a2fce8 Bug 1034855 - Implement generateKey() for ECDH r=rbarnes,keeler 2014-07-26 08:01:14 +02:00
Tim Taubert
d0111fd892 Bug 1034855 - Introduce EcKeyAlgorithm r=rbarnes,smaug 2014-07-26 08:00:24 +02:00
Ryan VanderMeulen
1b936c73cb 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
984c52631c Bug 1034855 - Implement SPKI import/export for ECDH r=keeler,rbarnes 2014-08-04 09:39:12 +02:00
Tim Taubert
77c27005eb Bug 1034855 - Implement deriveKey() for ECDH r=rbarnes 2014-07-29 12:37:06 +02:00
Tim Taubert
72e5f002b8 Bug 1034855 - Implement JWK import/export for ECDH r=rbarnes,keeler 2014-07-29 11:10:07 +02:00
Tim Taubert
731b43c25b Bug 1034855 - Implement deriveBits() for ECDH r=rbarnes,smaug 2014-07-29 11:11:26 +02:00
Tim Taubert
afa03ab85b Bug 1034855 - Implement generateKey() for ECDH r=rbarnes,keeler 2014-07-26 08:01:14 +02:00
Tim Taubert
a58f529e2a Bug 1034855 - Introduce EcKeyAlgorithm r=rbarnes,smaug 2014-07-26 08:00:24 +02:00
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