aboutsummaryrefslogtreecommitdiffstats
path: root/modules/es_unix/es_unix.cpp
Commit message (Collapse)AuthorAgeFilesLines
* This is the first checkin to net.randombit.botan.modularized, whichlloyd2008-09-281-112/+0
| | | | | | | | | | | | | | | | | | | | has the intent of modularizing Botan's source code, and making it much easier to add or remove various things at compile time. In this first checkin: Add support for nested directories in modules/ and move all the modules into grouped directories like entropy/ or compression/ Currently this is not ideal, it will _only_ find code in modules/*/*/modinfo.txt, while it would be much better to allow for arbitrary nestings under modules (find modules -name modinfo.txt) for more complicated setups. This 'new' (OMG I've found directories!) structure allows for a more free naming convention (no need for leading es_, ml_, etc to group names, though some keep it for lack of a more meaningful name being obvious to me right at the moment).
* Remove unnecessary inclusion of botan/config.h in several moduleslloyd2008-06-301-1/+0
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-04-101-2/+0
|\ | | | | | | | | | | 6afe2db1f710f75bc27e189bb8bdb23613ce1ca3) to branch 'net.randombit.botan.remove-libstate' (head e40f0dbdfd847024c30fa0092c2acefc19a550b8)
| * In Botan, the Timer base class provides access to a high-resolutionlloyd2008-04-071-2/+0
| | | | | | | | | | | | | | | | | | | | | | 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.
* | Remove severa global configuration variables related to entropy gathering,lloyd2008-04-101-3/+2
| | | | | | | | 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)
* 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.
* Fix compilation with GCC 3.2 - it doesn't like the :: namespace specificationlloyd2008-02-121-1/+1
| | | | for struct stat
* Qualify (some) calls to functions in the global namespace using anlloyd2007-12-241-13/+13
| | | | | | explicit :: (it is unfortunate that there is no good way to detect all of such calls in an automated manner). Also use new-style casts in parts of the zlib code.
* Don't hard code any directories to search for programs into es_unix.lloyd2007-10-191-6/+1
| | | | | | | All are now specified through the config. The new default is just /bin, /sbin, /usr/bin, and /usr/sbin. Formerly /usr/ucb, /usr/etc, and /etc were also searched. If you want this behavior again you have to explicitly set the rng/unix_path configuration setting.
* Add stats of '/', '/tmp', '.', and '..' to the es_unix fast poll.lloyd2007-10-191-1/+12
| | | | Use u32bit instead of uint32_t
* New implementation of fast polling in es_unix. Instead of executinglloyd2007-10-191-38/+42
| | | | | | programs, the fast poll will just call a handful of simple Unix/POSIX functions like getpid, getuid, getrusage, etc. Identifying further useful sources would probably be helpful.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Access the global configuration through an object reference insteadlloyd2006-07-011-1/+1
| | | | | of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state.
* Yet more conf.h -> config.h changeslloyd2006-07-011-1/+1
|
* Was missing an include for <algorithm>, needed for using std::sort;lloyd2006-06-231-0/+1
| | | | most compilers didn't mind but gcc 2.95 on Linux/alpha complained.
* Initial checkin1.5.6lloyd2006-05-181-0/+105