Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | load_on request, not load_on required (though it had the same effect) | lloyd | 2008-09-29 | 2 | -2/+2 |
| | |||||
* | Add deps on bigint, math modules in PK algos | lloyd | 2008-09-29 | 6 | -0/+12 |
| | |||||
* | Put only the implementation of BigInt in src/bigint, mathematical functions | lloyd | 2008-09-29 | 30 | -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, | lloyd | 2008-09-29 | 33 | -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 ↵ | lloyd | 2008-09-29 | 1 | -0/+1 |
|\ | | | | | | | | | | | ca7d7fc1ae6b55c5328c9cf1ec1cafd1daadedd4) to branch 'net.randombit.botan.modularized' (head 614263a9742a0c554e4093620147f6e156264d41) | ||||
* | | Move x509 into cert/ subdir (in prep for InSiTo adding cert/cvc) | lloyd | 2008-09-29 | 24 | -0/+0 |
| | | |||||
* | | Add info.txt files for asm hash modules | lloyd | 2008-09-29 | 4 | -0/+101 |
| | | |||||
* | | Normalize asm names | lloyd | 2008-09-29 | 7 | -13/+13 |
| | | |||||
* | | Expose use of global state in some of the lookup functions, including | lloyd | 2008-09-29 | 7 | -77/+108 |
| | | | | | | | | get_cipher | ||||
* | | Add missing info.txt for generic mp_asm.h | lloyd | 2008-09-29 | 1 | -0/+8 |
| | | |||||
* | | Rename all modinfo.txt files to info.txt, since they are all (none) of | lloyd | 2008-09-29 | 128 | -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? This | lloyd | 2008-09-29 | 1 | -1/+1 |
| | | | | | | | | could get tedious) | ||||
* | | Rename for clarity (at least a little bit) | lloyd | 2008-09-29 | 1 | -0/+0 |
| | | |||||
* | | Remove more dependencies on the global state object. | lloyd | 2008-09-29 | 10 | -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 STRING | lloyd | 2008-09-29 | 2 | -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 grabbing | lloyd | 2008-09-29 | 7 | -10/+15 |
| | | | | | | | | one via a reference to the global state. | ||||
* | | Start fixing up for full asm support again | lloyd | 2008-09-29 | 6 | -12/+9 |
| | | |||||
* | | Move mp_mulop.cpp (source file) to asm_amd64 | lloyd | 2008-09-29 | 1 | -0/+0 |
| | | |||||
* | | Move x86-64 asm bswap impl to utils, as bswap_amd64.h | lloyd | 2008-09-29 | 1 | -0/+0 |
| | | |||||
* | | Move fd_unix from io to filters | lloyd | 2008-09-29 | 3 | -0/+0 |
| | | |||||
* | | Add deps, missing includes, etc | lloyd | 2008-09-29 | 5 | -6/+9 |
| | | |||||
* | | Add mlock.cpp to utils modinfo listing | lloyd | 2008-09-29 | 1 | -0/+1 |
| | | |||||
* | | Fix modinfo files | lloyd | 2008-09-29 | 2 | -2/+1 |
| | | |||||
* | | Move mlock to utils, as decled in util.h | lloyd | 2008-09-29 | 1 | -0/+0 |
| | | |||||
* | | Add the missing modinfo.txt | lloyd | 2008-09-29 | 1 | -0/+33 |
| | | |||||
* | | Move parts of core into pk/pubkey which is at least somewhat relevant | lloyd | 2008-09-29 | 29 | -27/+15 |
| | | |||||
* | | Add modinfo for keypair and core modules | lloyd | 2008-09-29 | 2 | -0/+91 |
| | | |||||
* | | Move what is left of the uncategorized library to 'core'. There is still | lloyd | 2008-09-29 | 74 | -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 modules | lloyd | 2008-09-29 | 7 | -0/+59 |
| | | |||||
* | | Move charset.cpp to utils with header | lloyd | 2008-09-29 | 2 | -0/+1 |
| | | |||||
* | | More headers (loadstore, mem_ops, rotate, types) for util module | lloyd | 2008-09-28 | 5 | -0/+380 |
| | | |||||
* | | Move mode padding schemes to modes/mode_pad module | lloyd | 2008-09-28 | 4 | -2/+95 |
| | | |||||
* | | Move stl_util and (forgotten again) modinfo.txt to utils module | lloyd | 2008-09-28 | 2 | -0/+103 |
| | | |||||
* | | Move parsing.{h,cpp} to utils module | lloyd | 2008-09-28 | 2 | -0/+39 |
| | | |||||
* | | Move util functions into utils/ module | lloyd | 2008-09-28 | 8 | -0/+297 |
| | | |||||
* | | Add deps to x509 module | lloyd | 2008-09-28 | 1 | -0/+5 |
| | | |||||
* | | Add missing modinfo for modebase module | lloyd | 2008-09-28 | 1 | -0/+14 |
| | | |||||
* | | Move get_pbe into lookup.h to avoid cyclical dependency | lloyd | 2008-09-28 | 7 | -2/+48 |
| | | |||||
* | | Add modebase module (and add dep in cipher mode impls). Move data_snk.cpp to ↵ | lloyd | 2008-09-28 | 11 | -0/+72 |
| | | | | | | | | filters | ||||
* | | Move Default_Mutex (now Noop_Mutex) into module | lloyd | 2008-09-28 | 5 | -31/+58 |
| | | |||||
* | | Move allocator code to secalloc/allocators module | lloyd | 2008-09-28 | 11 | -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) | lloyd | 2008-09-28 | 24 | -0/+520 |
| | | |||||
* | | Move buf_es into module, add deps where needed | lloyd | 2008-09-28 | 6 | -0/+55 |
| | | |||||
* | | Move def_powm.cpp from core to bigint | lloyd | 2008-09-28 | 2 | -0/+1 |
| | | |||||
* | | Add modinfo for pem, hash_id, selftest modules | lloyd | 2008-09-28 | 3 | -0/+48 |
| | | |||||
* | | Move startup selftest into module | lloyd | 2008-09-28 | 3 | -1/+26 |
| | | |||||
* | | BigInt uses hex module | lloyd | 2008-09-28 | 1 | -0/+4 |
| | | |||||
* | | PEM codec module | lloyd | 2008-09-28 | 4 | -0/+37 |
| | | |||||
* | | Add primes.cpp to build in modinfo.txt | lloyd | 2008-09-28 | 1 | -3/+4 |
| | | |||||
* | | Move primes.cpp to bigint/ | lloyd | 2008-09-28 | 1 | -0/+0 |
| | |