aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples/pqg_gen.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Modify pubkey classes to take names instead of object pointers.lloyd2010-03-081-1/+0
| | | | | Remove use of look_pk from the source and examples, instead instantiate classes directly.
* Clean up exceptions. Remove some unused ones like Config_Error. Makelloyd2010-01-051-2/+2
| | | | | | | Invalid_Argument just a typedef for std::invalid_argument. Make Botan::Exception a typedef for std::runtime_error. Make Memory_Exhaustion a public exception, and use it in other places where memory allocations can fail.
* 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-1/+3
| | | | | | | | | | | | | 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/+3
| | | | | | | | | | | | | | 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
|
* Create a RNG object, update for new interface for DSA paramater generationlloyd2008-09-181-6/+15
|
* Add testers for the NIST CAVS PQGGen and SigGen tests (part of FIPS-140lloyd2008-09-181-0/+105
DSA test suite)