Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | 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 |
| | |||||
* | Flush stdout after every new result | lloyd | 2008-09-07 | 1 | -1/+1 |
| | |||||
* | Include a comment in the generated build.h stating that the file was | lloyd | 2008-09-06 | 2 | -0/+24 |
| | | | | | automatically generated, along with the time, the command line arguments, the target compiler/CPU, and the enabled modules. | ||||
* | merge of '25669167ad287dc414f6acc3a42f1f54f8394937'1.7.10 | lloyd | 2008-09-05 | 2 | -2/+2 |
|\ | | | | | | | and '4f48fd2420f33a42f2244f86c099f9a02d53aa87' | ||||
| * | Changes for 1.7.10 | lloyd | 2008-09-05 | 2 | -2/+2 |
| | | |||||
* | | Revert back to just -W -Wall for GCC for release | lloyd | 2008-09-05 | 1 | -2/+2 |
|/ | |||||
* | Mention DL_Group::Format aliases | lloyd | 2008-09-05 | 1 | -0/+1 |
| | |||||
* | Use a nibble-wide lookup table to reduce loop iterations | lloyd | 2008-09-05 | 1 | -3/+5 |
| | |||||
* | Remove iostream include | lloyd | 2008-09-05 | 1 | -2/+0 |
| | |||||
* | Further release notes for 1.7.10 | lloyd | 2008-09-05 | 1 | -1/+7 |
| | |||||
* | There is no real reason BigInt::grow_to needs to be private (and one | lloyd | 2008-09-05 | 1 | -2/+1 |
| | | | | | can easily perform the operation manually using get_reg), and InSiTo wants to access it, so go ahead and make it public. | ||||
* | Optimize right shift a little | lloyd | 2008-09-05 | 1 | -14/+38 |
| | |||||
* | Change return type of ctz from int to u32bit | lloyd | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | Replace __builtin_ctzl with a new ctz function in bit_ops.h | lloyd | 2008-09-05 | 2 | -2/+13 |
| | |||||
* | Bump soname to 1.7.10 | lloyd | 2008-09-05 | 1 | -1/+1 |
| | |||||
* | Wrap the BigInt register in a small class that caches the significant | lloyd | 2008-09-05 | 3 | -44/+117 |
| | | | | | words. BigInt::sig_words() was showing up very hot on valgrind runs, this seems to reduce the usage substantially. | ||||
* | Choice of clock_gettime, gettimeofday, times, and clock for benchmark timings | lloyd | 2008-09-05 | 2 | -8/+47 |
| | |||||
* | Start of 1.7.10 release notes | lloyd | 2008-09-05 | 1 | -0/+3 |
| | |||||
* | Add new build.h macro BOTAN_TARGET_OS_IS_XXX | lloyd | 2008-09-05 | 1 | -0/+7 |
| | |||||
* | Disable all-asm mp_mulop for now | lloyd | 2008-09-05 | 1 | -2/+2 |
| | |||||
* | Revert change to dl_work_factor for now - breaks ElGamal tests | lloyd | 2008-09-05 | 1 | -0/+14 |
| | |||||
* | Use the Timer class for all benchmarking | lloyd | 2008-09-05 | 9 | -131/+91 |
| | |||||
* | Ignore callgrind files | lloyd | 2008-09-05 | 1 | -0/+2 |
| | |||||
* | New DH benchmark, much more reflective of real usage as well. | lloyd | 2008-09-05 | 1 | -114/+64 |
| | |||||
* | Rewrite dl_work_factor using a lookup table with data from RFC 3526, | lloyd | 2008-09-05 | 1 | -16/+18 |
| | | | | | | | | | | | | "More Modular Exponential (MODP) Diffie-Hellman groups for Internet Key Exchange (IKE)", which removes Botan's dependency on standard math library (which can be a big deal on embedded systems, and it seemed silly to have just a single function cause us to pull in potentially all of libm) Also this makes the values Botan will pick for exponent sizes more obvious; previously one would have to run through the computation or call the function and observe the output. | ||||
* | Add the IKE 6144-bit MODP group, from RFC 3526 | lloyd | 2008-09-05 | 1 | -0/+37 |
| | |||||
* | Add new aliases to the DL_Group::Format enum. The previous values were | lloyd | 2008-09-05 | 1 | -3/+13 |
| | | | | | pretty opaque; now use the easier to remember DL_Group::DSA_PARAMETERS and DL_Group::DH_PARAMETERS | ||||
* | Define the functions from bit_ops.h as inline template functions, instead | lloyd | 2008-09-05 | 2 | -74/+58 |
| | | | | of always converting to u64bit and passing to a non-inlined function. | ||||
* | A possible optimization to low_zero_bits (which was showing up hot in | lloyd | 2008-09-02 | 1 | -6/+22 |
| | | | | | some DSA/NR benchmarks). Requires GCC/ICC for __builtin_ctzl, though that will change shortly. | ||||
* | Where bit_ops.h was used to get xor_buf, include xor_buf.h instead | lloyd | 2008-09-02 | 26 | -25/+25 |
| | |||||
* | Remove code moved to bswap.h and rotate.h, also split xor_buf into | lloyd | 2008-09-02 | 2 | -71/+65 |
| | | | | | | xor_buf.h. The optimization using reinterpret_cast previously used in the amd64 module is now used directly in the stock header, as long as BOTAN_TARGET_UNALIGNED_LOADSTOR_OK is set. | ||||
* | Split byte swap code and word rotation code off into bswap.h and rotate.h | lloyd | 2008-09-02 | 6 | -94/+106 |
| | |||||
* | Delete dead code. New shared benchmark framework for RSA/RW. RSA benchmark | lloyd | 2008-09-02 | 1 | -250/+155 |
| | | | | now uses signing instead of encryption. | ||||
* | Reduce RW creation min also to 512 for benchmarks | lloyd | 2008-09-02 | 1 | -1/+1 |
| | |||||
* | Inline some methods of Timer | lloyd | 2008-08-31 | 12 | -258/+26 |
| | | | | Randomly generate the RW keys as well, removing all need for the keys/ dir | ||||
* | The counter is not specified, so do not mention it | lloyd | 2008-08-31 | 1 | -1/+1 |
| | |||||
* | Add DSS groups with 2048 and 3072 bit p values (and 256 bit q subgroups). | lloyd | 2008-08-31 | 1 | -105/+141 |
| | | | | | | These were generated using the FIPS 186-3 PRNG, with seed values generating by applying SHA-256 to the UTF-8 encodings of the strings "Botan 2048 DSS seed #51" and "Botan 3072 DSS seed #24" | ||||
* | Rewrite the RSA and DSA benchmarks to be much more readable and flexible, | lloyd | 2008-08-31 | 1 | -51/+158 |
| | | | | also now reporting key generation and (for DSA) parameter generation times. |