Ehsan Akhgari
1889255041
Bug 1118803 - Mark virtual overridden functions as MOZ_OVERRIDE in misc DOM code; r=baku
2015-01-08 08:49:54 -05:00
Guilherme Goncalves
2997c4e001
Bug 1088042 - Fix JsonWebKey object in test_WebCrypto_JWK. r=rbarnes
2014-10-23 09:07:00 +02:00
Tim Taubert
d83330ae57
Bug 1034856 - Follow-up to fix small SECItem leak in PublicKeyToSpki() on a CLOSED TREE r=bustage
2014-10-17 15:14:18 +02:00
Tim Taubert
bea4fe0653
Bug 1034856 - Follow-up to fix small SECItem leak in PublicKeyToSpki() on a CLOSED TREE r=bustage
2014-10-17 15:05:59 +02:00
Tim Taubert
1e4378782a
Backed out changeset ace6aa02d442 (bug 1034856)
2014-10-17 14:58:33 +02:00
Tim Taubert
b0acb565de
Bug 1034856 - Follow-up to fix small SECItem leak in PublicKeyToSpki() r=bustage
2014-10-17 13:30:41 +02:00
Tim Taubert
5fa60d8646
Bug 1034856 - Remove CryptoBuffer::ToSECItem() using moz_malloc() r=rbarnes
2014-09-03 09:40:21 -04:00
Tim Taubert
96e8ed9b9a
Bug 1034856 - Implement SPKI public key import/export for DH r=rbarnes
2014-08-22 15:32:15 +02:00
Tim Taubert
c1d2b2fa82
Bug 1034856 - Implement raw public key import/export for DH r=rbarnes,smaug
2014-08-22 12:02:14 +02:00
Tim Taubert
1d4ba08090
Bug 1034856 - Implement deriveBits() for DH r=rbarnes,smaug
2014-08-21 17:51:51 +02:00
Tim Taubert
5fc05b064c
Bug 1034856 - Implement generateKey() for DH r=rbarnes
2014-07-20 06:38:44 +02:00
Tim Taubert
0f9e65c0e8
Bug 1034856 - Introduce DhKeyAlgorithm r=rbarnes,smaug
2014-07-20 05:51:10 +02:00
Richard Barnes
f5092e255e
Bug 1034854 - Add support for ECDSA to WebCrypto API r=ttaubert,dkeeler r=bz
2014-10-13 23:19:00 +02:00
Tim Taubert
a164f4b49a
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
David Keeler
0dd623409d
bug 1080746 - WebCrypto: test import/export of an RSA private key with p < q r=rbarnes
2014-10-09 14:43:26 -07:00
Peter Van der Beken
dcda2ba9bb
Bug 1078744 - Replace SetIsDOMBinding with SetIsNonDOMBinding, remove nsWrapperCache::SetIsDOMBinding. r=bz.
...
--HG--
extra : rebase_source : 89c476cd9436530b2df5acc903909e34188417a0
2014-10-07 11:44:49 +02:00
Richard Barnes
1c93990a61
Bug 1077072 - Add telemetry for ECDH and PBKDF2 to WebCrypto API r=ttaubert
2014-10-03 15:03:04 -04:00
Richard Barnes
1aebc79688
Bug 1064320 - NSC_Encrypt returns uninitialised garbage which is handed onwards to realloc
2014-09-30 17:43:49 -04:00
Richard Barnes
63afe24da8
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
6341575225
Backed out changeset 398bdeea30b0 (bug 1037892) for build bustage
2014-09-26 15:35:38 -07:00
Richard Barnes
8a9d1659d6
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
e3eca2660e
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
d126c3c24f
Bug 1063962 - Replace jschar typedef with C++11 char16_t type. r=jandem
2014-07-21 21:43:21 -07:00
Ehsan Akhgari
1b1d6ffebf
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
0653303071
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
117bb1a341
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
6c932dea6c
Bug 1060987 - Fix more bad implicit constructors in DOM; r=baku
2014-09-01 18:00:53 -04:00
Tim Taubert
afff23ff06
Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes
2014-08-19 10:52:58 +02:00
Tim Taubert
87275fa3d8
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
0b53ce7ae8
Bug 1050318 - Split WebCrypto tests into multiple files to prevent timeouts r=rbarnes
2014-08-07 22:24:52 +02:00
Tim Taubert
340058c912
Bug 1050785 - RSA-OAEP encrypt/decrypt should accept strings as AlgorithmIdentifiers r=rbarnes
2014-08-08 16:45:08 +02:00
Tim Taubert
e51e01cadd
Bug 1050202 - Take length parameter into account when deriving HMAC keys r=rbarnes,smaug
2014-08-07 12:52:28 +02:00
Tim Taubert
400f767c33
Bug 1049434 - Don't allocate SECItems with new operator r=rbarnes
2014-08-06 12:15:35 +02:00
Tim Taubert
cf9076f009
Backed out changeset 5184f19384c8 (bug 1049434)
2014-08-07 09:21:13 +02:00
Tim Taubert
17d1371eb6
Bug 1049434 - Don't allocate SECItems with new operator r=rbarnes
2014-08-06 12:15:35 +02:00
Tim Taubert
d3f757e062
Bug 1034855 - Implement SPKI import/export for ECDH r=keeler,rbarnes
2014-08-04 09:39:12 +02:00
Tim Taubert
454efc0d1e
Bug 1034855 - Implement deriveKey() for ECDH r=rbarnes
2014-07-29 12:37:06 +02:00
Tim Taubert
a04d2cdc94
Bug 1034855 - Implement JWK import/export for ECDH r=rbarnes,keeler
2014-07-29 11:10:07 +02:00
Tim Taubert
40e956b12c
Bug 1034855 - Implement deriveBits() for ECDH r=rbarnes,smaug
2014-07-29 11:11:26 +02:00
Tim Taubert
d4733a1ad7
Bug 1034855 - Implement generateKey() for ECDH r=rbarnes,keeler
2014-07-26 08:01:14 +02:00
Tim Taubert
77ac66adc8
Bug 1034855 - Introduce EcKeyAlgorithm r=rbarnes,smaug
2014-07-26 08:00:24 +02:00
Ryan VanderMeulen
cdc1306825
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
2d06be68cb
Bug 1034855 - Implement SPKI import/export for ECDH r=keeler,rbarnes
2014-08-04 09:39:12 +02:00
Tim Taubert
ad2acd36ae
Bug 1034855 - Implement deriveKey() for ECDH r=rbarnes
2014-07-29 12:37:06 +02:00
Tim Taubert
5b5fc12a02
Bug 1034855 - Implement JWK import/export for ECDH r=rbarnes,keeler
2014-07-29 11:10:07 +02:00
Tim Taubert
0dfe8e631b
Bug 1034855 - Implement deriveBits() for ECDH r=rbarnes,smaug
2014-07-29 11:11:26 +02:00
Tim Taubert
29966dbb81
Bug 1034855 - Implement generateKey() for ECDH r=rbarnes,keeler
2014-07-26 08:01:14 +02:00
Tim Taubert
f8f8dd34df
Bug 1034855 - Introduce EcKeyAlgorithm r=rbarnes,smaug
2014-07-26 08:00:24 +02:00
Boris Zbarsky
3688e8eb15
Bug 1038399. Add a ToJSON method to Web IDL dictionaries. r=bholley
2014-07-31 23:50:19 -04:00
Tim Taubert
023e3fdb46
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
8869021532
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
c9e7b1fd3d
Bug 1044071 - WebCrypto API methods need to resolve to ArrayBuffers not Uint8Arrays r=rbarnes
2014-07-25 19:18:58 +02:00
Ms2ger
d8c0b17d7d
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
bc5d6801bb
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
91cfa4eae8
Bug 1034852 - Add support for AES-KW to WebCrypto API r=keeler
2014-07-19 07:04:00 -05:00
Richard Barnes
e10fdbd715
Bug 1025230 - Allow import/export of JWK-formatted keys in WebCrypto r=bz,keeler
2014-07-19 08:25:00 -05:00
Richard Barnes
58860abf23
Bug 1034851 - Add wrapKey and unwrapKey methods to WebCrypto API r=bz
2014-07-19 08:24:00 -05:00
Tim Taubert
09f7b51771
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
d3ecd20c07
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
65aa1f33ef
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
03329fb20f
Backed out changeset bf3359ddd831 (bug 1026398)
2014-07-11 17:01:07 +01:00
Tim Taubert
6fd32496a0
Bug 1026398 - Add RSA-OAEP tests. r=rbarnes
2014-06-22 03:07:00 +02:00
Richard Barnes
f58a5d84f8
Bug 1026398 - Add support for RSA-OAEP to WebCrypto API. r=bz,dkeeler
2014-07-10 13:44:00 +02:00
Benoit Jacob
18c3e0073a
Bug 1035394 - Fix dangerous public destructors in dom - r=ehsan
2014-07-08 17:23:17 -04:00
Andrew McCreight
f905e21a03
Bug 1034911 - Make the destructor for KeyAlgorithm private. r=smaug
2014-07-08 13:46:23 -07:00
Richard Barnes
323a26bfda
Bug 1033492 - Add test. r=keeler
2014-07-08 07:56:56 -04:00
Richard Barnes
0f2c447c85
Bug 1033492 - WebCrypto: heap-buffer-overflow crash [@PK11_EnterSlotMonitor]. r=dkeeler
2014-07-07 09:07:46 -04:00
Tim Taubert
3f882a20a0
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
1148a891c7
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
02d0c6d693
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
ec742680c8
Bug 1028588 - Fix dangerous public destructors in the rest of dom/ - r=ehsan
2014-06-23 15:56:07 -04:00
Tim Taubert
638c326719
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
ade22f2f72
Bug 1025318 - AesCbcParams should enforce a 16 byte IV length r=rbarnes
2014-06-14 00:01:38 +02:00
Richard Barnes
f976e1a360
Bug 1021102: Correct test vector for RSAES-PKCS1-v1_5. r=wtc.
2014-06-13 11:22:29 -07:00
Boris Zbarsky
dfe8c38082
Bug 1009675 part 3. Return WebIDL 'object' values as handles. r=peterv
2014-06-11 16:26:52 -04:00
Richard Barnes
2b5fc1778f
Bug 1020598 - Add telemetry to measure WebCrypto usage. r=vladan
2014-06-09 22:01:00 -04:00
Tim Taubert
d9aa870f6f
Bug 1021601 - Remove SHA-224 support from WebCrypto API r=rbarnes
2014-06-05 22:42:45 +02:00
Tim Taubert
9468b3a40a
Bug 1020882 - length param of HmacKeyGenParams should be optional r=bz,rbarnes
2014-06-05 11:46:10 +02:00
Richard Barnes
a641390b53
Bug 1018467 - Address remaining comments from Bug 998802 and Bug 998803. r=bz
2014-06-04 14:07:00 -04:00
Richard Barnes
2a898cd526
Bug 1018446 - Return errors properly in WebCryptoTasks. r=bz
2014-06-04 15:55:00 -04:00
Jeff Walden
96e2ce765d
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
095b86b386
Backed out changeset 2c631967ab9e (bug 999651) for B2G crashes.
...
CLOSED TREE
2014-05-27 14:08:30 -04:00
Jeff Walden
06f73fbe81
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
01fedee2de
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
8d8df0c940
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
b3f539f7af
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
a3fa1ee15a
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
513ac90185
Bug 995385 - Add WebCrypto WebIDL interfaces. r=bz, r=cviecco, r=dkeeler
2014-05-15 06:20:00 -04:00