Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Fix remaining -Wmissing-declarations warnings in self-test/benchmark code | lloyd | 2008-06-20 | 4 | -135/+129 |
| | |||||
* | Fix more -Wmissing-declaration warnings | lloyd | 2008-06-18 | 4 | -10/+22 |
| | |||||
* | Fix -Wmissing-declarations warning | lloyd | 2008-06-16 | 1 | -40/+43 |
| | |||||
* | Fix some -Wmissing-declarations warnings | lloyd | 2008-06-12 | 8 | -9/+43 |
| | |||||
* | X509_CA::{new_crl,update_crl} take a RandomNumberGenerator reference | lloyd | 2008-06-11 | 1 | -2/+2 |
| | |||||
* | X509::create_cert_req and X509::create_self_signed_cert take an RNG ref | lloyd | 2008-06-11 | 1 | -3/+9 |
| | |||||
* | Modify X509_CA::make_cert and X509_CA::sign_request to take a RNG reference | lloyd | 2008-06-11 | 1 | -7/+8 |
| | | | | argument in favor of referencing the global PRNG argument | ||||
* | Change PK_Signer::signature to take a RandomNumberGenerator reference | lloyd | 2008-06-10 | 2 | -21/+5 |
| | | | | instead of always using the global PRNG. | ||||
* | PK_Encryptor::encrypt now takes a RandomNumberGenerator reference, instead | lloyd | 2008-06-10 | 2 | -14/+7 |
| | | | | of using the global RNG object. | ||||
* | Make the contents of Botan_types namespace be just using declarations, | lloyd | 2008-06-07 | 1 | -1/+1 |
| | | | | instead of introducing new typedefs. | ||||
* | Add a full set of tests for the ANSI X9.31 PRNG, using data taken | lloyd | 2008-06-07 | 8 | -53/+2158 |
| | | | | | | | | from the NIST CAVS dataset, taken on June 7 2008 from http://csrc.nist.gov/groups/STM/cavp/standards.html AES-128, AES-192, AES-256, and 2 and 3-key TripleDES variants are all tested. | ||||
* | Make the two parameters of Randpool (which underlying block cipher and MAC | lloyd | 2008-05-25 | 2 | -5/+13 |
| | | | | to use) explicit arguments to the constructor instead of being hardcoded. | ||||
* | Avoid using the global RNG in check_key, instead pass a reference. | lloyd | 2008-05-24 | 1 | -10/+10 |
| | | | | Update the examples | ||||
* | Previously random_integer and friends used the global PRNG object to get | lloyd | 2008-05-24 | 5 | -18/+28 |
| | | | | | | | | | | | | | 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. | ||||
* | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2008-04-21 | 6 | -20/+20 |
|\ | | | | | | | | | | | 51f9ee5180a5cacdfff31504266e883b7bb0eb00) to branch 'net.randombit.botan.remove-libstate' (head 636b767b9686261418b1cb45a6271edeef87501b) | ||||
| * | propagate from branch 'net.randombit.botan' (head ↵ | lloyd | 2008-04-10 | 6 | -20/+20 |
| |\ | | | | | | | | | | | | | | | | 6afe2db1f710f75bc27e189bb8bdb23613ce1ca3) to branch 'net.randombit.botan.remove-libstate' (head e40f0dbdfd847024c30fa0092c2acefc19a550b8) | ||||
| | * | Remove the Global_RNG namespace, along with rng.h and rng.cpp. This was | lloyd | 2008-04-07 | 6 | -20/+20 |
| | | | | | | | | | | | | | | | | | | | | | | | | | | | 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. | ||||
* | | | Update Fixed_Output_RNG (used for testing) to implement is_seeded | lloyd | 2008-04-21 | 1 | -0/+2 |
|/ / | |||||
* / | Change the interface of X509_CA::sign_request as follows: | lloyd | 2008-04-10 | 1 | -2/+7 |
|/ | | | | | | | | | | | - The allow_ca policy value is no longer checked. Callers should check if the request is for a CA cert and treat it accordingly; this makes it simpler to to case-by-case decisions (expecially among multiple threads) - Instead of a single time value, a u32bit representing the number of seconds from now the certificate should expire, the start and end times are passed explicitly as two X509_Time values. | ||||
* | Fix pk_bench.cpp compilation (remove a stray try statement) | lloyd | 2008-01-17 | 1 | -3/+2 |
| | |||||
* | merge of '3d9e9476c5b2a2ee125eee7e0dd10bfe460d0546' | lloyd | 2007-12-24 | 18 | -342/+364 |
|\ | | | | | | | and '9fe0310805932b889bdfa17c9213f2b97d47ab6a' | ||||
| * | Replace C-style casts with static_cast (found by GCC's -Wold-style-cast) | lloyd | 2007-11-17 | 2 | -6/+5 |
| | | |||||
| * | Add base64 encoding and decoding to the set of benchmarked filters | lloyd | 2007-11-16 | 1 | -0/+3 |
| | | |||||
| * | Revert the change that renamed append() to push_back(). As pointed out | lloyd | 2007-11-15 | 1 | -1/+1 |
| | | | | | | | | | | | | by Joel Low on the mailing list, the STL container types have only a single version of push_back(), along with variations of insert() for handling range-based appending. | ||||
| * | Rename MemoryRegion::append to push_back | lloyd | 2007-11-14 | 1 | -1/+1 |
| | | | | | | | | Change all callers in the library and self-test code. | ||||
| * | Prevent lines > 80 columns | lloyd | 2007-11-11 | 1 | -1/+1 |
| | | |||||
| * | Wrap lines in pk_bench and passhash to keep them under 80 columns. | lloyd | 2007-10-19 | 1 | -3/+4 |
| | | |||||
| * | Remove several uses of old style C casts in favor of C++98's static_cast and | lloyd | 2007-10-19 | 3 | -7/+14 |
| | | | | | | | | reinterpret_cast | ||||
| * | Increase the (arbitrary) upper bound on how long the benchmarks can run to | lloyd | 2007-09-18 | 1 | -1/+1 |
| | | | | | | | | 5 minutes (300 seconds). | ||||
| * | Add CBC-MAC(AES) tests that use longer inputs | lloyd | 2007-09-17 | 1 | -1/+85 |
| | | |||||
| * | Check in an initial implementation of CBC-MAC. | lloyd | 2007-09-16 | 1 | -136/+136 |
| | | | | | | | | | | | | | | The test vectors were generated by Crypto++ 5.5 on a Linux/x86-64 machine. Test vectors for CBC-MAC(DES) all pass, for inputs up to 63 bytes. For CBC-MAC(AES-128), all test vectors with inputs over 10 bytes fail to verify against what Crypto++ produces. Unknown at this time where the bug lies. | ||||
| * | Cleanup the public key benchmark code: avoid macros, use PEM/PKCS | lloyd | 2007-09-13 | 11 | -190/+119 |
| | | | | | | | | | | | | | | | | | | #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 | 2 | -69/+9 |
| | | | | | | | | | | algorithms exist. They haven't been used since the 'minimal' module was removed in Botan 1.3.14 | ||||
| * | Comment out the CBC-MAC test vectors for now since they cause warnings | lloyd | 2007-09-13 | 1 | -136/+136 |
| | | | | | | | | about unknown algorithm names. | ||||
* | | Remove the BOTAN_NO_ macros | lloyd | 2007-09-13 | 2 | -69/+9 |
| | | |||||
* | | Comment out the CBC-MAC test vectors since the algorithm has not been | lloyd | 2007-09-07 | 1 | -136/+136 |
|/ | | | | implemented yet and warnings result when running the validation suite. | ||||
* | Check in some test vectors for plain FIPS 113 CBC-MAC using DES and AES-128 | lloyd | 2007-08-03 | 1 | -0/+137 |
| | |||||
* | Use the get_clock/get_ticks code instead of calling std::clock directly. Allows | lloyd | 2007-07-23 | 1 | -5/+6 |
| | | | | (nominally) more accurate results. | ||||
* | 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). | ||||
* | Document the --init flag to check | lloyd | 2007-03-09 | 1 | -1/+3 |
| | |||||
* | Eliminate most uses of exit() to bail on an error; instead throw an | lloyd | 2007-02-19 | 3 | -33/+14 |
| | | | | exception upto the top level, that's what it's there for. | ||||
* | Use OptionParser::init_if_set | lloyd | 2006-12-09 | 1 | -18/+14 |
| | | | | Inline the print_help function | ||||
* | Add a value_if_set member function to the getopt implementation (returns | lloyd | 2006-12-09 | 2 | -1/+9 |
| | | | | the option argument, or an empty string if no argument set) | ||||
* | 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 | 2 | -14/+29 |
| | |||||
* | Change the default CPU MHz when RDTSC is used to 1.866 GHz to match motoko | lloyd | 2006-09-26 | 1 | -1/+1 |
| | |||||
* | Allow --bench-algo to take multiple arguments | lloyd | 2006-09-26 | 1 | -4/+10 |
| | |||||
* | Update reference for the SEED test vectors | lloyd | 2006-09-14 | 1 | -2/+2 |
| | |||||
* | Rename X509_PublicKey and PKCS8_PrivateKey to the new types within the | lloyd | 2006-09-06 | 3 | -12/+12 |
| | | | | self-test sources | ||||
* | Split PK_Key into Public_Key and Private_Key; these new classes merge in | lloyd | 2006-09-06 | 1 | -5/+32 |
| | | | | the interfaces previously included in X509_PublicKey and PKCS8_PrivateKey. |