aboutsummaryrefslogtreecommitdiffstats
path: root/src/math/gfpmath/gfp_element.cpp
Commit message (Collapse)AuthorAgeFilesLines
* propagate from branch 'net.randombit.botan' (head ↵lloyd2009-07-151-3/+3
|\ | | | | | | | | | | 5438defd358f82e876917a8bd6d735305ecb0a8e) to branch 'net.randombit.botan.c++0x' (head cbdb2fd418557add29a536f7bdb6e78db16f725c)
| * Use C++0x std::shared_ptr<> instead of TR1'slloyd2009-04-011-3/+3
| |
* | Remove unnecessary includes of <iostream>; either delete entirely as notlloyd2009-07-111-0/+1
|/ | | | needed, or replace with <iosfwd> or <ostream> where necessary.
* Thomas Moschny passed along a request from the Fedora packagers which camelloyd2009-03-301-10/+12
| | | | | | | | | | | | | | | 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).
* Change GFpElement's scalar multiplication operators to take a u64bit insteadlloyd2008-10-111-25/+22
| | | | of u32bit. Some minor format cleanup.
* Some small changes to GFpElement, including accepting u64bit insteadlloyd2008-10-091-27/+25
| | | | | | | of u32bit to the operator* and operator*= Instead of passing the n_dash array to inner_montg_mult_sos, which only uses the first word, just pass the word directly.
* Cleanup of gfp_element.cpplloyd2008-10-091-21/+29
|
* Clean up GF(p) implementation codelloyd2008-10-091-10/+12
|
* Partially merge back with InSiTo in an attemp to trace bugslloyd2008-10-081-154/+171
|
* Move GF(p) math code from pk/ecdsa to math/gfpmathlloyd2008-09-301-0/+674