aboutsummaryrefslogtreecommitdiffstats
path: root/checks
Commit message (Collapse)AuthorAgeFilesLines
* Support 64 and 96 bit tags in OCB, using the nonce formatting rulelloyd2013-08-261-120/+29
| | | | added in the latest CFRG internet draft.
* Add long input OCB testslloyd2013-08-261-0/+289
|
* Remove test codelloyd2013-08-191-3/+0
|
* Add Cipher_Mode intermediate class. Add missing BOTAN_DLL exportslloyd2013-08-191-0/+3
|
* Move ECB to Transformation APIlloyd2013-08-151-1/+4
|
* Make XTS a Transformation under src/modeslloyd2013-08-141-3/+1
| | | | | | Move AEAD modes to src/modes/aead Add filters for Transformations (based on original AEAD filters)
* Rename ARC4 to RC4lloyd2013-04-192-2/+2
|
* Kill off old GCC 3.x workaroundlloyd2013-04-121-8/+2
|
* Incorrect as text not usually aligned sizelloyd2013-03-281-6/+2
|
* Update testlloyd2013-03-281-3/+7
|
* Add more OCB test vectorslloyd2013-03-271-0/+69
|
* Allow tag sizes other than 128 bits in GCM and OCBlloyd2013-03-271-0/+4
|
* Report results from all providers if more than one failurelloyd2013-03-271-3/+4
|
* Convert OCB to new AEAD interfacelloyd2013-03-271-27/+31
|
* Remove the Turing and WiderWAKE4+1 stream cipher implementations.lloyd2013-03-191-1706/+0
| | | | Both never saw much deployment or analysis.
* Working GCM. Add support for AEAD modes in self testslloyd2013-03-163-34/+89
|
* Some work towards a (very slow) GCM implementationlloyd2013-03-161-0/+15
| | | | | Does not currently work due to some error in ghash, likely a misunderstanding of the field representation.
* propagate from branch 'net.randombit.botan' (head ↵lloyd2013-03-165-2/+278
|\ | | | | | | | | | | 039c91aa543bad85f227e8127ed048f9005e2fa0) to branch 'net.randombit.botan.aead-modes' (head 97d8d24b545f18084e39bf928c174c45efbb63bd)
| * OCB decryptionlloyd2013-03-144-14/+137
| |
| * Add OCB mode, currently encrypt only, and an AEAD interfacelloyd2013-03-144-0/+153
| |
* | Add algorithm_kat_detailed which returns a string with info about the failurelloyd2013-03-161-6/+6
|/
* Compile fixlloyd2012-11-291-4/+5
|
* No longer a part of session statelloyd2012-09-181-4/+0
|
* Remove BigInt::grow_reg which was only used by a few tests.lloyd2012-07-311-4/+4
|
* Clang warning about missing result typelloyd2012-07-291-1/+1
|
* Add a set of power mod tests generated by python with highly regularlloyd2012-07-131-0/+2485
| | | | binary structure (tends to expose carry bugs, etc).
* Fix for bug 209. Required some reworking of the ASN.1 bytestringlloyd2012-07-092-0/+26
| | | | decoding code but seems an improvement.
* Single basic TLS test using in-memory handshake.lloyd2012-06-294-5/+276
| | | | Fix compile flags for the NIST tests
* Fix extension testing (bug 193)lloyd2012-06-081-1/+1
|
* Add new PBKDF interface that takes a std::chrono::milliseconds andlloyd2012-05-311-31/+0
| | | | | | | | | | | | | | | | | | | | runs the KDF until at least that much time has passed, then returns the number of interations used. New parameter to the PKCS8 encryption routines which tells how long to run the PBKDF. Defaults to 200 milliseconds, which is short enough that it is unlikely to bother anyone but long enough to provide quite reasonable security against cracking attacks. On a Core i7-860, 200 ms with PBKDF2/SHA-1 runs about 180K to 220K iterations (compare with previous default of 10K). New PBE interface, remove new_params/set_key and require all inputs including the passphrase to be passed to the constructor. Drop the PGP S2K as it is pretty weird and not really useful outside of a full PGP implementation. Drop the deprecated PKCS8::encrypt_key and PKCS8::encode functions.
* Plain hex_decode now returns a std::vector, use hex_decode_locked tolloyd2012-05-265-92/+92
| | | | get a secure_vector.
* propagate from branch 'net.randombit.botan.x509-path-validation' (head ↵lloyd2012-05-2513-226/+277
|\ | | | | | | | | | | 63b5a20eab129ca13287fda33d2d02eec329708f) to branch 'net.randombit.botan' (head 8b8150f09c55184f028f2929c4e7f7cd0d46d96e)
| * Duplicate . printlloyd2012-05-251-1/+0
| |
| * Replace 0 and NULL pointer constants with nullptr. Also fix an oldlloyd2012-05-184-19/+21
| | | | | | | | style cast in secmem.h
| * Fairly huge update that replaces the old secmem types with std::vectorlloyd2012-05-1810-139/+139
| | | | | | | | | | | | 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.
| * propagate from branch 'net.randombit.botan' (head ↵lloyd2012-05-181-0/+37
| |\ | | | | | | | | | | | | | | | 6332543aa5a8a4cc13662008ff9ac0f0016d9a4d) to branch 'net.randombit.botan.cxx11' (head 5517c9f8f6d1990f269afb94f569a97a80c5a5f4)
| | * A few additional Camellia test vectorslloyd2012-04-271-0/+37
| | |
| * | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-04-255-23/+27
| |\| | | | | | | | | | | | | | | | a4741cd07f50a9e1b29b0dd97c6fb8697c038ade) to branch 'net.randombit.botan.cxx11' (head 116e5ff139c07000be431e07d3472cc8f3919b91)
| | * Patrick Pelletier noted on the mailing list that the implementation oflloyd2012-04-241-10/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | Camellia exposed by the OpenSSL module is parameterized by the key length, much as AES is, while the version in the main source uses a single name/type for all variants. For consistency, convert to using a key length parameterized name in our version as well. In the future this might allow for better loop unrolling, etc but currently we don't make use of that.
| | * Fix various typos, and remove an unused macro in checks/bench.cpplloyd2012-04-232-13/+1
| | | | | | | | | | | | All reported by Patrick Pelletier.
| | * Some fixes for very minimal builds (typically due to --no-autoload)lloyd2012-04-203-0/+14
| | |
| * | propagate from branch 'net.randombit.botan' (head ↵lloyd2012-02-201-1/+1
| |\| | | | | | | | | | | | | | | | c247a55e7c0bcd239fcfc672139b59ef63d7ee84) to branch 'net.randombit.botan.cxx11' (head 16d7756c6b8933d0d543ebdda9c7e8f4908a4a33)
| * | Remove get_nanoseconds_clock as we'll rely on std::chrono's highlloyd2012-02-202-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | resolution clock for this in C++11. Now that the only remaining function in time.h is calendar_point, rename the header to calendar.h. Hopefully that last use will go away once a TR2 datetime library becomes available. Use std::chrono inside the library benchmark code.
| * | propagate from branch 'net.randombit.botan.tls-state-machine' (head ↵lloyd2012-02-208-44/+53
| |\ \ | | | | | | | | | | | | | | | | | | | | 0ceb9cde62a2b3614901ae85a53546d9fc641326) to branch 'net.randombit.botan.cxx11' (head 777e65950ef3706a82e5df20dcca7fcc999ca533)
| | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-07-128-44/+53
| | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | 23a326fa36a31dd39347a8864e1f5740669a905e) to branch 'net.randombit.botan.cxx11' (head 9d3ac8dd45f7673c85dca41968e7750acc90bdff)
| | | * | Add string_join; inverse of split_on.lloyd2011-06-171-0/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Use auto in a few more places. Use GCC 4.6's range-for Delete rather than hide Algorithm copy constructor/assignment Move version to more or less randomly chosen 1.99 so there is no ambiguity about versions.
| | | * | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-06-137-44/+51
| | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 150bd11dd8090559ee1e83394b8283bf93a018de) to branch 'net.randombit.botan.c++0x' (head 7480693bb3f1e8a4e039a3e7ba3d9a7007f9730e)
| | | | * \ propagate from branch 'net.randombit.botan' (head ↵lloyd2011-03-085-173/+283
| | | | |\ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | dd068808e5bf87c982765a8bcc314996053a5bdd) to branch 'net.randombit.botan.c++0x' (head 34696d52a8148d64f7021b3e193fc56f051b9dd2)
| | | | * | | Merge fixupslloyd2011-02-111-11/+9
| | | | | | |
| | | | * | | propagate from branch 'net.randombit.botan' (head ↵lloyd2011-02-117-42/+51
| | | | |\ \ \ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 13a0d36dac3709f3cb88e830ed7f8cab9e7433ab) to branch 'net.randombit.botan.c++0x' (head 2221ad8796466e7e096645de77ba856a9c902d14)