aboutsummaryrefslogtreecommitdiffstats
path: root/checks/dolook.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Use size_t in filterslloyd2010-10-121-4/+4
| | | | | This breaks API for anyone creating their own Filter types, but it had to happen eventually.
* Update all uses of MemoryRegion::append to use either push_back or operator+=lloyd2010-09-151-1/+3
|
* Remove more uses of vector to pointer implicit conversionslloyd2010-09-131-6/+2
|
* Use the standalone version of the hex decoder instead of the wrapper thatlloyd2010-09-031-4/+4
| | | | previously existed in misc.cpp that emulated it via a pipe and filter.
* Rename S2K to PBKDF, because that is by far the most common name - S2Klloyd2010-07-091-17/+18
| | | | | | | | | | | | | really is only used by OpenPGP, and largely it was named S2K here because the OpenPGP S2K was implemented years before the ones in PKCS #5. We have a typedef of PBKDF to S2K, and an inlined get_s2k that calls get_pbkdf for source compatability. There doesn't seem to be any reason to have a forward for the renamed s2k.h header - to actually use a PBKDF, you'd have to either include lookup.h and call get_s2k / get_pbkdf, or else include an algorithm-specific header and use it directly. In either case, including s2k.h is neither necessary nor sufficient.
* Give all Filter objects a method for querying their namelloyd2010-06-281-1/+9
|
* Reduce deps slightly in selftest codelloyd2010-03-031-4/+17
|
* Modify the S2K interface. Instead of being stateful in terms of the saltlloyd2010-02-011-3/+3
| | | | | | | | | | | and iteration count, force it to be passed to each call to derive_key. So remove current_salt, set_iterations, new_random_salt, and change_salt functions from S2K interface. Update examples and test application to match. While I was in there, change the passhash example to use 64 bit salts and 128 bit PBKDF2 outputs.
* Add copyright and license notes to pretty much every file that didn't have them,lloyd2009-12-311-0/+6
| | | | | | | | including the examples and self-test code. Most of these files had not copyright/license information at all; since a major point of the examples is to allow users to copy and paste code that already does something they want, an ambigious license is not good.
* Use the new selftest framework for testing hashes, MACs, and ciphers.lloyd2009-10-071-51/+200
| | | | | | Remove the Decrypt direction cipher mode tests - now both directions are always tested for all modes. Also add IVs for Salsa20 (were implicit all-zeros) since that does not fly anymore in validate.dat
* Revert part of revision b87599ffaee2d8ed2ec7597634413e73e4fb2fd8 thatlloyd2008-10-021-2/+2
| | | | | | | | added a new mandatory parameter of a Library_State& to get_cipher(). Do this so Monotone does not have to special case. Other lookup related functions like retrieve_<type> and add_algorithm() still require a Library_State& however.
* Expose use of global state in some of the lookup functions, includinglloyd2008-09-291-2/+3
| | | | get_cipher
* Modularize the Adler32 checksum in checksums/adler32lloyd2008-09-281-6/+6
| | | | | | | | | 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)
* Fix more -Wmissing-declaration warningslloyd2008-06-181-10/+1
|
* Add a full set of tests for the ANSI X9.31 PRNG, using data takenlloyd2008-06-071-2/+2
| | | | | | | | from the NIST CAVS dataset, taken on June 7 2008 from http://csrc.nist.gov/groups/STM/cavp/standards.html AES-128, AES-192, AES-256, and 2 and 3-key TripleDES variants are all tested.
* Remove the public domain notices from the self-test/benchmark code,lloyd2006-08-091-2/+0
| | | | because it turns out to be something of a legal minefield.
* Initial checkin1.5.6lloyd2006-05-181-0/+140