aboutsummaryrefslogtreecommitdiffstats
path: root/src/modules.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modularize the Adler32 checksum in checksums/adler32lloyd2008-09-281-13/+13
| | | | | | | | | Add a new option --disable-modules which allows for disabling any set of modules that normally would be autoloaded. Rename the Botan feature test macros from BOTAN_EXT_BLAH to BOTAN_HAS_BLAH, which will be much more sensible especially when everything is done in this fashion (eg, BOTAN_HAS_BLOWFISH or BOTAN_HAS_RSA, etc)
* New structure for entropy sources + RNGs. The entropy sources are owned bylloyd2008-06-271-97/+1
| | | | | | | Randpool, it will query them as needed (or if asked to do so). New function make_rng() that creates an RNG (X9.31 backed by a Randpool) and seeds it. Remove the entropy source related code from the Modules/Builtin_Modules classes.
* Remove the hooks for the AEP module, since it was removed due to lack oflloyd2008-06-221-16/+0
| | | | | | testability (have a card still, but the drivers are for 2.4 kernel and seemingly not 64-bit or thread safe, so it's pretty much a paperweight right now).
* The FTW_EntropySource constructor no longer takes a default argument:lloyd2008-06-171-1/+1
| | | | specify it when we instantiate one in Builtin_Modules
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-04-121-27/+12
|\ | | | | | | | | | | bcae6a19d8d96ebde33c832c76a130ea02bc923a) to branch 'net.randombit.botan.remove-libstate' (head f640991b6e433a264f5d22a08338cfc9c24c82da)
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2008-04-101-27/+12
| |\ | | | | | | | | | | | | | | | 6afe2db1f710f75bc27e189bb8bdb23613ce1ca3) to branch 'net.randombit.botan.remove-libstate' (head e40f0dbdfd847024c30fa0092c2acefc19a550b8)
| | * Remove Charset_Transcoder; hardwire UTF-8/Latin-1 conversions into charset.cpplloyd2008-04-071-9/+0
| | |
| | * In Botan, the Timer base class provides access to a high-resolutionlloyd2008-04-071-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | timer with an unspecified update rate and epoch. It is only used inside the entropy sources to provide some timing-dependent randomness. However, it is easier and basically 'as good' to treat the timers as entropy sources in their own right and feed their output directly into an entropy pool. This commit removes Library_State::system_clock and all calls to that function.
* | | Wrap lines to 80 columnslloyd2008-04-101-3/+10
|/ /
* | Remove severa global configuration variables related to entropy gathering,lloyd2008-04-101-3/+5
| | | | | | | | instead passing those values as arguments.
* | Change the copyrights in all files in the Botan tree to directly reflectlloyd2008-04-101-1/+1
|/ | | | | | the actual copyright holders. For rationale, see my post to botan-devel on April 9, subject 'Changing license to directly reflect contributors' (http://www.randombit.net/pipermail/botan-devel/2008-April/000527.html)
* Mostly revert 2f4fd18182d5a75c40cd831e7ee3c314be5c57d6, only keep thelloyd2008-03-101-1/+1
| | | | | updated dates on files that have actually changed this year. This makes the diff across versions readable again.
* Mass update of the copyright date. Honestly I don't know why I bother,lloyd2008-02-141-1/+1
| | | | | | | but might as well keep it up to date. And it's easier to do it once with a 'perl -pi' command than to update each file over time. Apologies to anyone looking at diffs.
* Drop es_file: replaced by es_devlloyd2007-11-171-3/+0
|
* Add a hook for the es_dev module in Builtin_Moduleslloyd2007-11-171-0/+8
|
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Fix compile problem when no timer modules are compiled inlloyd2006-08-121-0/+1
|
* The use_engines flag was not being respected; specifically, if therelloyd2006-08-051-4/+8
| | | | were any engines built into the library, they were used no matter what.
* Change Builtin_Module constructor to take an InitializerOptionslloyd2006-07-281-0/+8
| | | | | | | | instead of just a boolean, so it can (if desired) examine any arguments it likes. Only run the startup self tests if the selftest or fips140 option is toggled on.
* Let modules override the transcoder object (since system libslloyd2006-07-011-0/+9
| | | | like iconv may be useful there...)
* Access the global configuration through an object reference insteadlloyd2006-07-011-1/+0
| | | | | of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state.
* Clean up initialization a little bit morelloyd2006-07-011-25/+48
|
* Various changes to how library initialization occurs, though I'm stilllloyd2006-06-261-75/+25
| | | | not completely happy with it.
* Change how builtin modules are loaded - provide an interface to alloyd2006-06-251-10/+58
| | | | | factory class. Currently hardcoded (Builtin_Modules, instantiated in init_def.cpp), but this will allow for some flexibility later on.
* Have allocator objects 'know' their own names, rather than keeping themlloyd2006-06-251-3/+3
| | | | around as ancillary strings.
* Initial checkin1.5.6lloyd2006-05-181-0/+187