aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Move KASUMI S-Boxes from kas_tab.cpp to kasumi.cpplloyd2008-10-134-87/+75
|
* Add Doxygen comments to asn1_oid.h (from InSiTo)lloyd2008-10-131-14/+58
|
* Only delete Doxygen files on distclean, not regular cleanlloyd2008-10-132-2/+2
|
* Add Doxygen comments to dh.h (from InSiTo)lloyd2008-10-131-13/+34
|
* Doxygen comments for utils/version.h (from InSiTo)lloyd2008-10-131-0/+26
|
* Add basic support for Doxygen, including a make targetlloyd2008-10-133-2/+243
|
* Default to Itanium2 if provided with just --cpu=ia64. This is safelloyd2008-10-121-1/+2
| | | | | | because there are not any ABI/ISA differences between them (AFAIK), just scheduling. And I think Itanium2 is significantly more common than Itanium1 at this point.
* Remove leading "Botan " from result of version_stringlloyd2008-10-121-3/+9
| | | | | Add a comment explaining why these functions are compiled rather than inlined.
* Add name() virtual function in RandomNumberGenerator base class (had been ↵lloyd2008-10-121-0/+2
| | | | there, was lost)
* Add a new switch to configure.pl --with-tr1-implementation whichlloyd2008-10-123-9/+5
| | | | | | | | | | | | | | | | | | | | | | | | accepts options 'boost' and 'system'. Now GF(p) math (and indirectly, ECDSA) will be enabled if --with-tr1=boost or --with-tr1=system is passed at build time to enable a shared_ptr implementation. Modules can now specify that they require TR1, in which case they will only be autoloaded if a TR1 implementation was set (they can choose which one to use by checking the feature macros from build.h) The gfpmath module was set to load only on request. That has changed to load automatically (but will only do so if a TR1 impl is set as described above). CVC has also been marked as requiring TR1. (ECDSA/ECDH are not, since they do not use tr1 shared_ptr directly) Update and cleanup help output. Do not print the list of modules in --help anymore (too long); you can still get the list (in an easier to parse format) --module-info. Reorganize the help text so the more useful options are described closer to the top. Fix the --with-endian and --with-unaligned-mem options: they were being accepted but ignored.
* Rename the TR1 choice macros to BOTAN_USE_STD_TR1 and BOTAN_USE_BOOST_TR1.lloyd2008-10-123-36/+45
| | | | | | | | If neither is defined when build.h is included, choose Boost. Reorganize build.h so it is easier to find things, in particular move all of the interesting toggles to the top of the file and all of the long lists of modules and feature test macros to the end.
* Return const references instead of copies in GFpModulus where possiblelloyd2008-10-121-4/+4
|
* Modify CurveGFp::get_{a,b} to return a const reference instead of a copylloyd2008-10-122-5/+5
|
* Add an implementation of bswap for Visual C++ in x86 inline asm,lloyd2008-10-121-0/+9
| | | | written by Yves Jerschow (sent to me in a personal email 2007-10-23).
* Decruftlloyd2008-10-121-36/+27
|
* Move InSiTo's ECDSA tests into the main test suitelloyd2008-10-121-10/+0
|
* Move ECDSA_Signature into CVC module. It is not used by ECDSA directly now.lloyd2008-10-1111-187/+204
| | | | Change several ECC functions to return const references instead of const values.
* Enable throwing of Illegal_Point in check_invariantslloyd2008-10-111-2/+2
|
* Default to using SHA-1 with ECDSA in X.509 signatureslloyd2008-10-111-0/+5
|
* Fix ECDSA/SHA-160 OID entrylloyd2008-10-111-1/+1
|
* Disable the implementation of word_add in mp_ia32 for the same reasonlloyd2008-10-111-0/+8
| | | | | as the version in mp_amd64. Presumably they both need the same constraint added for them to work correclty.
* Add more ECC domain parameter sets from InSiTolloyd2008-10-111-10/+295
|
* Missing tr1 inclusion in freestore.hlloyd2008-10-111-0/+8
|
* Default to using Boost's TR1. There seems to be a bug in the GCC 4.3.2lloyd2008-10-111-2/+2
| | | | | implementation of shared_ptr on x86 that causes memory corruption; default to Boost to avoid this.
* Add comment attributing source for ECDSA OIDlloyd2008-10-111-2/+2
|
* Add OIDs for ECDSA with SHA-2 from draft-ietf-pkix-sha2-dsa-ecdsa-04.txtlloyd2008-10-111-6/+17
|
* Add OIDs for ECDSA and ECDSA with EMSA1_BSI padding from InSiTolloyd2008-10-111-0/+7
|
* Remove last use of freestore.h from gfpmath, move it to CVC code which stilllloyd2008-10-116-15/+14
| | | | uses it. Include tr1 header directly in gfp_element.h
* Remove some unused code from freestore.h, including the code that broughlloyd2008-10-111-166/+4
| | | | | in the Boost dependency. So Botan is now back to just requiring TR1 shared_ptr (I think).
* Change GFpElement's scalar multiplication operators to take a u64bit insteadlloyd2008-10-112-28/+25
| | | | of u32bit. Some minor format cleanup.
* 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.
* Add a version for x86-64 in mp_asm64, though it is disabled by defaultlloyd2008-10-112-0/+8
| | | | | | because the dependency handling/module picker gets confused otherwise. This allows building a mostly C++ version with 64-bit words with only a very small amount of inline asm (which is good for debugging the asm).
* Modify botan-config so --libs does not use -L if the prefix is /usr orlloyd2008-10-111-1/+6
| | | | /usr/local (same as -I)
* Rename SHA-{384,512} base class SHA_64_BASE to SHA_384_512_BASE. Rename ↵lloyd2008-10-104-22/+23
| | | | SHA_224256_BASE SHA_224_256_BASE
* Some small changes to GFpElement, including accepting u64bit insteadlloyd2008-10-092-30/+28
| | | | | | | 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.
* Add BOTAN_DLL macro to public class definitions that were missing it.lloyd2008-10-0939-61/+61
|
* Cleanup of gfp_element.cpplloyd2008-10-091-21/+29
|
* Clean up GF(p) implementation codelloyd2008-10-095-92/+99
|
* Fix copyright noticeslloyd2008-10-093-4/+6
|
* Move DESX into desx.h and desx.cpplloyd2008-10-087-201/+261
| | | | Clean up DES implementation internals.
* Keep gfpmath disabled unless requested due to tr1 deplloyd2008-10-081-1/+1
|
* Replace uses of global_config with arguments to functionslloyd2008-10-082-10/+21
|
* More compilation fixes for CVC codelloyd2008-10-082-4/+12
|
* Fix further compilation errors. However some functionality is disabled sincelloyd2008-10-083-34/+64
| | | | ECDSA keys do not support the EAC serialization mechanism yet.
* Many improvements towards getting the CVC implementation from InSiTolloyd2008-10-0816-662/+1446
| | | | | compiling against mainline. Add several missing classes extracted from other files inside InSiTo. Add dependency note for ecdsa and asn1
* Add Card Verifiable Certificates from InSiTo (does not built due to missing ↵lloyd2008-10-0814-0/+1409
| | | | parts, not included in build by default)
* Add BSI variant of EMSA1, from InSiTolloyd2008-10-086-1/+86
|
* Add missing includelloyd2008-10-081-0/+1
|
* Avoid a memory leak if lookup of a component algorithm of Lion cannot belloyd2008-10-081-2/+9
| | | | found by using auto_ptr
* Correct Lion constructor (would access unset pointer)lloyd2008-10-081-3/+6
|