Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Move include of x509_ext.h to x509_ca.h, instead of using forward | lloyd | 2006-07-31 | 2 | -14/+10 |
| | | | | | | | | declaration. Remove not_before and not_after variables, as they were only used once. Use the computed Key_Constraints value when signing a new certificate. | ||||
* | Fix definition of OID 2.5.4.8; was accidentally changed by search-replace | lloyd | 2006-07-31 | 1 | -1/+1 |
| | | | | during cleanups of the initialization code. | ||||
* | Very minor Python wrapper updates | lloyd | 2006-07-31 | 2 | -46/+5 |
| | |||||
* | Remove FIPS140::good_edc; it has never been used and probably will not | lloyd | 2006-07-29 | 2 | -19/+0 |
| | | | | be in the forseeable future. | ||||
* | Change Builtin_Module constructor to take an InitializerOptions | lloyd | 2006-07-28 | 3 | -18/+33 |
| | | | | | | | | instead of just a boolean, so it can (if desired) examine any arguments it likes. Only run the startup self tests if the selftest or fips140 option is toggled on. | ||||
* | Add a "selftest" option that allows the user to disable startup selftests | lloyd | 2006-07-28 | 2 | -0/+9 |
| | |||||
* | Remove unneccessary includes | lloyd | 2006-07-28 | 1 | -2/+0 |
| | |||||
* | Add two more constructors to AlgorithmIdentifier, which take a | lloyd | 2006-07-22 | 2 | -4/+41 |
| | | | | | | Encoding_Option enum that can specify various options. Right now the only one supported/available is USE_NULL_PARAM, to set the parameters to a DER-encoded NULL object | ||||
* | Drop the CMS readme, not really useful now that it is in-tree | lloyd | 2006-07-22 | 1 | -24/+0 |
| | |||||
* | Some more fixes for cms_ealg.cpp (still doesn't compile) | lloyd | 2006-07-17 | 1 | -11/+11 |
| | |||||
* | Don't bail out of the rho computation until 2^32 tries, since the | lloyd | 2006-07-16 | 1 | -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 it | lloyd | 2006-07-16 | 1 | -4/+7 |
| | | | | might be composite. | ||||
* | Changelog updates | lloyd | 2006-07-16 | 1 | -0/+5 |
| | |||||
* | Move the declaration of a_factor outside the loop, and use a do loop | lloyd | 2006-07-16 | 1 | -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() | lloyd | 2006-07-16 | 1 | -6/+1 |
| | |||||
* | Break out after 2^16 tries, so we restart from a different random point | lloyd | 2006-07-16 | 1 | -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 | lloyd | 2006-07-16 | 1 | -22/+50 |
| | |||||
* | Remove whitespace, add a slightly informative comment, etc | lloyd | 2006-07-16 | 1 | -2/+2 |
| | |||||
* | Enable optimizations in the makefile | lloyd | 2006-07-16 | 1 | -4/+2 |
| | |||||
* | Extend the xor_ciph example to support longer keys, and update it to | lloyd | 2006-07-16 | 1 | -18/+16 |
| | | | | | use the new entry point for add_alias | ||||
* | Remove a declaration for add_alias, which was removed at some point | lloyd | 2006-07-16 | 4 | -42/+47 |
| | | | | | | | | | without the decl also being removed. Add an add_alias function to the Config class, just a simple wrapper around Config::set Change policy.cpp to use add_alias instead of set when setting an alias | ||||
* | Remove a debugging print statement | lloyd | 2006-07-16 | 1 | -4/+3 |
| | | | | | Change the output to sort the factors, and use ':' instead of '=' so the output exactly matches that of the BSD 'factor' program. | ||||
* | Add an example that performs factoring (using Pollard's Rho algorithm) | lloyd | 2006-07-16 | 2 | -1/+115 |
| | |||||
* | Add my personal encryption key to pgpkeys.asc | lloyd | 2006-07-16 | 1 | -27/+65 |
| | |||||
* | Some API doc updates, mostly in the first few sections. Document the new | lloyd | 2006-07-13 | 1 | -49/+51 |
| | | | | | | | initializer options and techniques, reword some things for clarity, note the availability of an SSH library, and remove the remark that accessing the global state before initialization may crash, since this is no longer the case. | ||||
* | Extend the language offered by InitializerOptions a bit, so that | lloyd | 2006-07-13 | 2 | -14/+46 |
| | | | | | | boolean options can be explicitly turned off. Add support for checking the documented "fips140" argument | ||||
* | Version bump | lloyd | 2006-07-13 | 2 | -2/+2 |
| | |||||
* | Remove a kind of useless title line from info.txt | lloyd | 2006-07-13 | 1 | -1/+0 |
| | |||||
* | Updated changelog1.5.9 | lloyd | 2006-07-12 | 1 | -1/+5 |
| | |||||
* | Add a LibraryInitializer constructor taking a std::string, which simply | lloyd | 2006-07-12 | 2 | -0/+10 |
| | | | | calls the InitializerOptions constructor. | ||||
* | Version bump to 1.5.9 | lloyd | 2006-07-08 | 2 | -2/+2 |
| | |||||
* | Make Mutex_Factory an abstract class, move the creation of the no-op | lloyd | 2006-07-07 | 3 | -3/+16 |
| | | | | Default_Mutex to the new Default_Mutex_Factory | ||||
* | Remove a line that should have been deleted in the last commit. | lloyd | 2006-07-07 | 1 | -1/+0 |
| | |||||
* | Have Library_State's constructor thrown an exception if the | lloyd | 2006-07-07 | 2 | -10/+5 |
| | | | | | | | | mutex_factory argument is NULL. Have Init::initialize() pass either a new Mutex_Factory (the default no-op version), or the result of modules.mutex_factory(), depending on the value of args.thread_safe() | ||||
* | Respect the secure_memory config option | lloyd | 2006-07-02 | 3 | -1/+10 |
| | |||||
* | Move InitializerOptions out of the Init namespace | lloyd | 2006-07-02 | 3 | -19/+15 |
| | | | | | Alter the initialization functions to take an InitializerOptions object instead of a std::string | ||||
* | Add del_fun and delete2nd functions for running deletes | lloyd | 2006-07-02 | 2 | -8/+26 |
| | | | | Use for_each + the delete wrappers in libstate.cpp | ||||
* | Let modules override the transcoder object (since system libs | lloyd | 2006-07-01 | 4 | -1/+12 |
| | | | | like iconv may be useful there...) | ||||
* | Fix config handling (stupid mismatch was causing the getter for the | lloyd | 2006-07-01 | 5 | -13/+11 |
| | | | | | | config options to always fail). Move the default config stuff from libstate to the config object. | ||||
* | Ignore build/build.h, not build/config.h | lloyd | 2006-07-01 | 1 | -1/+1 |
| | |||||
* | Just some small cleanups / variable renames | lloyd | 2006-07-01 | 1 | -6/+9 |
| | |||||
* | Make choose_sig_format a static member of Config rather than | lloyd | 2006-07-01 | 4 | -38/+18 |
| | | | | a standalone function. | ||||
* | Access the global configuration through an object reference instead | lloyd | 2006-07-01 | 29 | -384/+417 |
| | | | | | of stand-alone functions. Store the configuration in a distinct object, rather than just a map inside the library state. | ||||
* | Clean up initialization a little bit more | lloyd | 2006-07-01 | 5 | -43/+95 |
| | |||||
* | Yet more conf.h -> config.h changes | lloyd | 2006-07-01 | 3 | -3/+3 |
| | |||||
* | More config.h fixes | lloyd | 2006-07-01 | 6 | -6/+6 |
| | |||||
* | More config.h include fixes | lloyd | 2006-07-01 | 3 | -3/+3 |
| | |||||
* | Fix more config.h includes | lloyd | 2006-07-01 | 4 | -4/+4 |
| | |||||
* | Fix config.h includes | lloyd | 2006-07-01 | 5 | -5/+5 |
| | |||||
* | Fix botan.h to include config.h instead of conf.h | lloyd | 2006-07-01 | 1 | -1/+1 |
| |