aboutsummaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Update CMS to at least compile (though in a couple of cases by justlloyd2008-09-303-16/+24
| | | | | #ifdef'ing out code); it still needs a good bit of work and has not been tested at all.
* Many updates for the CMS code to bring up to date with current APIlloyd2008-09-303-43/+72
|
* Remove needless optionslloyd2008-09-301-8/+2
|
* Remove noisy print statementlloyd2008-09-301-1/+0
|
* If a module specifies <module_name>:<file> in its <add> block, includelloyd2008-09-303-4/+20
| | | | | | that file from another module (without loading it). This was needed since mp_asm64 and mp_ia32_msvc do not implement both mp_asm.h and mp_asmi.h like the other mp_ modules - instead they pull the mp_generic version in.
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-09-301-2/+2
|\ | | | | | | | | | | cac1d5844682545625a478a31c503e5d6a8f7845) to branch 'net.randombit.botan.modularized' (head ba38f37ccb4ad93becf3c27c321b09d99846f95a)
| * Correct declaration of Memory_Exhaustion::what to be const and throw(),lloyd2008-09-301-2/+2
| | | | | | | | to match std::exception
* | Fix mp_asm64's info.txtlloyd2008-09-301-4/+4
| |
* | Enable MSVC x86 asmlloyd2008-09-301-1/+1
| |
* | Also display non-enabled modules in configure outputlloyd2008-09-301-8/+20
| |
* | Rewrite part of the module loading code in configure.pl, now dependencieslloyd2008-09-3012-149/+133
| | | | | | | | | | | | seem to be handled correctly (er, at least mostly), and more importantly the asm MPI modules are detected and used correctly (at least on x86-64 and x86).
* | Pentium-M also has RDTSClloyd2008-09-301-1/+1
| |
* | Add dep on timer_base in corelloyd2008-09-301-0/+1
| |
* | Remove unneeded include of timers.hlloyd2008-09-301-1/+0
| |
* | Start trying to get asm BigInt working. Currently does not. Just checkinglloyd2008-09-2911-89/+152
| | | | | | | | | | | | this in and sync'ing before I take a break. However the info.txts are now cleaned up and more or less accurate now. But configure.pl is not tracking dependencies properly.
* | Escape newline in macrolloyd2008-09-291-2/+2
| |
* | Set a preprocessor flag if we think the compiler supports GCC-stylelloyd2008-09-292-2/+12
| | | | | | | | | | | | | | | | inline asm (currently, if __GNUG__ is defined, which works with both GNU C++ and Intel C++, which are the only two compilers I know of that accept GCC's inline asm syntax). Use that in bswap.h - previously we would try to use inline asm even with VC++ or other compilers not supporting inline asm.
* | Cleanuplloyd2008-09-291-2/+1
| |
* | Drop empty directorieslloyd2008-09-290-0/+0
| |
* | Use bswapl on 32-bit x86 as welllloyd2008-09-291-1/+1
| |
* | Merge the 3 mlocks (ml_unix, ml_win32, stub mlock.cpp) into a single mlock.cpplloyd2008-09-2912-119/+71
| | | | | | | | | | | | in utils. Support OS feature macros, eg BOTAN_TARGET_OS_HAS_POSIX_MLOCK (how very autoconf)
* | Fix build.h modules listlloyd2008-09-291-1/+1
| |
* | Directly inline x86-64 asm into bswap.hlloyd2008-09-292-38/+12
| |
* | Derive x86, x86-64, and SSE2 implementations of SHA-1 directly from SHA_160lloyd2008-09-2911-106/+27
| |
* | Derive the x86 assembly implementations of MD4, MD5, and Serpent fromlloyd2008-09-299-74/+10
| | | | | | | | | | | | | | | | | | | | the normal Botan base classes. This required making data members of MD4, MD5, and Serpent protected rather than private, which is not very good style IMO. On the other hand it allows for removing a bit of duplicated code, and also has the nice effect that a pointer to a Serpent_IA32 can be used right as a Serpent object, which makes sense anyway since they implement the same algorithm. The C++ files in the *_ia32 modules are now simply hooks between the virtual function call runtime and the assembly code.
* | Reorg BigInt asm moduleslloyd2008-09-296-0/+0
| |
* | Remove the misc dir:lloyd2008-09-29579-1/+3
| | | | | | | | | | | | | | | | | | | | Moved XS, Boost Python, and SWIG wrappers to new toplevel directory 'wrappers' Moved NIST X.509 test suite into checks directory Move the build information used by configure.pl to src/build-data Move scripts directory to doc (for lack of a better spot)
* | Move gtk+ example to doc/exampleslloyd2008-09-295-0/+0
| |
* | In build_cmds, push onto a list and join the strings at the endlloyd2008-09-291-6/+5
| |
* | Add missing fileslloyd2008-09-292-0/+80
| |
* | Updates to Boost.Python wrapper for 1.7.14. RSA disabled, needs RNGlloyd2008-09-295-3/+28
| |
* | Move KDF, EME, and EMSA base classes from pubkey to core to remove alloyd2008-09-2924-125/+81
| | | | | | | | false dependency on BigInt in the KDF/padding code.
* | Better dependency handlinglloyd2008-09-298-30/+47
| |
* | Add missing divide.hlloyd2008-09-291-0/+17
| |
* | Fix display of loaded moduleslloyd2008-09-291-5/+9
| |
* | Fix loading issueslloyd2008-09-295-2/+8
| |
* | Quieterlloyd2008-09-291-1/+1
| |
* | load_on request, not load_on required (though it had the same effect)lloyd2008-09-292-2/+2
| |
* | Don't load deps of a module that we won't loadlloyd2008-09-291-6/+6
| |
* | Version bump to 1.7.14lloyd2008-09-291-1/+1
| |
* | Add deps on bigint, math modules in PK algoslloyd2008-09-296-0/+12
| |
* | Put only the implementation of BigInt in src/bigint, mathematical functionslloyd2008-09-2930-55/+71
| | | | | | | | | | | | | | on top of BigInt go to src/math. Some prototypes were moved in order to complete the split, in particular random_integer() is now a static member of BigInt instead of being a global function, and divide() is in divide.h instead of numthry.h
* | Make asm implementations distinctly named objects, for instance MD5_IA32,lloyd2008-09-2934-191/+485
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | rather than silently replacing the C++ versions. Instead they are silently replaced (currently, at least) at the lookup level: we switch off the set of feature macros set to choose the best implementation in the current build configuration. So you can have (and benchmark) MD5 and MD5_IA32 directly against each other in the same program with no hassles, but if you ask for "MD5", you'll get maybe an MD5 or maybe MD5_IA32. Also make the canonical asm names (which aren't guarded by C++ namespaces) of the form botan_<algo>_<arch>_<func> as in botan_sha160_ia32_compress, to avoid namespace collisions. This change has another bonus that it should in many cases be possible to derive the asm specializations directly from the original implementation, saving some code (and of course logically SHA_160_IA32 is a SHA_160, just one with a faster implementation of the compression function, so this seems reasonable anyway).
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2008-09-298-6/+14
|\| | | | | | | | | | | ca7d7fc1ae6b55c5328c9cf1ec1cafd1daadedd4) to branch 'net.randombit.botan.modularized' (head 614263a9742a0c554e4093620147f6e156264d41)
| * Link to NetSieben and Ajisai in info.txtlloyd2008-09-291-0/+5
| |
| * Let SHA-1 SSE2 module know that Pentium-M works toolloyd2008-09-281-0/+1
| |
| * Oops, continue to look in /proc/cpuinfo rather than my home dirlloyd2008-09-281-1/+1
| |
| * Add support for Pentium-M autodetection and GCC builds. Bug report bylloyd2008-09-282-1/+4
| | | | | | | | Derek Scherger
| * Default to very basic platform types for distro buildslloyd2008-09-285-6/+5
| |
* | Move x509 into cert/ subdir (in prep for InSiTo adding cert/cvc)lloyd2008-09-2924-0/+0
| |