Commit Graph

107 Commits

Author SHA1 Message Date
Joel Maher
6993636556 Bug 616999. Xpcshell manifest support; manifest files. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Joel Maher
8d37f99984 Bug 616999. Xpcshell manifest support; harness changes. r=ted, a=test-only 2011-05-20 11:54:01 -04:00
Richard Newman
1f647fc550 Bug 651596: eliminate IWeaveCrypto. r=philiKON 2011-04-20 14:27:19 -07:00
Philipp von Weitershausen
a7f751f74a Bug 644905 - Set resource aliases in manifest. r=rnewman 2011-03-25 00:57:23 -07:00
Philipp von Weitershausen
06d57f2567 Merge fx-sync 2011-03-07 13:37:54 -08:00
Richard Newman
7950c1900c Bug 638297: don't zero-pad buffers, reject short IVs. r=philiKON 2011-03-07 11:53:10 -08:00
Philipp von Weitershausen
2645656ca0 Merge fx-sync 2011-03-03 12:57:57 -08:00
Richard Newman
d72d69117b Bug 638297: reuse buffers for generateRandomBytes. r=philiKON 2011-03-03 12:20:43 -08:00
Richard Newman
e3619fab2e Bug 638297: share buffers for encryption and decryption. r=philiKON 2011-03-03 11:10:52 -08:00
Richard Newman
dca6541bfe Bug 638297: object reuse in WeaveCrypto. r=philiKON 2011-03-03 11:10:40 -08:00
Richard Newman
f6c5660f75 Bug 618496: memoization of PK11SymKey. r=philiKON 2011-03-02 15:18:46 -08:00
Richard Newman
270a13f295 Bug 618496: Revisit memoization of SECItems. r=philiKON 2011-03-02 15:09:28 -08:00
Philipp von Weitershausen
b73b6cde45 Merge fx-sync 2011-03-02 16:32:28 -08:00
Richard Newman
d9660ed917 Bug 618496: remove algorithm adaptability in WeaveCrypto. r=philiKON 2011-03-02 10:08:43 -08:00
Philipp von Weitershausen
2d1206cc35 Merge fx-sync 2011-03-01 21:55:52 -08:00
Richard Newman
128f82f51b Bug 618496: stripping out unused WeaveCrypto attributes. r=philiKON 2011-03-01 21:37:44 -08:00
Richard Newman
56968cd2e6 Bug 602110: duplicate declaration of nss_t.SECOidTag. r=philiKON a=mconnor 2011-03-01 11:32:16 -08:00
Richard Newman
ab3e8ec024 Bug 627097: Audit usage of js-ctypes in Sync/WeaveCrypto. r=philiKON 2011-01-25 21:31:41 -08:00
Richard Newman
914fa198ac Bug 617650: avoid unrooting string in makeSECItem. r=philiKON 2011-01-19 16:17:58 -08:00
Philipp von Weitershausen
26320afffd Back out Bug 610914 as it causes Bug 618068. 2010-12-10 16:18:57 -08:00
Richard Newman
0746bfe3b7 Bug 610914: performance improvements for WeaveCrypto. 2010-12-06 11:52:30 -08:00
Richard Newman
ffb07cee37 Bug 603489, 614489: simplified crypto. r=mconnor 2010-11-29 16:41:17 -08:00
Brian Smith
e470c90b06 bug 629090: Prevent g^x mod p == 1 in Sync J-PAKE. r=mconnor and r=philipp. a=blocker
--HG--
extra : rebase_source : ca7b5d6f0744858ada042d7d3dc9804ea35ab9aa
2011-02-09 13:57:28 -08:00
Philipp von Weitershausen
f778a4f0ee Merge backout 2010-10-28 17:09:58 -07:00
Philipp von Weitershausen
f60e694777 Backed out changeset fb506072dca8 due to crashes
Bug 570619 - Move crypto off the main thread
2010-10-28 17:05:53 -07:00
Mike Hommey
4b0eff1f2b Bug 583209 - Use ctypes.libraryName and don't use a full path to load libnss3 from weavecrypto. [r=dwitte] 2010-10-15 11:45:31 +02:00
Philipp von Weitershausen
3112962661 Bug 570619 - Move crypto off the main thread [r=mconnor,sdwilsh]
Provide a ThreadedCrypto object that defers method calls to another thread while keeping the synchronous API.
2010-10-14 21:22:29 +02:00
Philipp von Weitershausen
47ac364e2a Bug 562431 - Move tests for WeaveCrypto to services/crypto/ [r=mconnor]
--HG--
rename : services/sync/tests/unit/test_crypto_crypt.js => services/crypto/tests/unit/test_crypto_crypt.js
rename : services/sync/tests/unit/test_crypto_keypair.js => services/crypto/tests/unit/test_crypto_keypair.js
rename : services/sync/tests/unit/test_crypto_random.js => services/crypto/tests/unit/test_crypto_random.js
rename : services/sync/tests/unit/test_crypto_rewrap.js => services/crypto/tests/unit/test_crypto_rewrap.js
rename : services/sync/tests/unit/test_crypto_verify.js => services/crypto/tests/unit/test_crypto_verify.js
2010-10-14 21:17:55 +02:00
Philipp von Weitershausen
adbb677fa2 Bug 562431 - Rewrite WeaveCrypto as a .jsm [r=mconnor]
--HG--
rename : services/crypto/WeaveCrypto.js => services/crypto/modules/WeaveCrypto.js
2010-10-14 21:17:35 +02:00
Philipp von Weitershausen
853e1844ab Backed out changeset 4ad5b1467331
Bug 583209 - Use ctypes.libraryName and don't use a full path to load libnss3 from weavecrypto.
2010-10-06 17:57:15 +02:00
Mike Hommey
4f5ce943b9 Bug 583209 - Use ctypes.libraryName and don't use a full path to load libnss3 from weavecrypto. [r=dolske] 2010-10-05 08:32:37 +02:00
Philipp von Weitershausen
41a4891ba7 Bug 576554 - Need manifests to register XPCOM components on trunk, r=mconnor 2010-07-03 13:26:57 -04:00
Edward Lee
29f095c96f Bug 573842 - Work around non-null terminated string issue for decrypted strings [r=mconnor]
Just wrap with empty strings until bug 573841 is fixed.
2010-06-22 19:09:29 -07:00
Edward Lee
46e1de249f Bug 570636 - Decide how to co-exist as a sync add-on and built-in sync [r=mconnor]
Migrate prefs from extensions.weave. to services.sync. when loading the service for the first time before migration.
2010-06-16 14:30:13 -07:00
Edward Lee
0ef81dfdae Bug 569355 - source code reorg, redux [r=mconnor]
Split the code structure to service/{crypto,sync} and ui/{fennec,firefox}. Update the top level makefile to build the addon staging directory to merge various parts of directories.
2010-06-09 17:03:31 -07:00
Philipp von Weitershausen
d22b2ca9c2 Bug 627511 - Merge fx-sync to mozilla-central. a=blockers 2011-01-27 22:10:26 -08:00
Philipp von Weitershausen
cdd64c99b1 Bug 625918 - Merge fx-sync to mozilla-central. a=blocking 2011-01-20 13:53:59 -08:00
Mike Hommey
ec365c3a1b Bug 618195 part 2 - Only build services-crypto component as part of platform. r=mconnor,a=mconnor
--HG--
rename : services/crypto/nsISyncJPAKE.idl => services/crypto/component/nsISyncJPAKE.idl
rename : services/crypto/nsSyncJPAKE.cpp => services/crypto/component/nsSyncJPAKE.cpp
rename : services/crypto/nsSyncJPAKE.h => services/crypto/component/nsSyncJPAKE.h
rename : services/crypto/tests/unit/test_jpake.js => services/crypto/component/tests/unit/test_jpake.js
2010-12-20 10:12:12 +01:00
Edward Lee
ac22b8c745 Bustage fix for bug 561480 to check typeof == undefined instead of == null.
--HG--
extra : rebase_source : 281817a091523853341168c117be30862deba6ad
2010-05-07 13:29:04 -07:00
Edward Lee
43767923a5 Bug 561480 - Errors when loading WeaveCrypto.js on older platforms [r=mconnor]
Only register WeaveCrypto if it was able to import scripts.
2010-05-04 12:15:43 -07:00
Justin Dolske
661389fa2f Bug 513798 - Rewrite WeaveCrypto in JS. r=mconnor, r=dwitte
--HG--
rename : services/crypto/components/IWeaveCrypto.xpt => services/crypto/IWeaveCrypto.xpt
2010-04-21 19:02:16 -07:00
Philipp von Weitershausen
1149c35812 Bug 618492 - Merge fx-sync to mozilla-central. a=blockers 2010-12-10 16:36:23 -08:00
Philipp von Weitershausen
50cdb1c571 Bug 601645 - Tests for JPAKE. r=mconnor a=blocking-beta8 2010-12-09 18:28:07 -08:00
Brian Smith
adbada17c0 Bug 601645 - JavaScript API for NSS J-PAKE. r=mconnor a=blocking-beta8 2010-12-09 18:27:48 -08:00
Philipp von Weitershausen
35a97b22d4 Remerge fx-sync
--HG--
extra : rebase_source : a4b61b8ac50d3abe829a18c304f4e23f0f5a4f2a
2010-12-07 13:20:16 -08:00
Dão Gottwald
373295c3e1 Backed out changesets 4d16d58becaf, 680d3557cafe, 13ea9fc20ed2, 1b2d4ba850a9, 81d8bf53ab01, 3e74c1c15b63, a29a2a0ae764, d2fd62ffd88e, 183be003b312, faa6ce5a0a20, 3ee27049cd1a. a=permaorange 2010-12-07 12:50:55 +01:00
Philipp von Weitershausen
91a27043c9 Bug 617173 - Merge fx-sync to mozilla-central. a=blocking 2010-12-06 23:04:51 -08:00
Philipp von Weitershausen
44c4f1539e Bug 615021 - Merge fx-sync to mozilla-central. a=lotsa-blockers 2010-11-30 20:39:13 -08:00
Philipp von Weitershausen
675f24fc1d Bug 604603 - Merge fx-sync to mozilla-central. a=crashes,orange 2010-10-28 17:32:25 -07:00
Philipp von Weitershausen
f05084916a Bug 562431 follow-up: adjust Makefiles. r=mconnor a=merge 2010-10-15 11:46:22 +02:00