aboutsummaryrefslogtreecommitdiffstats
path: root/src/def_alg.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modularize RNG implementationslloyd2008-09-281-148/+148
|
* Modularize CMAC and HMAClloyd2008-09-281-2/+13
|
* Modularize KDFs, PBKDFs, and PRFslloyd2008-09-281-4/+22
|
* Modularize EMSAlloyd2008-09-281-10/+14
|
* Modularize SSLv3 MAC and X9.19 MACs. Fix some feature macro inconsistencies.lloyd2008-09-281-3/+15
|
* Modularize hashes and checksumslloyd2008-09-281-14/+92
|
* Modularize all cipherslloyd2008-09-281-29/+186
|
* Modularize the Adler32 checksum in checksums/adler32lloyd2008-09-281-1/+7
| | | | | | | | | 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)
* Add back from Ajisai 0.5.0 the implementations of the SSLv3 MAC and PRFlloyd2008-09-271-0/+2
| | | | | | | | | | | and the TLS v1.0 PRF. These were removed from Botan in v1.4.5. Initially I had felt that since these protocols were specific to SSL/TLS they should be placed in Ajisai (an SSL/TLS library based on Botan). However upon further reflection I have realized it is quite possible that other alternate implementations of SSL/TLS based on Botan would be quite desirable, and so to make that (a very slightly bit) easier I am adding back the SSL/TLS functions to Botan, so other SSL/TLS libs can use them directly.
* Change the constructor for LubyRackoff. Previously it took a string,lloyd2008-09-151-1/+7
| | | | | | | | | | | | | | | | | however now instead it takes a HashFunction pointer, which it deletes in its destructor. Why the change? For one, lookup.h, while seemingly a bunch of standalone functions, actually calls into a large mass of global state (in short, it is icky). I have a plan in mind for removing much of this while still providing a high level interface (actually hopefully better than now), here is just the start. Now, calling clone() on a LubyRackoff object will now return a new object with a clone() of the HashFunction. Previously we called get_hash on the name, which goes through the whole global lookup bit. This is also good since if you construct one with (say) an OpenSSL provided hash, clones of it will now also use that implementation.
* Add implementation of Salsa20 stream cipherlloyd2008-09-091-0/+2
|
* Add the block cipher Noekeon (http://gro.noekeon.org/). Only "indirect mode"lloyd2008-07-111-0/+2
| | | | keying is supported (see section 2.3 of the specification for details)
* Remove the free-standing function deref_alias. It only served as a forwarderlloyd2008-06-301-7/+7
| | | | | | for the implementation in Library_State. Instead explicitly call deref_alias on global_state() wherever the old freestanding version was used. This serves to make (more) uses of the global state explicit rather than implicit.
* 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.
* Check in an initial implementation of CBC-MAC.lloyd2007-09-161-0/+2
| | | | | | | The test vectors were generated by Crypto++ 5.5 on a Linux/x86-64 machine. Test vectors for CBC-MAC(DES) all pass, for inputs up to 63 bytes. For CBC-MAC(AES-128), all test vectors with inputs over 10 bytes fail to verify against what Crypto++ produces. Unknown at this time where the bug lies.
* Bump copyright year to 2007lloyd2007-01-201-1/+1
|
* Use .empty() instead of comparing .size() to 0 in a few cases, andlloyd2006-05-271-6/+6
| | | | | reorder an if statement for better readability.
* Initial checkin1.5.6lloyd2006-05-181-0/+267