aboutsummaryrefslogtreecommitdiffstats
path: root/doc/examples
Commit message (Collapse)AuthorAgeFilesLines
* Make the examples Makefile a bit smarterlloyd2008-11-071-10/+8
|
* Fix the --with-build-dir option, so that it is actually possible to dolloyd2008-11-061-2/+2
| | | | | | | | | | | | out of tree builds. Also rename the generated botan-config script so that it is, like the pkg-config settings, namespaced by the major and minor version numbers (eg, botan-17-config). This is useful in particular for distros like Debian which ship both stable and unstable versions. Currently Debian is actually the only distro I know of shipping 1.7 as well as 1.6, but I would certainly like to encourage more in the future by making it easy to do.
* Move rng.{cpp,h} from core to rng/ topdirlloyd2008-10-2621-79/+63
| | | | | | | | | | | | | | 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/
* Add an example for using checksums (CRC, Adler32) and Pipe/Filter/Forklloyd2008-10-131-0/+31
|
* Move InSiTo's ECDSA tests into the main test suitelloyd2008-10-121-606/+0
|
* Remove unnecessary includeslloyd2008-10-111-10/+2
|
* Remove -Werror from example compile flagslloyd2008-10-111-1/+1
|
* Correct the expected signature name in test_decode_ecdsa_X509 - itlloyd2008-10-111-396/+393
| | | | | | | | | | | wanted ECC_TESTDATA/EMSA1_BSI(SHA-224), while Botan is providing ECDSA/EMSA1_BSI(SHA-224) which seems more useful anyway. Also reindent the code to match more or less the convention in the rest of the codebase. At this point all ECDSA tests are pasing. (That probably just means there aren't enough ECDSA tests)
* Move all ECDSA test data into ecc_testdatalloyd2008-10-111-20/+20
|
* Don't abort if a curve is not found in test_curve_registrylloyd2008-10-111-10/+18
|
* Catch and print exceptions in the CHECK macroslloyd2008-10-111-4/+4
|
* Generate and check ECDSA signature in examplelloyd2008-10-111-2/+29
|
* Print generated public key in ECDSA examplelloyd2008-10-111-0/+2
|
* Correct OID for ECDSA paramlloyd2008-10-111-1/+1
|
* Make GF(p) tests part of normal test suitelloyd2008-10-091-698/+0
|
* Remove BOOST_AUTO_TEST_CASE macrolloyd2008-10-091-23/+22
|
* Split GF(p) tests into passing and failing oneslloyd2008-10-081-7/+11
|
* Add a set of ECDSA tests from InSiTolloyd2008-10-081-0/+609
|
* Correct boost macro replacementlloyd2008-10-081-3/+6
|
* Add GF(p) math test suite from InSiTolloyd2008-10-081-0/+692
|
* Update examples for recent API changeslloyd2008-10-0810-21/+46
|
* Fix includelloyd2008-10-081-1/+1
|
* Line wraplloyd2008-10-013-5/+11
|
* Merge examples makefile with mainline versionlloyd2008-09-301-1/+1
|
* propagate from branch 'net.randombit.botan' (head ↵lloyd2008-09-3022-146/+2252
|\ | | | | | | | | | | 9524e848cdacd0b56ded9bd6b51fd34b6a7d3fc4) to branch 'net.randombit.botan.ecdsa' (head 8231f4285dce2d5ec754f7afa72e0d34807de061)
| * 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).
* | Cleanupslloyd2008-09-172-2/+6
| |
* | propagate from branch 'net.randombit.botan' (head ↵lloyd2008-09-052-3/+7
|\| | | | | | | | | | | 6af2a53b621670d7f0a7f0dc5db05c21475ec87b) to branch 'net.randombit.botan.ecdsa' (head 615b9b32d55f374b935f9b9bfb4049dfad765e6c)
| * 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
| |
* | Allow creation of SEC1 curveslloyd2008-08-302-3/+9
| |