Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Document some other recent updates | lloyd | 2008-09-11 | 1 | -2/+4 | |
| | ||||||
* | Use getlogin before getpwuid for Windows | lloyd | 2008-09-11 | 1 | -1/+1 | |
| | ||||||
* | Load asm_amd64 only on request | lloyd | 2008-09-10 | 1 | -1/+1 | |
| | ||||||
* | Add (incomplete) x86-64 mp_mulop variant | lloyd | 2008-09-10 | 2 | -0/+95 | |
| | ||||||
* | Note new 16x16 Comba operations | lloyd | 2008-09-10 | 1 | -0/+1 | |
| | ||||||
* | Increase Karatsuba cutoffs from 12 to 32 words | lloyd | 2008-09-09 | 1 | -2/+2 | |
| | ||||||
* | Add 16x16->32 word Comba multiply and square | lloyd | 2008-09-09 | 3 | -176/+719 | |
| | ||||||
* | Hoist load, since compiler may not be able to do so due to aliasing | lloyd | 2008-09-09 | 1 | -4/+7 | |
| | ||||||
* | Undef macros at end of headers | lloyd | 2008-09-09 | 2 | -1/+11 | |
| | ||||||
* | Add comment about bigint_simple_sqr just being an optimization to work ↵ | lloyd | 2008-09-09 | 1 | -1/+6 | |
| | | | | around lack of restricted pointers | |||||
* | Use individual variables intead of an array inside the Salsa20 function, | lloyd | 2008-09-09 | 1 | -37/+65 | |
| | | | | shows a 35% speedup on my Core2 with G++ vs previous version. | |||||
* | Add implementation of Salsa20 stream cipher | lloyd | 2008-09-09 | 6 | -0/+503 | |
| | ||||||
* | In get_cipher, do not call cipher->set_iv unless the IV is non-empty | lloyd | 2008-09-09 | 1 | -1/+4 | |
| | ||||||
* | Fix --bench-type | lloyd | 2008-09-09 | 1 | -10/+17 | |
| | ||||||
* | Add a little more detail to RSA example. Reword some intro text. | lloyd | 2008-09-08 | 1 | -29/+39 | |
| | ||||||
* | Add --test to OptionParser list | lloyd | 2008-09-08 | 1 | -1/+1 | |
| | ||||||
* | Last checkin would crash, because the destructor for the rng would not | lloyd | 2008-09-08 | 1 | -60/+55 | |
| | | | | | | | | run until after the block ended, which was after set_global_state(0) had run, causing crashes in the destructors that attempted to free memory. Restructure the argument handling, it is significantly easier to understand now. Only create the rng where it is needed. | |||||
* | Run test_types every time prior to initialization, instead of just during | lloyd | 2008-09-08 | 1 | -58/+66 | |
| | | | | | | | the test suite. Instead of exiting, just carry on; the full test suite will check if the problem is real or if std::numeric_limits is just wonky. | |||||
* | New (GCC-generated) code for bigint_monty_redc) | lloyd | 2008-09-08 | 1 | -110/+252 | |
| | ||||||
* | Update release notes | lloyd | 2008-09-07 | 1 | -0/+3 | |
| | ||||||
* | Make text easier to understand | lloyd | 2008-09-07 | 1 | -2/+5 | |
| | ||||||
* | Add the username and hostname to build.h | lloyd | 2008-09-07 | 2 | -4/+7 | |
| | ||||||
* | Bump to 1.7.11 (pre) | lloyd | 2008-09-07 | 3 | -2/+4 | |
| | ||||||
* | Reindent | lloyd | 2008-09-07 | 1 | -172/+172 | |
| | ||||||
* | Disable extensive testing during benchmark key generation: throws off profiler | lloyd | 2008-09-07 | 1 | -0/+3 | |
| | ||||||
* | Comment fix | lloyd | 2008-09-07 | 1 | -1/+1 | |
| | ||||||
* | Do not enable by default | lloyd | 2008-09-07 | 1 | -1/+1 | |
| | ||||||
* | asm_amd64/ | lloyd | 2008-09-07 | 4 | -15/+227 | |
| | | | | Check in current state of the x86-64 assembly | |||||
* | Reduce how often DSA and DH keys are generated during benchmarks | lloyd | 2008-09-07 | 1 | -2/+2 | |
| | ||||||
* | Disable mp_mulop.S until updated | lloyd | 2008-09-07 | 1 | -3/+3 | |
| | ||||||
* | Disable mp_mulop.S until updated | lloyd | 2008-09-07 | 1 | -2/+2 | |
| | ||||||
* | Remove bigint_mul_add_words. It was only used now in two callers, | lloyd | 2008-09-07 | 3 | -33/+45 | |
| | | | | | | | bigint_simple_mul and bigint_simple_sqr. Examining these functions made it clear inlining would be beneficial, so these two functions have been moved from an anonymous namespace into mp_mulop.cpp (to allow assembly versions). | |||||
* | Fix call to asm | lloyd | 2008-09-07 | 1 | -1/+1 | |
| | ||||||
* | Rename alg_amd64 to asm_amd64 | lloyd | 2008-09-07 | 6 | -8/+117 | |
| | | | | | | Namespace exposed SHA-1 function with botan_ prefix. Add start of mp_monty for x86-64 assembly | |||||
* | Inline BigInt::Rep::operator[], BigInt::sig_words, and BigInt::Rep::sig_words | lloyd | 2008-09-07 | 2 | -72/+46 | |
| | ||||||
* | Rename alg_ia32 module to asm_ia32, which is more reflective of actual | lloyd | 2008-09-07 | 11 | -5/+5 | |
| | | | | | | | | contents. Rename sha1core.S to sha1_asm.S, and rename the extern "C" function from sha160_core to botan_sha160_asm_ia32 so it is clear what it is and so it is reasonably namespaced. | |||||
* | Inline BigInt::operator[] | lloyd | 2008-09-07 | 2 | -18/+2 | |
| | ||||||
* | Typo fix | lloyd | 2008-09-07 | 1 | -1/+1 | |
| | ||||||
* | Combine redundant definitions of blocks variable | lloyd | 2008-09-07 | 1 | -7/+6 | |
| | ||||||
* | For non-release, use strict GCC warn flags | lloyd | 2008-09-07 | 1 | -2/+2 | |
| | ||||||
* | Tweak timer output | lloyd | 2008-09-07 | 1 | -2/+2 | |
| | ||||||
* | Inline BigInt::is_zero | lloyd | 2008-09-07 | 2 | -13/+9 | |
| | ||||||
* | Inline similarly in karatsuba_mul | lloyd | 2008-09-07 | 1 | -11/+32 | |
| | ||||||
* | In karatsuba_square, inline the sequence | lloyd | 2008-09-07 | 1 | -3/+25 | |
| | | | | | | | | word carry = bigint_add3_nc(workspace+N, z0, N, z1, N); carry += bigint_add2_nc(z + N2, N, workspace + N, N); bigint_add2_nc(z + N + N2, N2, &carry, 1); It turns out quite a bit can be shared among these function calls | |||||
* | Comment cleanup | lloyd | 2008-09-07 | 1 | -4/+2 | |
| | ||||||
* | Rewrite without gotos | lloyd | 2008-09-07 | 1 | -135/+11 | |
| | ||||||
* | Inline bigint_sub2 into bigint_monty_redc | lloyd | 2008-09-07 | 1 | -5/+20 | |
| | ||||||
* | Inline bigint_cmp in bigint_monty_redc (using goto, the horror; I'm basically | lloyd | 2008-09-07 | 1 | -27/+10 | |
| | | | | | | | prototyping and testing the x86-64 assembly version in C) According to most profiles, bigint_monty_redc alone is responsible for 30%-50% of RSA, DSA, and DH benchmarks. So it seems worth tinkering with a bit. | |||||
* | Move bigint_monty_redc to its own file to make asm implementations easier | lloyd | 2008-09-07 | 2 | -29/+205 | |
| | ||||||
* | Use i instead of j for iterator var | lloyd | 2008-09-07 | 1 | -4/+4 | |
| |