Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Remove lookup.h use from DLIES, PK key agreement, DSA param gen, get_enc.cpp | lloyd | 2008-11-11 | 1 | -2/+10 |
| | |||||
* | Add DLIES benchmark | lloyd | 2008-11-09 | 1 | -10/+72 |
| | |||||
* | More useful PK benchmark output (also a bit easier to parse) | lloyd | 2008-10-22 | 1 | -32/+46 |
| | |||||
* | Add ECKAEG benchmark. Fix several problems found in ECKAEG key (had pure ↵ | lloyd | 2008-10-13 | 1 | -5/+73 |
| | | | | virtuals) | ||||
* | Add a simplistic ECDSA benchmark | lloyd | 2008-10-12 | 1 | -0/+58 |
| | |||||
* | Handle building Botan with almost all public key code disabled (though only | lloyd | 2008-10-01 | 1 | -8/+11 |
| | | | | | | | with the aid of macro hackery, at the moment). Change DH feature macro to BOTAN_HAS_DIFFIE_HELLMAN Change NR feature macro to BOTAN_HAS_NYBERG_RUEPPEL | ||||
* | Compliation fixes | lloyd | 2008-09-28 | 1 | -1/+1 |
| | |||||
* | Modularize the public key algorithms, though currently a great deal of | lloyd | 2008-09-28 | 1 | -8/+50 |
| | | | | | | the underlying implementation goop remains in the core library instead of being shunted off, due to various dependencies it has (most of which it shouldn't). | ||||
* | Time RSA key generation again | lloyd | 2008-09-15 | 1 | -1/+5 |
| | |||||
* | Oops disable part of previous, was for testing | lloyd | 2008-09-14 | 1 | -1/+7 |
| | |||||
* | Only randomize inputs every 100 runs to minimize overhead (makes profiling ↵ | lloyd | 2008-09-14 | 1 | -31/+40 |
| | | | | easier) | ||||
* | Split RSA and RW benchmarks. Benchmark RSA encryption and signatures. | lloyd | 2008-09-14 | 1 | -16/+87 |
| | |||||
* | Padding changes in the PK benchmarks: | lloyd | 2008-09-12 | 1 | -3/+3 |
| | | | | | | RSA: EMSA4(SHA-1) -> EMSA1(SHA-1) RW: EMSA4(SHA-1) -> EMSA2(SHA-1) ELG: Raw -> EME1(SHA-1) | ||||
* | Disable extensive testing during benchmark key generation: throws off profiler | lloyd | 2008-09-07 | 1 | -0/+3 |
| | |||||
* | Reduce how often DSA and DH keys are generated during benchmarks | lloyd | 2008-09-07 | 1 | -2/+2 |
| | |||||
* | Use the Timer class for all benchmarking | lloyd | 2008-09-05 | 1 | -15/+0 |
| | |||||
* | New DH benchmark, much more reflective of real usage as well. | lloyd | 2008-09-05 | 1 | -114/+64 |
| | |||||
* | Delete dead code. New shared benchmark framework for RSA/RW. RSA benchmark | lloyd | 2008-09-02 | 1 | -250/+155 |
| | | | | now uses signing instead of encryption. | ||||
* | Inline some methods of Timer | lloyd | 2008-08-31 | 1 | -31/+19 |
| | | | | Randomly generate the RW keys as well, removing all need for the keys/ dir | ||||
* | Rewrite the RSA and DSA benchmarks to be much more readable and flexible, | lloyd | 2008-08-31 | 1 | -51/+158 |
| | | | | also now reporting key generation and (for DSA) parameter generation times. | ||||
* | Benchmark change: Skip RSA 1536, DH 1536. Add DSA 2048/256 and 3072/256, RSA ↵ | lloyd | 2008-08-30 | 1 | -6/+16 |
| | | | | 8192, DH 8192 | ||||
* | Remove most of the direct references to the global_rng() call | lloyd | 2008-06-28 | 1 | -37/+50 |
| | |||||
* | Remove uses of global PRNG from self-test and benchmark code. Assumes | lloyd | 2008-06-27 | 1 | -15/+14 |
| | | | | access to /dev/random (will be cleaned up shortly) | ||||
* | Similiar combining transform for the ElGamal, DSA, and NR private key | lloyd | 2008-06-20 | 1 | -9/+8 |
| | | | | constructors. | ||||
* | Consolidate the two DH_PrivateKey constructors into a single one taking | lloyd | 2008-06-20 | 1 | -2/+2 |
| | | | | | a RNG reference, a group, and an (optional) private key. The public key is now always rederived from the private. | ||||
* | Convert pkcs8_decoder() and x509_decoder() to take a RandomNumberGenerator& | lloyd | 2008-06-20 | 1 | -2/+2 |
| | | | | | | | | reference, along with PKCS8::load_key get_pbe no longer calls new_params() on the newly instantiated instance, which is not backwards compatible (you have to either call new_params yourself, or explicitly set the iteration count, salt, etc) | ||||
* | Fix remaining -Wmissing-declarations warnings in self-test/benchmark code | lloyd | 2008-06-20 | 1 | -0/+5 |
| | |||||
* | Change PK_Signer::signature to take a RandomNumberGenerator reference | lloyd | 2008-06-10 | 1 | -3/+3 |
| | | | | instead of always using the global PRNG. | ||||
* | PK_Encryptor::encrypt now takes a RandomNumberGenerator reference, instead | lloyd | 2008-06-10 | 1 | -3/+5 |
| | | | | of using the global RNG object. | ||||
* | Previously random_integer and friends used the global PRNG object to get | lloyd | 2008-05-24 | 1 | -4/+8 |
| | | | | | | | | | | | | | random bits. Now they take a reference to a RandomNumberGenerator object. This was applied several times out, so now the constructors to private key objects also take a RandomNumberGenerator& argument. This is also true for a number of randomized algorithms (Miller-Rabin, for instance). You can get a reference to the global PRNG with global_state().prng_reference() This is a provisional thing: and warning: it is not thread safe! If this is a problem instead keep per-thread PRNGs and pass them were needed. | ||||
* | Remove the Global_RNG namespace, along with rng.h and rng.cpp. This was | lloyd | 2008-04-07 | 1 | -8/+8 |
| | | | | | | | | | essentially a facade for the RNG object living in the global library state. Rewrite all callers to directly invoke the global state object: this makes it more clear what functions are actually accessing mutable state outside of the normal reference graph (and thus, which functions will have to be altered in order to remove this dependency). Other facades remain in place for the configuration object and the memory allocator factory. | ||||
* | Fix pk_bench.cpp compilation (remove a stray try statement) | lloyd | 2008-01-17 | 1 | -3/+2 |
| | |||||
* | merge of '3d9e9476c5b2a2ee125eee7e0dd10bfe460d0546' | lloyd | 2007-12-24 | 1 | -187/+95 |
|\ | | | | | | | and '9fe0310805932b889bdfa17c9213f2b97d47ab6a' | ||||
| * | Replace C-style casts with static_cast (found by GCC's -Wold-style-cast) | lloyd | 2007-11-17 | 1 | -2/+1 |
| | | |||||
| * | Wrap lines in pk_bench and passhash to keep them under 80 columns. | lloyd | 2007-10-19 | 1 | -3/+4 |
| | | |||||
| * | Cleanup the public key benchmark code: avoid macros, use PEM/PKCS | lloyd | 2007-09-13 | 1 | -184/+93 |
| | | | | | | | | | | | | | | | | | | #8 format to store Rabin-Williams keys, inline small functions that are only called once into their caller. Reduces overall length of the file from 458 to 367 lines. Rename all the key files in keys/ to use a .pem suffix since they are all now in PEM format (the RSA keys had been for a long time but were never renamed). | ||||
| * | Remove code checking the BOTAN_NO_ macros for if particular public key | lloyd | 2007-09-13 | 1 | -28/+5 |
| | | | | | | | | | | algorithms exist. They haven't been used since the 'minimal' module was removed in Botan 1.3.14 | ||||
* | | Remove the BOTAN_NO_ macros | lloyd | 2007-09-13 | 1 | -28/+5 |
|/ | |||||
* | DSA-2048 and DSA-3072 benchmarks, disabled for a while due to lack of | lloyd | 2007-03-09 | 1 | -4/+6 |
| | | | | 'standard' groups (I may just go ahead and do this). | ||||
* | Decide to print ms/op or ops/second at runtime instead of compile time. | lloyd | 2006-11-12 | 1 | -10/+8 |
| | |||||
* | Add (very basic) HTML output for public key benchmarking. | lloyd | 2006-09-27 | 1 | -11/+26 |
| | |||||
* | Rename X509_PublicKey and PKCS8_PrivateKey to the new types within the | lloyd | 2006-09-06 | 1 | -1/+1 |
| | | | | self-test sources | ||||
* | Initial checkin1.5.6 | lloyd | 2006-05-18 | 1 | -0/+466 |