summaryrefslogtreecommitdiffstats
path: root/crypto/engine
AgeCommit message (Collapse)Author
2001-02-04Make depend.Ben Laurie
2000-12-27Avoid compiler warnings in hw_ubsec.c: unused staticDr. Stephen Henson
functions and signed/unsigned mismatch. This will of course change if some of the unused functions suddenly get used...
2000-12-14This is an engine contributed by Broadcom - it is meant to support theGeoff Thorpe
BCM5805 and BCM5820 units. So far I've merely taken a skim over the code and changed a few things from their original contributed source (de-shadowing variables, removing variables from the header, and re-constifying some functions to remove warnings). If this gives compilation problems on any system, please let me know. We will hopefully know for sure whether this actually functions on a system with the relevant hardware in a day or two. :-)
2000-12-05On Windows, Rainbow uses _stdcall convention under Windows.Richard Levitte
Spotted by plin <plin@rainbow.com>
2000-11-16I have no idea how this comment got there, but it's certainly notGeoff Thorpe
applicable to ENGINE_ctrl()
2000-11-16Many applications that use OpenSSL with ENGINE support might face aGeoff Thorpe
situation where they've initialised the ENGINE, loaded keys (which are then linked to that ENGINE), and performed other checks (such as verifying certificate chains etc). At that point, if the application goes multi-threaded or multi-process it creates problems for any ENGINE implementations that are either not thread/process safe or that perform optimally when they do not have to perform locking and other contention management tasks at "run-time". This defines a new ENGINE_ctrl() command that can be supported by engines at their discretion. If ENGINE_ctrl(..., ENGINE_CTRL_HUP,...) returns an error then the caller should check if the *_R_COMMAND_NOT_IMPLEMENTED error reason was set - it may just be that the engine doesn't support or need the HUP command, or it could be that the attempted reinitialisation failed. A crude alternative is to ignore the return value from ENGINE_ctrl() (and clear any errors with ERR_clear_error()) and perform a test operation immediately after the "HUP". Very crude indeed. ENGINEs can support this command to close and reopen connections, files, handles, or whatever as an alternative to run-time locking when such things would otherwise be needed. In such a case, it's advisable for the engine implementations to support locking by default but disable it after the arrival of a HUP command, or any other indication by the application that locking is not required. NB: This command exists to allow an ENGINE to reinitialise without the ENGINE's functional reference count having to sink down to zero and back up - which is what is normally required for the finish() and init() handlers to get invoked. It would also be a bad idea for engine_lib to catch this command itself and interpret it by calling the engine's init() and finish() handlers directly, because reinitialisation may need special handling on a case-by-case basis that is distinct from a finish/init pair - eg. calling a finish() handler may invalidate the state stored inside individual keys that have already loaded for this engine.
2000-11-14Modify () to (void), since that's what is actually defined in theRichard Levitte
engine structure, and some ANSI C compilers will complain otherwise.
2000-11-12in some new file names the first 8 characters were not uniqueUlf Möller
2000-11-08Remove references to RSAref. The glue library is but a memory to fadeRichard Levitte
away now...
2000-11-07Constify DH-related code.Richard Levitte
2000-11-07Constify DSA-related code.Richard Levitte
2000-11-07Make sure ERR_get_error() is declared.Richard Levitte
2000-11-07When ENGINE_by_id() couldn't find the given engine id, it generates anRichard Levitte
error. When checking like engine_add() is, those errors are actually good, so remove them.
2000-11-06As a consequence of the BIGNUM constification, the ENGINE code needs aRichard Levitte
few small constifying changes, and why not throw in a couple of extras while I'm at it?
2000-11-03Richard moved hw_nuron.c over to DSO-land recently, so this include isn'tGeoff Thorpe
needed now.
2000-11-03Minor corrections (HPUX).Ulf Möller
From: Lutz Jaenicke <Lutz.Jaenicke@aet.TU-Cottbus.DE>
2000-11-02Change the engine library so the application writer has to explicitelyRichard Levitte
load the "external" built-in engines (those that require DSO). This makes linking with libdl or other dso libraries non-mandatory. Change 'openssl engine' accordingly. Change the engine header files so some declarations (that differed at that!) aren't duplicated, and make sure engine_int.h includes engine.h. That way, there should be no way of missing the needed info.
2000-10-26Merge the engine branch into the main trunk. All conflicts resolved.Richard Levitte
At the same time, add VMS support for Rijndael.