aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/eax_test.cpp
Commit message (Collapse)AuthorAgeFilesLines
* ECC private keys had two different constructors, one taking a grouplloyd2011-04-081-1/+1
| | | | | | | | | | | | | | | | and a random number generator, and the other taking a group and a preset private key value. The DL private keys instead have on constructor for this; if the x value is zero, then a new random key is created. For consistency, do this with ECC as well. ECDH actually didn't have one of these constructors, forcing you to either load from PKCS #8 or else use a random key. Rename EC_Domain_Params to EC_Group, with a typedef for compatability. More doc updates. Update mtn ignores for Sphinx output
* More pubkey doc updateslloyd2011-04-081-0/+251
|
* Convert most of the documentation to reStructured Text, addinglloyd2011-04-041-251/+0
| | | | | | | | | | | | | | | | | | | a makefile to build it with Sphinx (http://sphinx.pocoo.org/). Previously credits.txt listed public domain code sources; instead directly credit the authors in the relevant files and delete that file. Drop the draft FIPS 140 security policy; I can't imagine FIPS 140 validation will ever happen, and if it does, I don't want anything to do with it. Also drop the internals doc, which was so out of date (and incomplete) as to be worthless. Move the tutorials and InSiTo pdfs into old/ for the time being, until anything relevant from them can be filtered out and converted into RST.
* Fix minor errors and warnings in the examples. Remove boost dependency fromlloyd2010-03-031-2/+6
| | | | rng_test example.
* 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.
* Add LibraryInitializers to the examples, instead of relying on lazy init.lloyd2009-03-171-1/+1
| | | | Patch from David X Callaway.
* Update examples for changed 1.8 APIs, including:lloyd2008-11-211-2/+2
| | | | | | | | | | | | | EAX mode taking a BlockCipher* instead of a name. PK_Signer taking an EMSA* instead of a name. generate_dsa_primes using an Algorithm_Factory Changes to how new algorithms are added (look_add.h is gone entirely, replaced by Algorithm_Factory calls) in xor_ciph. Also update for new stream cipher key schedule function name and new directory for base class decl.
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-261-3/+0
| | | | | | | | | | | | | | Add a new class AutoSeeded_RNG that is a RandomNumberGenerator that wraps up the logic formerly in RandomNumberGenerator::make_rng. make_rng in fact now just returns a new AutoSeeded_RNG object. AutoSeeded_RNG is a bit more convenient because - No need to use auto_ptr - No need to dereference (same syntax everywhere - it's an underestimated advantage imo) Also move the code from timer/timer_base to timer/
* Update examples for recent API changeslloyd2008-10-081-2/+2
|
* Line wraplloyd2008-10-011-3/+7
|
* Add comment explaining why EAX tests for XTEA, Skipjack, and Noekeonlloyd2008-09-271-6/+19
| | | | | | | are not run (the implementations in LTC are incompatible with the ones in Botan, mostly due to endian differences in underspecified algorithms). The DES, 3DES, AES, Twofish, Blowfish, RC2, RC5, RC6, and SAFER-SK tests of EAX mode from LTC all pass.
* Fix link for EAX tet proglloyd2008-09-271-2/+2
|
* Add a program that reads a set of test vectors for EAX mode using severallloyd2008-09-271-0/+227
different algorithms taken from libtomcrypt. Requires Boost.Regex currently (would like to remove that at some point).