aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/bigint/mp_amd64
Commit message (Collapse)AuthorAgeFilesLines
* Move the core MPI functions to src/math/mp, leaving src/math/bigint justlloyd2010-09-243-335/+0
| | | | for the implementation of the BigInt class
* Clang understands at least some GCC inline asm syntax as well as whatlloyd2010-08-081-0/+1
| | | | an .S file is, so allow it for x86-64. Tested/works with Clang SVN.
* Add a special handler for the case of doing a subtraction as in:lloyd2010-03-161-1/+14
| | | | | | | | x -= y; where abs(x) < abs(y). This change alone increases ECDSA performance by 5 to 15%
* Full working amalgamation build, plus internal-only headers concept.lloyd2009-12-162-5/+5
|
* Remove the 'realname' attribute on all modules and cc/cpu/os info files.lloyd2009-10-291-2/+0
| | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that.
* Enable x86-64 asm word_addlloyd2009-10-151-8/+0
|
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-302-55/+59
| | | | | | | | | | | | | | | up during the Fedora submission review, that each source file include some text about the license. One handy Perl script later and each file now has the line Distributed under the terms of the Botan license after the copyright notices. While I was in there modifying every file anyway, I also stripped out the remainder of the block comments (lots of astericks before and after the text); this is stylistic thing I picked up when I was first learning C++ but in retrospect it is not a good style as the structure makes it harder to modify comments (with the result that comments become fewer, shorter and are less likely to be updated, which are not good things).
* Disable the x86-64 implementation of word_add. I think there is a buglloyd2008-10-111-0/+8
| | | | | | | | | | | in the constraints. It turns out that the GF(p) tests all pass in 64-bit mode if this function is disabled. I suspect the problem is that innert_montg_mult_sos calls this function in ways that are unusual in terms of how it is used in the rest of the library (in particular calling it with constant zero arguments). I think a constraint error is causing GCC to generate bad code in certain instances with this function. Will need to investigate this further.
* Rearrange BigInt directories:lloyd2008-09-303-0/+319
math/bigint - BigInt implementation math/numbertheory - Math stuff built on top of BigInt Coming soon: math/gfp (parts of pk/ecdsa) Update deps in the pk files