aboutsummaryrefslogtreecommitdiffstats
path: root/include/base.h
Commit message (Collapse)AuthorAgeFilesLines
* Move what is left of the uncategorized library to 'core'. There is stilllloyd2008-09-291-146/+0
| | | | | 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)
* Add a patch sent by Tim Burris <[email protected]> adding private operator= lloyd2008-09-171-0/+3
| | | | | | | | | | | | declarations to class declarations that do not support copying (for instance because of const members). Apparently at /W4 Visual C++ warns unless this is the case, and it seems reasonably good practice to disable copying on most of these objects anyway due to pointer and reference aliasing. Instead of adding an operator= to User_Interface, I made the member preset_passphrase non-const. This seemed like a cleaner solution to me. (It may also be the cleaner solution in the pubkey code)
* Make the declaration of clear() in base classes pure virtual. So if anlloyd2008-07-181-4/+4
| | | | | | | implementation wishes to make this operation a no-op it has to explicitly declare it as such, rather than just letting the no-op default in from the base class. (Falko Strenzke was the one who pointed out this was potentially problematic.)
* Move the declaration of the RandomNumberGenerator base class from base.hlloyd2008-06-101-31/+0
| | | | to rng.h (eventually base.h will be split up entirely and go away)
* Add RandomNumberGenerator::next_byte, which just returns a single bytelloyd2008-05-251-0/+2
| | | | value from the RNG. (Would an adapter class be more appropriate?)
* Add BOTAN_DLL macro in all needed spots for working DLL export. Basedlloyd2008-04-211-8/+8
| | | | | | | | | | | | on a patch from Joel Low for MSVC, modified and tested with GCC using -fvisibility=hidden and the visibility attribute. Getting this working completely requires making the shared object and static lib builds completely distinct (which is also a win since it allows avoiding -fPIC usage, etc in the static lib). Currently too many things are being exported, though it is an improvement as internal-only code like the bigint_* functions are hidden.
* Make RandomNumberGenerator::is_seeded pure virtuallloyd2008-04-211-1/+1
|
* 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.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Remove the Algorithm class; the only members it exposed where name() andlloyd2006-09-061-20/+24
| | | | | clear(), which have been declared in the appropriate places in (former) subclasses of Algorithm
* Initial checkin1.5.6lloyd2006-05-181-0/+168