aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-19148-1916/+726
|\ | | | | | | | | | | 2f3665f775fafbdfa517ecdca7f872e35bd90277) to branch 'net.randombit.botan.c++0x' (head 45169719ddd8977b1eb20637576bc855dbc867a0)
| * Drop support for compilers that are no longer in active service, sincelloyd2009-11-194-131/+0
| | | | | | | | there is no chance that C++0x support will be added to them at any point.
| * Remove to_string, replacing with std::to_stringlloyd2009-11-1833-147/+107
| | | | | | | | | | Convert to_u32bit to use the new C++0x library func stoul instead of hand-written code.
| * auto_ptr is unique_ptr in C++0xlloyd2009-11-181-2/+2
| |
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-18118-1640/+621
| |\ | | | | | | | | | | | | | | | 23f95467137a0531f74574d1e3eb822734f0c5f2) to branch 'net.randombit.botan.c++0x' (head 427be8496e669880b1bf532eb829ebbdbeaf34c9)
| | * Remove accidentally checked in change to powm_fw.cpplloyd2009-11-181-29/+6
| | |
| | * Use async in ElGamal encryption and Nyberg-Rueppel verificationlloyd2009-11-183-10/+39
| | |
| | * Add a simple version of std::async as std_async in async.h and use itlloyd2009-11-173-39/+42
| | | | | | | | | | | | in the RSA and DSA ops.
| | * Also parallelize DSA signature generation, though due to critical pathlloyd2009-11-171-2/+13
| | | | | | | | | | | | | | | | | | constraints there isn't that much parallelization to extract. Slightly faster; better for smaller key sizes as once a certain point is reached one thread is doing a lot more work than the other.
| | * Use a thread to compute half of the DSA verification. 20-90% faster dependinglloyd2009-11-171-2/+19
| | | | | | | | | | | | on key size on a Core2.
| | * In IF decryption, two large powmods are done, one mod p and one mod q. Spawnlloyd2009-11-171-1/+22
| | | | | | | | | | | | | | | | | | | | | | | | one of them off in a new thread and compute the other on the current thread. Performance on my Core2 shows a 60 to 90% improvement in overall speed in RSA private key operations. Will probably be even better once std::async is available (not currently in GCC) since it will probably use a thread pool which will amortize the thread creation/shutdown cost.
| | * Use the new support for explicitly deleting functions instead of hidinglloyd2009-11-1710-42/+27
| | | | | | | | | | | | | | | them as private variables for operator= and copy constructors that shouldn't be used.
| | * Replace the Pipe constructor taking a Filter*[] and a length with one taking alloyd2009-11-172-6/+8
| | | | | | | | | | | | initializer_list<Filter*>
| | * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-17105-1595/+516
| | |\ | | | | | | | | | | | | | | | | | | | | 0ac5a29496b4e50775827d9655c064f6d1c98813) to branch 'net.randombit.botan.c++0x' (head 3232da044d41756582b53da9d14c3ac07e9b2916)
| | | * propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-1737-115/+103
| | | |\ | | | | | | | | | | | | | | | | | | | | | | | | | cfb19182987fc95b2a8885584a38edb10b4709b3) to branch 'net.randombit.botan.c++0x' (head 1570877c463fed4b632bc49a5b5ee27c57de2cb5)
| | | * | Use -pthread on all platforms. This is necessary to get functioning supportlloyd2009-11-171-6/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | for std::thread, and to ensure that std::mutex actually maps to a real mutex and not a no-op. Don't explicitly define _REENTRANT; -pthread will handle that if necessary.
| | | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-1614-23/+50
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8cecdc1c3dd5853823fabcb816400dd467b3c04a) to branch 'net.randombit.botan.c++0x' (head 39a585195a07f18628f6216a276402ed92567cc3)
| | | * | | Convert Data_Store::Matcher to using lambdaslloyd2009-11-163-67/+19
| | | | | |
| | | * | | Use auto for long iterator names, etc.lloyd2009-11-1613-90/+43
| | | | | | | | | | | | | | | | | | | | | | | | It will be nice to convert to the range-based for loop once that's available.
| | | * | | Replace X509_Store::Search_Func with std::function and lambdaslloyd2009-11-165-94/+84
| | | | | |
| | | * | | Remove TR1 hooks - can be assumed to exist under a C++0x compilerlloyd2009-11-134-9/+1
| | | | | |
| | | * | | Use GCC 4.5 snapshot for C++0x buildlloyd2009-11-131-1/+1
| | | | | |
| | | * | | Make `struct mapping tests[]` non-static in miller_rabin_test_iterationslloyd2009-11-131-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | to work around gcc bug 42010
| | | * | | Post-merge fixlloyd2009-11-131-1/+1
| | | | | |
| | | * | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-1370-957/+2135
| | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | ac888e57b614c623590d79ab615353ad7c76ef68) to branch 'net.randombit.botan.c++0x' (head 9bf78ed7e2521a328f6db7acbc1cd81b07718230)
| | | * \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-0511-49/+73
| | | |\ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | cead7027e70b68a8b4ae2e5bd8f290066e5ea22a) to branch 'net.randombit.botan.c++0x' (head 9edbd485060131b695170f5243a100e06e3b0c71)
| | | * \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-11-0291-1351/+364
| | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 2773c2310e8c0a51975987a2dd6c5824c8d43882) to branch 'net.randombit.botan.c++0x' (head f13cf5d7e89706c882604299b508f356c20aae3a)
| | | | * | | | | Attic-ize all of src/timer, except for time_t_to_tm and system_timelloyd2009-10-1324-506/+46
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | (which will go later) which will live in the new time.h
| | | | * | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-10-131-0/+4
| | | | |\ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d2bced090807e3590304d38724d37f90ac870f1d) to branch 'net.randombit.botan.c++0x' (head 21baae4d88e0b1bc4e127d129b8ca730e8fa3e46)
| | | | * | | | | | Fixup post-merge breakagelloyd2009-10-131-1/+1
| | | | | | | | | |
| | | | * | | | | | Fixup post-merge breakagelloyd2009-10-131-5/+5
| | | | | | | | | |
| | | | * | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-10-1370-862/+312
| | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 139d6957d20f0b1202e0eacc63cb011588faffde) to branch 'net.randombit.botan.c++0x' (head c16676fa6c393bc3f46a044755ce525a013380a6)
| | | | | * | | | | | Change call to system_time to use std::chronolloyd2009-09-301-2/+4
| | | | | | | | | | |
| | | | | * | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-3069-865/+313
| | | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 8a5eb02c2e451fc983f234f7ba2f023f5a7d294f) to branch 'net.randombit.botan.c++0x' (head e18cd411269e15638df3298d6a4165446e7ca529)
| | | | | | * \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-175-65/+35
| | | | | | |\ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | b9ca6596a127964cb9795d22bc2a5642fab5de84) to branch 'net.randombit.botan.c++0x' (head 3c769a81bd357a14f8aca4502b67e8465cee0947)
| | | | | | * \ \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-1734-98/+162
| | | | | | |\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 92e05ab242e4b6998d685961c53700534a673bce) to branch 'net.randombit.botan.c++0x' (head 27ce37b971ec5cb1f80a9a95b13d5a951b96653b)
| | | | | | * | | | | | | | Use <chrono> in the runtime benchmarking code instead of the locallloyd2009-09-163-56/+47
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timers.
| | | | | | * | | | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-1666-809/+266
| | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 32f457161b1ad1afb7a3d0ccebc98ada83fb23d9) to branch 'net.randombit.botan.c++0x' (head 6e3c13869f27636152cf11c65a7d8197a93641d9)
| | | | | | | * | | | | | | | Remove dep on mutex module (doesn't exist here). Use initializer list in ↵lloyd2009-09-114-18/+11
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | libstate.cpp
| | | | | | | * | | | | | | | Use GCC 4.4.1-release for C++0x testinglloyd2009-09-091-1/+1
| | | | | | | | | | | | | | |
| | | | | | | * | | | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-09-0863-792/+256
| | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5cadcc57872bef55226579df57349fe09a93d1f5) to branch 'net.randombit.botan.c++0x' (head d1747f0394aa4442e5b32b9102b830e1a86f0e5a)
| | | | | | | | * \ \ \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-21134-391/+633
| | | | | | | | |\ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 95eb8083f5884531e5ca0667388f8a6fb6d05c41) to branch 'net.randombit.botan.c++0x' (head 56e105e678540c8bcafa4d0198c19a9489fbf8d1)
| | | | | | | | * \ \ \ \ \ \ \ \ propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-1563-793/+258
| | | | | | | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 5438defd358f82e876917a8bd6d735305ecb0a8e) to branch 'net.randombit.botan.c++0x' (head cbdb2fd418557add29a536f7bdb6e78db16f725c)
| | | | | | | | | * | | | | | | | | Move mutex directory back to the Atticlloyd2009-07-0314-421/+0
| | | | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-0329-172/+220
| | | | | | | | | |\ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | d6d32791adfa878b6fc0dd3a5b65a665b7bbb549) to branch 'net.randombit.botan.c++0x' (head 54deb0e078aab8cd91c8fd8819d1e6668fc762da)
| | | | | | | | | * | | | | | | | | | Move mutex.h to src/mutex (from Attic)lloyd2009-07-031-0/+56
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | | | | Move mutex from Attic to src to deal with merge conflictlloyd2009-07-0312-0/+356
| | | | | | | | | | | | | | | | | | |
| | | | | | | | | * | | | | | | | | | propagate from branch 'net.randombit.botan' (head ↵lloyd2009-06-0463-785/+258
| | | | | | | | | |\ \ \ \ \ \ \ \ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 6a746ccf1e957dba703e65372050a7bd4d6b117d) to branch 'net.randombit.botan.c++0x' (head f54bb7b391eb3b71f380a68ddd460debdc31545d)
| | | | | | | | | | * | | | | | | | | | Use C++0x std::shared_ptr<> instead of TR1'slloyd2009-04-0115-72/+58
| | | | | | | | | | | | | | | | | | | |
| | | | | | | | | | * | | | | | | | | | Replace the (deprecated) auto_ptr with unique_ptr.lloyd2009-04-0124-71/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This was mostly a s/auto_ptr/unique_ptr/, except in the CVC code and one function in ECDSA, which relied on auto_ptr's move semantics (ugh) and had to be modified in various ways.