Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Doxygen comments | lloyd | 2012-07-06 | 1 | -3/+22 |
| | |||||
* | Remove BOTAN_MEM_POOL_CHUNK_SIZE macro from build.h, no longer used. | lloyd | 2012-06-19 | 1 | -5/+8 |
| | | | | | Move Karatsuba cutoffs to mp_karat.cpp as that is the only place that uses them and I doubt these get tweaked much (ever). | ||||
* | In Karatsuba multiplication, we would avoid recursing in cases where | lloyd | 2012-06-19 | 1 | -48/+10 |
| | | | | | | | | | we know one of the sub values was going to be zero. Avoid doing this as it exposes a timing channel. Some bn_asm code was manually inlined into the Karatsuba for doing additions. Just call the normal functions - if these are too slow that should be fixed. | ||||
* | Fix declaration | lloyd | 2011-11-18 | 1 | -2/+1 |
| | |||||
* | Manually rename registers instead of rotating. Performance is about | lloyd | 2011-11-18 | 1 | -638/+638 |
| | | | | | the same, so clearly GCC 4.6 and/or the Core i7 are very good about renames, but might help on less capable systems. | ||||
* | Change order of arguments to bigint_monty_redc (internal interface, | lloyd | 2011-06-02 | 2 | -44/+41 |
| | | | | | | not exposed to callers) Switch back redc to using the inlined version (accidental change) | ||||
* | Add monty sqr and multiply routines (they just call karatsuba and then | lloyd | 2011-06-02 | 2 | -3/+49 |
| | | | | redc, currently) | ||||
* | Always writing to/reading from the carry word makes valgrind unhappy. | lloyd | 2011-05-16 | 1 | -1/+2 |
| | |||||
* | dword was set to a size_t if we were using a 16 bit limb. Caused by an | lloyd | 2011-05-09 | 1 | -1/+1 |
| | | | | overzealous perl script... | ||||
* | Flatten out the mp directory since no alternative asm implemenations | lloyd | 2011-04-25 | 6 | -13/+3 |
| | | | | | | | for Montgomery or multiply/square currently exist and almost ceratainly won't be added during 1.10 Fix the name for Sun Studio in mp_asm64 | ||||
* | Rename all references of ia32 to x86-32 and amd64 to x86-64. | lloyd | 2011-04-22 | 11 | -10/+9 |
| | | | | | | Back the reported version from 1.10.0 to 1.9.17 for the time being. Still on the fence if this will be 1.10.0 or another release candidate instead. | ||||
* | Oops - should not have used size_t here! | lloyd | 2010-12-22 | 1 | -1/+1 |
| | |||||
* | Use size_t in all of math, remove to_u32bit | lloyd | 2010-10-12 | 10 | -144/+144 |
| | |||||
* | Change ifs to compares to make it easier for a compiler to figure out | lloyd | 2010-10-12 | 1 | -11/+9 |
| | | | | | | it should use add with carry or conditional moves if available. Also remove the amd64 asm; the mp_amd64 code should be used for this case. | ||||
* | Cleanup Karatsuba a bit | lloyd | 2010-09-28 | 1 | -103/+107 |
| | |||||
* | Cleanup | lloyd | 2010-09-26 | 1 | -9/+9 |
| | |||||
* | Move the core MPI functions to src/math/mp, leaving src/math/bigint just | lloyd | 2010-09-24 | 27 | -0/+3752 |
for the implementation of the BigInt class |