aboutsummaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Make asm implementations distinctly named objects, for instance MD5_IA32,lloyd2008-09-2933-168/+448
| | | | | | | | | | | | | | | | | | | 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-291-0/+1
|\ | | | | | | | | | | ca7d7fc1ae6b55c5328c9cf1ec1cafd1daadedd4) to branch 'net.randombit.botan.modularized' (head 614263a9742a0c554e4093620147f6e156264d41)
* | Move x509 into cert/ subdir (in prep for InSiTo adding cert/cvc)lloyd2008-09-2924-0/+0
| |
* | Add info.txt files for asm hash moduleslloyd2008-09-294-0/+101
| |
* | Normalize asm nameslloyd2008-09-297-13/+13
| |
* | Expose use of global state in some of the lookup functions, includinglloyd2008-09-297-77/+108
| | | | | | | | get_cipher
* | Add missing info.txt for generic mp_asm.hlloyd2008-09-291-0/+8
| |
* | Rename all modinfo.txt files to info.txt, since they are all (none) oflloyd2008-09-29128-0/+0
| | | | | | | | | | them modules now. In any case there is no distinction so info.txt seems better.
* | Update modinfo with renamed filename (maybe add wildcarding support? Thislloyd2008-09-291-1/+1
| | | | | | | | could get tedious)
* | Rename for clarity (at least a little bit)lloyd2008-09-291-0/+0
| |
* | Remove more dependencies on the global state object.lloyd2008-09-2910-57/+34
| | | | | | | | | | | | | | New argument to X509_CRL constructor, a boolean that specifies if an exception should be thrown upon encountering an unknown extension type marked as critical. Previously this was controlled globally via the x509/crl/unknown_critical policy flag.
* | Hardcode use of Latin1 encoding if an encoding using ASN.1 DIRECTORY STRINGlloyd2008-09-292-6/+2
| | | | | | | | | | | | | | | | is encountered and the charaters will not fit into PRINTABLE STRING. Previously was toggle-able between Latin1 and UTF-8 via policy config. However does not seem worth the depencencies especially as AFAIK nobody has ever touched this setting. If its functionality turns out to be needed then something can be arranged later on.
* | Pass a Mutex* as an argument to Pooling_Allocator instead of it grabbinglloyd2008-09-297-10/+15
| | | | | | | | one via a reference to the global state.
* | Start fixing up for full asm support againlloyd2008-09-296-12/+9
| |
* | Move mp_mulop.cpp (source file) to asm_amd64lloyd2008-09-291-0/+0
| |
* | Move x86-64 asm bswap impl to utils, as bswap_amd64.hlloyd2008-09-291-0/+0
| |
* | Move fd_unix from io to filterslloyd2008-09-293-0/+0
| |
* | Add deps, missing includes, etclloyd2008-09-295-6/+9
| |
* | Add mlock.cpp to utils modinfo listinglloyd2008-09-291-0/+1
| |
* | Fix modinfo fileslloyd2008-09-292-2/+1
| |
* | Move mlock to utils, as decled in util.hlloyd2008-09-291-0/+0
| |
* | Add the missing modinfo.txtlloyd2008-09-291-0/+33
| |
* | Move parts of core into pk/pubkey which is at least somewhat relevantlloyd2008-09-2929-27/+15
| |
* | Add modinfo for keypair and core moduleslloyd2008-09-292-0/+91
| |
* | Move what is left of the uncategorized library to 'core'. There is stilllloyd2008-09-2974-0/+2207
| | | | | | | | | | a lot of public key stuff in here that needs to be extracted however, and probably 2-3 other modules worth of stuff to split off (engines, etc)
* | Move timer base class into a module, add dep from other timer moduleslloyd2008-09-297-0/+59
| |
* | Move charset.cpp to utils with headerlloyd2008-09-292-0/+1
| |
* | More headers (loadstore, mem_ops, rotate, types) for util modulelloyd2008-09-285-0/+380
| |
* | Move mode padding schemes to modes/mode_pad modulelloyd2008-09-284-2/+95
| |
* | Move stl_util and (forgotten again) modinfo.txt to utils modulelloyd2008-09-282-0/+103
| |
* | Move parsing.{h,cpp} to utils modulelloyd2008-09-282-0/+39
| |
* | Move util functions into utils/ modulelloyd2008-09-288-0/+297
| |
* | Add deps to x509 modulelloyd2008-09-281-0/+5
| |
* | Add missing modinfo for modebase modulelloyd2008-09-281-0/+14
| |
* | Move get_pbe into lookup.h to avoid cyclical dependencylloyd2008-09-287-2/+48
| |
* | Add modebase module (and add dep in cipher mode impls). Move data_snk.cpp to ↵lloyd2008-09-2811-0/+72
| | | | | | | | filters
* | Move Default_Mutex (now Noop_Mutex) into modulelloyd2008-09-285-31/+58
| |
* | Move allocator code to secalloc/allocators modulelloyd2008-09-2811-1/+426
| | | | | | | | Move paralle hash construction to par_hash module in hash directory
* | New filters module. Add deps for it in some needed areas (codec, pbes)lloyd2008-09-2824-0/+520
| |
* | Move buf_es into module, add deps where neededlloyd2008-09-286-0/+55
| |
* | Move def_powm.cpp from core to bigintlloyd2008-09-282-0/+1
| |
* | Add modinfo for pem, hash_id, selftest moduleslloyd2008-09-283-0/+48
| |
* | Move startup selftest into modulelloyd2008-09-283-1/+26
| |
* | BigInt uses hex modulelloyd2008-09-281-0/+4
| |
* | PEM codec modulelloyd2008-09-284-0/+37
| |
* | Add primes.cpp to build in modinfo.txtlloyd2008-09-281-3/+4
| |
* | Move primes.cpp to bigint/lloyd2008-09-281-0/+0
| |
* | Move hash_id into modulelloyd2008-09-284-0/+30
| |
* | Put OpenPGP codec routines into codec/openpgp modulelloyd2008-09-283-0/+40
| |
* | Move all BigInt stuff into bigint/. Currently all asm modules are disabled;lloyd2008-09-2847-73/+1008
| | | | | | | | | | | | | | | | | | configure.pl doesn't understand how to handle this yet (replace logic only understands stuff in src, not how one module can replace another modules src, or anything about prioritizing). Move some hex and base64 stuff out of charset.cpp and into their codec directories.