Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Rename mp_amd64_msvc to mp_msvc64 since it supports both AMD64 and | lloyd | 2010-08-25 | 3 | -2/+2 |
| | | | | | IA-64 (and, hypothetically, any other 64 bit CPU Visual C++ might target in the future). | ||||
* | Also allow clang with 32-bit assembly code, everything seems to work | lloyd | 2010-08-08 | 1 | -0/+1 |
| | | | | fine with latest SVN. | ||||
* | Clang understands at least some GCC inline asm syntax as well as what | lloyd | 2010-08-08 | 1 | -0/+1 |
| | | | | an .S file is, so allow it for x86-64. Tested/works with Clang SVN. | ||||
* | Make round_up and round_down templates instead of fixed to use u32bits | lloyd | 2010-06-29 | 1 | -5/+5 |
| | |||||
* | Use mode(TI) operations to get access to MIPS 64-bit multiply. | lloyd | 2010-06-17 | 1 | -1/+4 |
| | | | | Required after GCC 4.4 | ||||
* | Doxygen for divide.h | lloyd | 2010-06-16 | 1 | -1/+11 |
| | |||||
* | More Doxygen updates. Also, don't expose divide() in numthry.h | lloyd | 2010-06-16 | 1 | -26/+27 |
| | | | | anymore, only in divide.h | ||||
* | More BigInt Doxygen comment updates | lloyd | 2010-06-16 | 1 | -19/+20 |
| | |||||
* | Cleanup some BigInt doxygen comments | lloyd | 2010-06-16 | 1 | -31/+44 |
| | |||||
* | Replace "@return a blah" and "@return the blah" with just "@return blah" | lloyd | 2010-06-16 | 1 | -2/+2 |
| | |||||
* | Fix a few hundred Doxygen warnings | lloyd | 2010-06-15 | 1 | -4/+11 |
| | |||||
* | Include generic mp_asmi.h for MSVC | lloyd | 2010-06-11 | 2 | -0/+2 |
| | | | | | | | Don't use /EHc; it says "C" functions are nothrow, which is not true for bigint_sub2_rev. Include needed <intrin.h> for mp_asm.h | ||||
* | Have to add it as explicit dep in bigint | lloyd | 2010-06-11 | 1 | -1/+1 |
| | |||||
* | Add (untested) support for VC++'s _umul128 intrinsic, which apparently | lloyd | 2010-06-11 | 2 | -0/+76 |
| | | | | works on both x86-64 and ia64. Will allow using 64-bit limbs on Windows. | ||||
* | In BigInt::bits, cache sig_words() result instead of calling twice | lloyd | 2010-06-07 | 1 | -2/+4 |
| | |||||
* | Add a special handler for the case of doing a subtraction as in: | lloyd | 2010-03-16 | 7 | -391/+470 |
| | | | | | | | | x -= y; where abs(x) < abs(y). This change alone increases ECDSA performance by 5 to 15% | ||||
* | Name other params. Remove decls of functions that don't exist | lloyd | 2010-03-15 | 1 | -14/+36 |
| | |||||
* | Name params | lloyd | 2010-03-15 | 1 | -16/+25 |
| | |||||
* | If workspace is NULL, skip Karatsuba mul/sqr | lloyd | 2010-03-15 | 1 | -2/+6 |
| | |||||
* | Correct Doxygen comment | lloyd | 2010-03-13 | 1 | -3/+3 |
| | |||||
* | Name args to bigint_{mul,sqr} in header | lloyd | 2010-03-13 | 1 | -5/+5 |
| | |||||
* | Move the get_byte template to its own header, because many files | lloyd | 2010-02-02 | 1 | -1/+1 |
| | | | | including loadstor.h actually just needed get_byte and nothing else. | ||||
* | Un-internal loadstor.h (and its header deps, rotate.h and | lloyd | 2009-12-21 | 1 | -1/+1 |
| | | | | | | | | | | | | | | bswap.h); too many external apps rely on loadstor.h existing. Define 64-bit generic bswap in terms of 32-bit bswap, since it's not much slower if 32-bit is also generic, and much faster if it's not. This may be quite helpful on 32-bit x86 in particular. Change formulation of generic 32-bit bswap. It may be faster or slower depending on the CPU, especially the latency and throuput of rotate instructions, but should be faster on an ideally superscalar processor with rotate instructions (ie, what I expect future CPUs to look more like). | ||||
* | Make many more headers internal-only. | lloyd | 2009-12-16 | 4 | -5/+5 |
| | | | | | | | | | | | | | Fixes for the amalgamation generator for internal headers. Remove BOTAN_DLL exporting macros from all internal-only headers; the classes/functions there don't need to be exported, and avoiding the PIC/GOT indirection can be a big win. Add missing BOTAN_DLLs where necessary, mostly gfpmath and cvc For GCC, use -fvisibility=hidden and set BOTAN_DLL to the visibility __attribute__ to export those classes/functions. | ||||
* | Full working amalgamation build, plus internal-only headers concept. | lloyd | 2009-12-16 | 30 | -57/+63 |
| | |||||
* | Fix typo | lloyd | 2009-11-18 | 1 | -1/+1 |
| | |||||
* | Clean up BigInt doxygen comments | lloyd | 2009-11-18 | 1 | -471/+458 |
| | |||||
* | Rename/remove some secmem member variables for better matching with STL | lloyd | 2009-11-17 | 2 | -6/+6 |
| | | | | | | | | containers (specifically vector). Rename is_empty to empty Remove has_items Rename create to resize | ||||
* | Instead of having two asm_macr.h files being switched in based on module | lloyd | 2009-11-14 | 3 | -3/+3 |
| | | | | build magic, name them asm_macr_ARCH.h. Change all including files accordingly. | ||||
* | Cleanups - remove emails from source files, they should only live in | lloyd | 2009-11-10 | 2 | -2/+2 |
| | | | | credits.txt and thanks.txt. Remove some various bits of formatting weirdness. | ||||
* | Remove the 'realname' attribute on all modules and cc/cpu/os info files. | lloyd | 2009-10-29 | 11 | -22/+0 |
| | | | | | Pretty much useless and unused, except for listing the module names in build.h and the short versions totally suffice for that. | ||||
* | Also enable x86 asm word_add | lloyd | 2009-10-15 | 1 | -8/+0 |
| | |||||
* | Enable x86-64 asm word_add | lloyd | 2009-10-15 | 1 | -8/+0 |
| | |||||
* | Split up util.h into 3 files | lloyd | 2009-09-17 | 1 | -1/+1 |
| | | | | | | | - rounding.h (round_up, round_down) - workfactor.h (dl_work_factor) - timer.h (system_time) And update all users of the previous util.h | ||||
* | Add 'Distributed under the terms of the Botan license' notices to the .S | lloyd | 2009-08-11 | 3 | -12/+18 |
| | | | | | files. Were missed by the automated script that added them to the cpp/h files, it appears. | ||||
* | Add support for Dragonfly BSD (a fork of FreeBSD). | lloyd | 2009-07-25 | 3 | -0/+3 |
| | | | | Contributed by Patrick Georgi | ||||
* | Fix bigint_2word_mul - it tried to use MP_WORD_BITS which was not visible | lloyd | 2009-07-23 | 1 | -1/+1 |
| | | | | | in this header, instead use the macro version BOTAN_MP_WORD_BITS. Only affected 64-bit SPARC builds. | ||||
* | Fix various auto generated dependencies that were wrong | lloyd | 2009-07-17 | 6 | -20/+5 |
| | |||||
* | Move some files around to break up dependencies between directories | lloyd | 2009-07-16 | 1 | -0/+1 |
| | |||||
* | Add a script that reads the output of print_deps.py and rewrites | lloyd | 2009-07-15 | 7 | -20/+35 |
| | | | | | | the info.txt files with the right module dependencies. Apply it across the codebase. | ||||
* | New module load_on directive 'never', to mark known-buggy code | lloyd | 2009-07-15 | 2 | -2/+2 |
| | |||||
* | Only load mulop_amd64 on request (currently broken code) | lloyd | 2009-07-02 | 1 | -1/+1 |
| | |||||
* | Thomas Moschny passed along a request from the Fedora packagers which came | lloyd | 2009-03-30 | 27 | -596/+650 |
| | | | | | | | | | | | | | | | 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). | ||||
* | Wrap at 80 columns | lloyd | 2008-11-11 | 1 | -1/+2 |
| | |||||
* | Mention existence of O(n^1.5) squaring algorithm | lloyd | 2008-11-10 | 1 | -0/+3 |
| | |||||
* | Wrap lines to 80 columns | lloyd | 2008-10-28 | 1 | -4/+5 |
| | |||||
* | Move EntropySource base class to new entropy_src.h (which allows the ↵ | lloyd | 2008-10-26 | 1 | -0/+1 |
| | | | | | | implementations to decouple from knowing about RandomNumberGenerator). | ||||
* | Clean up VC++ ia32 asm a bit, use new defs of word3_muladd* from generic ↵ | lloyd | 2008-10-15 | 1 | -49/+28 |
| | | | | mp_asmi.h | ||||
* | Fix include of mp_asm.h in mp_ia32_msvc/mp_asmi.h (used quotes instead of ↵ | lloyd | 2008-10-15 | 1 | -1/+1 |
| | | | | brackets) | ||||
* | Add trailing H__ to some header guards. Line wrap long comment. | lloyd | 2008-10-13 | 1 | -2/+2 |
| |