Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Split up tests by type | lloyd | 2013-12-31 | 1 | -366/+0 |
| | |||||
* | Make eax_test example (which reads LTC's EAX test file) an actual | lloyd | 2013-12-31 | 1 | -0/+1 |
| | | | | | test. Update to new AEAD api. Currently requires boost_regex (for tests only), done via hardcoding in makefile template. | ||||
* | Tests | lloyd | 2013-12-31 | 1 | -238/+14 |
| | |||||
* | Add Threefish-512 | lloyd | 2013-12-10 | 1 | -0/+1 |
| | |||||
* | Add SIV | lloyd | 2013-12-05 | 1 | -0/+1 |
| | |||||
* | Generalize file reading test runner, use it for KDF and PBKDF | lloyd | 2013-11-18 | 1 | -0/+2 |
| | |||||
* | Add HKDF | lloyd | 2013-11-17 | 1 | -0/+3 |
| | |||||
* | Report results from all providers if more than one failure | lloyd | 2013-03-27 | 1 | -3/+4 |
| | |||||
* | Working GCM. Add support for AEAD modes in self tests | lloyd | 2013-03-16 | 1 | -0/+3 |
| | |||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2013-03-16 | 1 | -0/+3 |
|\ | | | | | | | | | | | 039c91aa543bad85f227e8127ed048f9005e2fa0) to branch 'net.randombit.botan.aead-modes' (head 97d8d24b545f18084e39bf928c174c45efbb63bd) | ||||
| * | OCB decryption | lloyd | 2013-03-14 | 1 | -1/+2 |
| | | |||||
| * | Add OCB mode, currently encrypt only, and an AEAD interface | lloyd | 2013-03-14 | 1 | -0/+2 |
| | | |||||
* | | Add algorithm_kat_detailed which returns a string with info about the failure | lloyd | 2013-03-16 | 1 | -6/+6 |
|/ | |||||
* | Fix extension testing (bug 193) | lloyd | 2012-06-08 | 1 | -1/+1 |
| | |||||
* | Plain hex_decode now returns a std::vector, use hex_decode_locked to | lloyd | 2012-05-26 | 1 | -1/+1 |
| | | | | get a secure_vector. | ||||
* | Replace 0 and NULL pointer constants with nullptr. Also fix an old | lloyd | 2012-05-18 | 1 | -2/+4 |
| | | | | style cast in secmem.h | ||||
* | Fairly huge update that replaces the old secmem types with std::vector | lloyd | 2012-05-18 | 1 | -4/+4 |
| | | | | | | using a custom allocator. Currently our allocator just does new/delete with a memset before deletion, and the mmap and mlock allocators have been removed. | ||||
* | Fix various typos, and remove an unused macro in checks/bench.cpp | lloyd | 2012-04-23 | 1 | -1/+1 |
| | | | | All reported by Patrick Pelletier. | ||||
* | Some fixes for very minimal builds (typically due to --no-autoload) | lloyd | 2012-04-20 | 1 | -0/+2 |
| | |||||
* | Add a second test for bcrypt, using an 8-bit character. This test | lloyd | 2011-06-20 | 1 | -8/+13 |
| | | | | | exposed a bug in JtR's blowfish code: http://www.openwall.com/lists/john-dev/2011/06/19/2 | ||||
* | Make the alg_id param for passhash9 optional. Update callers. | lloyd | 2011-04-11 | 1 | -1/+1 |
| | |||||
* | Add support for bcrypt, the Blowfish-based password hashing scheme | lloyd | 2011-02-16 | 1 | -0/+52 |
| | | | | | used in OpenBSD. Tested as compatible with a common Java implementation (http://www.mindrot.org/projects/jBCrypt/) | ||||
* | Add the NIST AES key wrap algorithm, as specified in RFC 3394 and | lloyd | 2011-02-15 | 1 | -0/+86 |
| | | | | http://csrc.nist.gov/groups/ST/toolkit/documents/kms/key-wrap.pdf | ||||
* | More VC warning fixes | lloyd | 2010-12-13 | 1 | -4/+4 |
| | |||||
* | Remove more uses of vector to pointer implicit conversions | lloyd | 2010-09-13 | 1 | -2/+2 |
| | |||||
* | Add a basic test for cryptobox | lloyd | 2010-09-07 | 1 | -0/+46 |
| | |||||
* | Use the standalone version of the hex decoder instead of the wrapper that | lloyd | 2010-09-03 | 1 | -2/+1 |
| | | | | previously existed in misc.cpp that emulated it via a pipe and filter. | ||||
* | For passhash9, add another interface that allows the caller to specify | lloyd | 2010-08-22 | 1 | -4/+9 |
| | | | | | | | | | | | which PRF they want to use. The old interface just calls this new version with alg_id set to 0 which is HMAC(SHA-1), which was previously the only supported PRF. Assign new codepoints for HMAC(SHA-256) and CMAC(Blowfish) to allow their use with passhash9. Have the generate+check tests run a test for each supported PRF. | ||||
* | Fix some -Wmissing-declarations warnings in the test code | lloyd | 2010-03-03 | 1 | -12/+10 |
| | |||||
* | Make passhash9 tests more verbose since they are slow | lloyd | 2010-02-23 | 1 | -2/+11 |
| | |||||
* | Correct passhash9 vector for recent format changes (longer salt+PRF output, ↵ | lloyd | 2010-02-14 | 1 | -2/+3 |
| | | | | alg id) | ||||
* | Fix passhash9 test for updated API and macro name | lloyd | 2010-02-14 | 1 | -6/+6 |
| | |||||
* | Prefix passhash with "$9$" in a manner similar with other | lloyd | 2010-02-02 | 1 | -0/+32 |
| | | | | | | | | | | | | | | | | password hashing schemes. Increase salt size to 80 bits. Research shows that virtually no other PBKDF2 implementations support anything but SHA-1; for ease of implementation elsehwere switch back from SHA-512 to SHA-1. Should be mostly harmless; it limits total entropy of the password to a maximum of 160 bits, but this is unlikely anyway. Use two bytes to specify the work factor for future-proofing. Add a test. | ||||
* | Add copyright and license notes to pretty much every file that didn't have them, | lloyd | 2009-12-31 | 1 | -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. | ||||
* | Remove unused arg | lloyd | 2009-10-09 | 1 | -3/+2 |
| | |||||
* | Use the new selftest framework for testing hashes, MACs, and ciphers. | lloyd | 2009-10-07 | 1 | -10/+33 |
| | | | | | | 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 | ||||
* | Use the Timer class for all benchmarking | lloyd | 2008-09-05 | 1 | -3/+12 |
| | |||||
* | Delete the self-test global RNG: just create one in main() and pass it | lloyd | 2008-06-28 | 1 | -9/+14 |
| | | | | where it is needed. | ||||
* | Remove uses of global PRNG from self-test and benchmark code. Assumes | lloyd | 2008-06-27 | 1 | -2/+2 |
| | | | | access to /dev/random (will be cleaned up shortly) | ||||
* | Fix some -Wmissing-declarations warnings | lloyd | 2008-06-12 | 1 | -0/+6 |
| | |||||
* | Add a full set of tests for the ANSI X9.31 PRNG, using data taken | lloyd | 2008-06-07 | 1 | -1/+1 |
| | | | | | | | | 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 Global_RNG namespace, along with rng.h and rng.cpp. This was | lloyd | 2008-04-07 | 1 | -2/+2 |
| | | | | | | | | | essentially a facade for the RNG object living in the global library state. Rewrite all callers to directly invoke the global state object: this makes it more clear what functions are actually accessing mutable state outside of the normal reference graph (and thus, which functions will have to be altered in order to remove this dependency). Other facades remain in place for the configuration object and the memory allocator factory. | ||||
* | Remove several uses of old style C casts in favor of C++98's static_cast and | lloyd | 2007-10-19 | 1 | -1/+1 |
| | | | | reinterpret_cast | ||||
* | Eliminate most uses of exit() to bail on an error; instead throw an | lloyd | 2007-02-19 | 1 | -12/+5 |
| | | | | exception upto the top level, that's what it's there for. | ||||
* | Remove the public domain notices from the self-test/benchmark code, | lloyd | 2006-08-09 | 1 | -1/+0 |
| | | | | because it turns out to be something of a legal minefield. | ||||
* | Initial checkin1.5.6 | lloyd | 2006-05-18 | 1 | -0/+298 |