aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* Move gtk+ example to doc/exampleslloyd2008-09-295-0/+695
|
* Drop old Makefile. Move tests to examples directory.lloyd2008-09-282-0/+157
|
* Modularize the Adler32 checksum in checksums/adler32lloyd2008-09-284-7/+7
| | | | | | | | | 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)
* 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.
* Add the set of EAX test vectors from libtomcryptlloyd2008-09-271-0/+461
|
* Fix link for EAX tet proglloyd2008-09-272-2/+5
|
* 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).
* Add an example database row encryptorlloyd2008-09-241-0/+134
|
* If the Zlib module is not compiled in, don't #error and abort the wholelloyd2008-09-242-5/+6
| | | | compile, just skip adding a Zlib filter into the Pipe.
* Fail at runtime if bzip2 is not compiled in, instead of compile timelloyd2008-09-241-3/+9
|
* Create a RNG object, update for new interface for DSA paramater generationlloyd2008-09-181-6/+15
|
* Add missing <memory> includelloyd2008-09-181-0/+1
|
* Add testers for the NIST CAVS PQGGen and SigGen tests (part of FIPS-140lloyd2008-09-182-0/+194
| | | | DSA test suite)
* Add a program that checks the ressol() implementation using a set oflloyd2008-09-181-0/+77
| | | | randomly generated primes.
* Add a test app for random_prime in exampleslloyd2008-09-181-0/+69
|
* Fix compilation with latest RNG APIlloyd2008-09-181-1/+3
|
* Remove warninglloyd2008-09-181-3/+2
|
* Makefile for examples now requires GNU make, was getting way too longlloyd2008-09-182-130/+23
| | | | using normal make syntax.
* Add a program that checks the X9.31 PRNG against a set of NIST test vectorslloyd2008-09-181-0/+134
|
* Add the program I wrote to write a set of many RSA keys (used for benchmarkinglloyd2008-09-171-0/+35
| | | | and profiling, mostly).
* Generate a random 2k bit DSA group instead of 1024-bit JCE defaultlloyd2008-08-301-1/+3
|
* Fix xor_ciph examplelloyd2008-08-301-2/+4
|
* Fix the DSA examples. Reindent.lloyd2008-06-2813-30/+50
|
* Update more of the exampleslloyd2008-06-273-5/+11
|
* Update pkcs10, passhash exampleslloyd2008-06-272-9/+16
|
* Update some of the examples for the recent API changeslloyd2008-06-277-28/+42
|
* Add missing headers in the example problems, noticed while compiling underlloyd2008-06-118-0/+9
| | | | GCC 4.3. Missing <memory> for auto_ptr and <cstdlib> for atoi
* Update passhash example with new S2K::new_random_salt signaturelloyd2008-05-241-1/+2
|
* Avoid using the global RNG in check_key, instead pass a reference.lloyd2008-05-246-13/+24
| | | | Update the examples
* Print the class tag type(s) on constructed formslloyd2008-05-081-0/+9
|
* Update ca.cpp with new signature of X509_CA::sign_requestlloyd2008-04-101-1/+5
|
* Have the ca example take all filenames as arguments instead of hardcoding.lloyd2007-10-201-10/+18
|
* Print the IPv4 address, DNS name, or URL included in the subject orlloyd2007-10-201-0/+6
| | | | issuer alternative names.
* Wrap lines in pk_bench and passhash to keep them under 80 columns.lloyd2007-10-191-2/+2
|
* If the LibraryInitializer is created with just default arguments, don'tlloyd2007-10-0724-104/+56
| | | | | | | bother creating it, just let it be initialized lazily when needed. Reindents in encypt.cpp and hash_fd.cpp (indenting the brace after a try statement).
* Optionally, you can specify an argument that is passed to the LibraryInitializerlloyd2007-10-071-7/+19
| | | | constructor.
* Clean up the examples makefile a bit.1.7.0lloyd2007-03-131-9/+13
|
* Always print the exact value of the OID found in the ASN.1 example, evenlloyd2007-03-101-1/+6
| | | | if we found a human readable name for it (in that case we print both).
* Add a password hashing example. It uses PBKDF2/SHA-1 with 10000 iterations,lloyd2007-03-092-1/+81
| | | | | a 48-bit seed, and a 96-bit hash. The example can both create new hashes and confirm existing ones.
* Remove the (deleted) fips140 example from the Makefilelloyd2006-09-071-5/+1
|
* Make a passphrase optional for the DSA and RSA key generation exampleslloyd2006-09-042-12/+17
|
* Drop the fips140 example, doesn't build after recent changes and it'slloyd2006-08-231-59/+0
| | | | more or less useless in any case.
* Don't bail out of the rho computation until 2^32 tries, since thelloyd2006-07-161-3/+3
| | | | | | cycle size is based on the square root of the prime factors, bailing after 2^16 would mean we would be unlikely to find any factors larger than 32 bits.
* Have to (potentially) factor the result from the Rho computation, as itlloyd2006-07-161-4/+7
| | | | might be composite.
* Move the declaration of a_factor outside the loop, and use a do looplloyd2006-07-161-4/+5
| | | | | instead of a while loop so it doesn't have to be initialized each time through.
* Remove some completely redundant code in factorize()lloyd2006-07-161-6/+1
|
* Break out after 2^16 tries, so we restart from a different random pointlloyd2006-07-161-4/+8
| | | | | | | | if we don't find a cycle fairly quickly. Use (x^2 + x) % n instead of (x^2 - 1) % n; it seems to be giving better (ie, faster) results, though to be honest I'm not sure exactly why this should be the case.
* Make factorize() iterative instead of recursive lloyd2006-07-161-22/+50
|
* Remove whitespace, add a slightly informative comment, etclloyd2006-07-161-2/+2
|
* Enable optimizations in the makefilelloyd2006-07-161-4/+2
|