Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Replace Serpent's key_xor function with a macro, so the header can be | lloyd | 2006-08-15 | 1 | -1/+0 |
| | | | | shared between the C++ and assembly versions. | ||||
* | Merge the AES TD and TE arrays, so assembly versions can used indexed | lloyd | 2006-08-13 | 1 | -2/+1 |
| | | | | | addressing rather than having to keep all four pointers around. Unfortunately GCC does not seem to be taking advantage of this. | ||||
* | Remove an unneeded friend declaration for the division function. | lloyd | 2006-08-12 | 1 | -1/+0 |
| | |||||
* | The two classes that used to need direct access to the SHA-1 | lloyd | 2006-08-05 | 1 | -3/+0 |
| | | | | | internals (Gamma and FIPS_186_RNG) have both been removed, so there is no need to keep the friend declarations. | ||||
* | Make it possible to insert Engines into the front of the queue; | lloyd | 2006-08-05 | 1 | -1/+1 |
| | | | | | | otherwise any Engines added after startup (eg, application-specific ones) would only be used for new algorithm - it wouldn't be possible for them to override existing implementations. | ||||
* | The use_engines flag was not being respected; specifically, if there | lloyd | 2006-08-05 | 1 | -1/+1 |
| | | | | were any engines built into the library, they were used no matter what. | ||||
* | Move include of x509_ext.h to x509_ca.h, instead of using forward | lloyd | 2006-07-31 | 1 | -1/+2 |
| | | | | | | | | 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. | ||||
* | Remove FIPS140::good_edc; it has never been used and probably will not | lloyd | 2006-07-29 | 1 | -1/+0 |
| | | | | be in the forseeable future. | ||||
* | Change Builtin_Module constructor to take an InitializerOptions | lloyd | 2006-07-28 | 1 | -1/+2 |
| | | | | | | | | 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 | 1 | -0/+1 |
| | |||||
* | Add two more constructors to AlgorithmIdentifier, which take a | lloyd | 2006-07-22 | 1 | -0/+5 |
| | | | | | | 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 | ||||
* | Remove a declaration for add_alias, which was removed at some point | lloyd | 2006-07-16 | 2 | -5/+2 |
| | | | | | | | | | 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 | ||||
* | Extend the language offered by InitializerOptions a bit, so that | lloyd | 2006-07-13 | 1 | -1/+2 |
| | | | | | | boolean options can be explicitly turned off. Add support for checking the documented "fips140" argument | ||||
* | Add a LibraryInitializer constructor taking a std::string, which simply | lloyd | 2006-07-12 | 1 | -0/+1 |
| | | | | calls the InitializerOptions constructor. | ||||
* | Make Mutex_Factory an abstract class, move the creation of the no-op | lloyd | 2006-07-07 | 1 | -1/+10 |
| | | | | Default_Mutex to the new Default_Mutex_Factory | ||||
* | Respect the secure_memory config option | lloyd | 2006-07-02 | 1 | -0/+1 |
| | |||||
* | Move InitializerOptions out of the Init namespace | lloyd | 2006-07-02 | 1 | -11/+12 |
| | | | | | 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 | 1 | -0/+19 |
| | | | | Use for_each + the delete wrappers in libstate.cpp | ||||
* | Let modules override the transcoder object (since system libs | lloyd | 2006-07-01 | 1 | -0/+2 |
| | | | | like iconv may be useful there...) | ||||
* | Fix config handling (stupid mismatch was causing the getter for the | lloyd | 2006-07-01 | 2 | -2/+3 |
| | | | | | | config options to always fail). Move the default config stuff from libstate to the config object. | ||||
* | Make choose_sig_format a static member of Config rather than | lloyd | 2006-07-01 | 1 | -11/+4 |
| | | | | a standalone function. | ||||
* | Access the global configuration through an object reference instead | lloyd | 2006-07-01 | 3 | -23/+28 |
| | | | | | 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 | 2 | -10/+21 |
| | |||||
* | Fix botan.h to include config.h instead of conf.h | lloyd | 2006-07-01 | 1 | -1/+1 |
| | |||||
* | Rename conf.* to config.* | lloyd | 2006-07-01 | 1 | -0/+0 |
| | |||||
* | Modify types.h to include build.h instead of config.h | lloyd | 2006-07-01 | 1 | -1/+1 |
| | |||||
* | Various changes to how library initialization occurs, though I'm still | lloyd | 2006-06-26 | 2 | -12/+9 |
| | | | | not completely happy with it. | ||||
* | Add a static make_signed function to X509_Object | lloyd | 2006-06-25 | 1 | -0/+4 |
| | |||||
* | Support named mutexes outside of the global library state. | lloyd | 2006-06-25 | 2 | -5/+18 |
| | | | | | | Alter the AEP engine to use one in favor of a static Mutex pointer. Fix a stupid typo in an exception message. | ||||
* | Change how builtin modules are loaded - provide an interface to a | lloyd | 2006-06-25 | 1 | -16/+26 |
| | | | | | factory class. Currently hardcoded (Builtin_Modules, instantiated in init_def.cpp), but this will allow for some flexibility later on. | ||||
* | Fix two declarations that were incorrect. | lloyd | 2006-06-25 | 1 | -2/+2 |
| | |||||
* | Add a set_timer method to Library_State, and rearrange the order | lloyd | 2006-06-25 | 1 | -0/+1 |
| | | | | of initialization in the constructor. | ||||
* | Add a class that encapsulates the options given at initialization time | lloyd | 2006-06-25 | 1 | -0/+18 |
| | |||||
* | Have allocator objects 'know' their own names, rather than keeping them | lloyd | 2006-06-25 | 4 | -3/+6 |
| | | | | around as ancillary strings. | ||||
* | Make Library_State::x509_state() non-const to support lazy initialiation. | lloyd | 2006-06-25 | 1 | -1/+1 |
| | |||||
* | Remove a function in Certificate_Extension that was declared but | lloyd | 2006-06-25 | 1 | -7/+0 |
| | | | | | | | | | never defined. Remove all current support in Certificate_Extension for marking extensions critical - it was basically unused. Will be replaced by something that uses config_id() along with the user-modifiable policy settings. | ||||
* | Remove the older version of X509_CA::make_cert entirely | lloyd | 2006-06-25 | 1 | -10/+0 |
| | |||||
* | Add a new variant of X509_CA::make_cert that takes an Extensions object, | lloyd | 2006-06-25 | 1 | -0/+6 |
| | | | | | rather than creating it internally. The older version (still used internally) creates the Extensions object as before and passes it on. | ||||
* | Remove Extension::make_extension, use the global extension prototypes | lloyd | 2006-06-24 | 2 | -4/+1 |
| | | | | to create extensions as needed. | ||||
* | Add an X509_GlobalState pointer to the library state. | lloyd | 2006-06-24 | 2 | -1/+40 |
| | | | | Initial implementation of a factory for extension objects | ||||
* | Add a swap_global_state, to allow the use of multiple | lloyd | 2006-06-24 | 1 | -0/+1 |
| | | | | simultaneous library states. | ||||
* | Drop the old Extension type, which is now no longer used. | lloyd | 2006-06-23 | 1 | -18/+0 |
| | |||||
* | Use accessor functions for CRL_Entry, instead of having public data | lloyd | 2006-06-23 | 1 | -2/+8 |
| | |||||
* | Use Extensions instead of handle_crl_extension in X509_CRL | lloyd | 2006-06-23 | 1 | -2/+0 |
| | | | | Fix the definition of crl_number | ||||
* | The decode_from taking a bool wasn't actually usable, don't | lloyd | 2006-06-23 | 1 | -2/+2 |
| | | | | | | | know why I thought it would work (that function is only called through the interface presented to the BER/DER codecs). Instead, pass a bool to the constructor. | ||||
* | Use Data_Store in X509_CRL | lloyd | 2006-06-23 | 1 | -4/+2 |
| | |||||
* | Use the Extensions class, remove PKCS10_Request::handle_v3_extension | lloyd | 2006-06-23 | 1 | -1/+0 |
| | |||||
* | Move all the members of PKCS10_Request into a Data_Store | lloyd | 2006-06-23 | 1 | -8/+2 |
| | |||||
* | Make create_dn (from x509cert.cpp) a public function. Add a | lloyd | 2006-06-23 | 1 | -0/+6 |
| | | | | | create_alt_name that performs the same sort of extraction for alternative names. | ||||
* | Add a new variant of Extensions::decode_from that doesn't thrown an | lloyd | 2006-06-23 | 1 | -0/+1 |
| | | | | exception if it finds an unknown critical extension. |