Commit Graph

158 Commits

Author SHA1 Message Date
Ed Morley
223c46b36b Bug 659621 - Remove EXTRA_DSO_LIBS, EXTRA_DSO_LDOPTS, OS_LIBS from makefiles containing LIBXUL_LIBRARY = 1, now that libxul is always built; r=ted 2011-06-12 03:49:00 -04:00
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
Philipp von Weitershausen
564088e658 Bug 603388 - Merge fx-sync to mozilla-central. a=blockers
--HG--
rename : services/crypto/WeaveCrypto.js => services/crypto/modules/WeaveCrypto.js
2010-10-15 11:46:02 +02:00
Philipp von Weitershausen
9915939735 Merge backout from fx-sync. a=mconnor 2010-10-06 18:06:51 +02:00
Philipp von Weitershausen
4b8ea85cc0 Bug 601952 - Merge fx-sync to mozilla-central. a=blocking-beta7 2010-10-05 19:11:27 +02:00
Mike Connor
d054df20f8 bug 503703 - add make target for building a single-OS XPI, r=edilee. actually allows specifying multiple package targets 2009-08-27 01:40:43 -04:00
Anant Narayanan
45673ccb67 WinCE crypto binary (bug #487171) 2009-07-28 17:14:52 -07:00
Anant Narayanan
a79e153fb9 Backed out changeset 9e8936813ae1 2009-07-28 17:13:15 -07:00
Anant Narayanan
7a7c271cd7 WinCE crypto binary 2009-07-28 16:54:24 -07:00
Edward Lee
cb7c477b9b Generate SunOS x86 binaries and put them under platform/SunOS because the contrib Firefox builds are SunOS_x86-sunc while we build SunOS_x86-cc. 2009-07-26 02:55:38 -07:00
Edward Lee
a14ea8d26f Add i86pc machine detection for crypto Makefile. Add SunOS for test Makefiles. 2009-07-26 02:55:38 -07:00
Gary Gendel
0a4c9c3664 Bug 501630 - OpenSolaris x86 support
Add SunOS for crypto Makefile to build a dynamic shared library.
2009-07-24 21:16:59 -07:00
Edward Lee
825e3789b2 Bug 506091 - New binary needed for Maemo devices
Rebuild Linux_arm-gcc3 (maemo) WeaveCrypto.so binary.
2009-07-23 23:05:24 -07:00
Anant Narayanan
5d621644ba Crypto binary for Linux_x86-64
--HG--
extra : rebase_source : ca27677a6fb08524f60e4a4ebae6fa338f5fd057
2009-07-22 16:33:50 -07:00
Anant Narayanan
bc6f3ff63e Crypto binary for Windows 2009-07-22 16:22:08 -07:00
Anant Narayanan
509e86b9b6 Crypto binary for Linux_x86 2009-07-22 15:30:16 -07:00
Anant Narayanan
c6a90202ff Add ability to change passphrase (and merge XUL files) bug #443696 2009-07-21 16:54:46 -07:00
Anant Narayanan
3541ab1269 Expose rewrapPrivateKey & verifyPassphrase (bug #505401) 2009-07-21 15:02:30 -07:00
Anant Narayanan
0697eb1f5c Backed out changeset 5768a19f21d3 (crypto review not done yet) 2009-07-21 14:32:57 -07:00
Anant Narayanan
1509f1d1cb Crypto changes
--HG--
extra : rebase_source : 0a953a43c01b95e7c467ec4ca7feeb0aaa00f5e1
2009-07-21 11:18:29 -07:00
Edward Lee
1bdb3a8ba8 Fix trailing spaces. 2009-07-16 15:17:28 -07:00
Edward Lee
4dad7bd344 $hare the $ub$titute command from root Makefile. 2009-07-16 14:07:07 -07:00
Edward Lee
7fadc4ce98 Re/Move substitute declarations. 2009-07-16 12:11:31 -07:00
Mike Connor
7438c49b88 fix crypto build on Windows
--HG--
extra : rebase_source : 064641153d08264392be94204ba78c21dff7a782
2009-07-15 22:46:42 -04:00
Mike Connor
0c6f78e988 build system updates (still WIP) 2009-07-10 23:32:04 -04:00
Mike Connor
d752b511cd new makefile for crypto 2009-07-10 14:15:21 -04:00
Mike Connor
8d26fd31e1 file moves
--HG--
rename : services/sync/IWeaveCrypto.xpt => services/crypto/components/IWeaveCrypto.xpt
2009-07-10 11:57:56 -04:00
Mounir Lamouri (volkmar)
efd1c4e27a Bug 486797 - ppc architecture is not defined if not MacOS. r=Mardak 2009-06-16 12:16:03 -07:00
Wladimir Palant
9f9831773f Bug 495964 - Building WeaveCrypto.dll fails if Mercurial revision doesn't start with a number 2009-06-02 18:08:52 +02:00
Myk Melez
e54cec2631 bug 476539: use a XULRunner-based test harness for unit testing; r=thunder 2009-03-20 00:14:21 -07:00
Justin Dolske
2f66856f37 Bug 479341 - make WeaveCrypto::GenerateKeypair() call PK11_GenerateKeyPairWithOpFlags(). bacon=thunder 2009-03-19 23:55:55 -07:00
Dan Mills
7e1052f11e use -fshort-wchar on x86_64 too (only exclude it form arm) 2009-02-10 00:51:06 -08:00
jonathandicarlo@jonathan-dicarlos-macbook-pro.local
f031676882 Added Linux-ARM processor compiled version of crypto module to repository. Slight modification of makefile to enable building this on ARM. 2008-12-04 11:00:47 -08:00
Dan Mills
cb119538ba Bug 465974: fix firefox crash at startup due to weave using nss without initializing it 2008-11-28 00:33:53 +09:00
Paul O’Shannessy
f10fef5b32 Bug 577383 - Merge fx-sync to mozilla-central [r=mconnor] 2010-07-07 17:39:40 -07:00
Benjamin Smedberg
d73012c1c2 Registration changes for services/sync and services/crypto required from bug 568691, landing on a CLOSED TREE to fix mobile bustage. 2010-07-01 15:08:13 -04:00
Philipp von Weitershausen
1fe474a0ba Bug 571902 - Land sync and crypto components on trunk [r=mconnor r=ted]
Makefiles and build helpers for 'services'.
2010-06-21 17:05:08 -07:00
Dan Mills
973beec8dd use just 'Darwin' for the platform dir on OSX. 'Darwin-gcc3' does not appear to work correctly 2008-07-17 20:38:42 -07:00
Dan Mills
ac4811ceae Bug 442931: Create a universal (x86/PPC) component on mac. Patch by Godwin Chan <godwinchan@hotmail.com>, with tweaks by me 2008-07-16 20:47:16 -07:00
Dan Mills
83b7f6a21f Bug 442679: Add support for compiling on 64-bit linux systems. Patch by Mark Wilkinson <mhw@kremvax.net> 2008-07-13 04:06:44 -07:00
Dan Mills
b3f94ea68a fix verifyPassphrase() 2008-07-12 20:31:27 -07:00
Dan Mills
3a20cd63cc add WINNT-5.1 to makefile 2008-07-08 20:57:05 -07:00
Justin Dolske
777c82cf0b Fix crypto component to not mangle certain strings when doing 8/16 bit character conversion. 2008-06-29 20:51:22 -07:00
Justin Dolske
901b76b301 Bug 442257 – Weave 1.32: WeaveCrypto doesn't work under Linux. 2008-06-29 16:58:10 -07:00
Justin Dolske
1b2e7b297b Use statically-sized stack buffers to fix building on Windows. 2008-06-26 15:22:48 -07:00
Justin Dolske
6162fe5ab1 Use allocated buffers instead of stack when the buffers can be large (OS X has a 1MB limit) 2008-06-23 16:14:55 -07:00
Justin Dolske
1cba11e508 Add Makefile support for building on ARM, move comment that triggers bug on scratchbox's Make 3.80 2008-06-22 14:43:09 -07:00
Justin Dolske
8cb487fcc3 Apparently NS_IMPL_NSGETMODULE("FOO") doesn't work on Linux, but NS_IMPL_NSGETMODULE(FOO) does. 2008-06-19 14:51:20 -07:00
Justin Dolske
28ffd269e9 Minor tweaks for compile errors on Linux. 2008-06-19 13:03:10 -07:00
Justin Dolske
4078b28f1d Checkin of NSS-ized WeaveCrypto module (not yet used) 2008-06-18 21:42:16 -07:00
Anant Narayanan
4298abcb95 Fix linux builds (bug 433922, r=thunder) 2008-06-05 17:21:53 -07:00