aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/engine/eng_table.c
Commit message (Collapse)AuthorAgeFilesLines
* Copyright consolidation 09/10Rich Salz2016-05-171-51/+6
| | | | Reviewed-by: Richard Levitte <levitte@openssl.org>
* Move engine library over to using the new thread APIMatt Caswell2016-03-091-8/+8
| | | | | | Remove usage of CRYPTO_LOCK_ENGINE Reviewed-by: Richard Levitte <levitte@openssl.org>
* GH601: Various spelling fixes.FdaSilvaYY2016-02-051-1/+1
| | | | | Signed-off-by: Rich Salz <rsalz@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org>
* Add lh_doall_arg inliningDr. Stephen Henson2016-01-111-10/+6
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add lh_doall inliningDr. Stephen Henson2016-01-111-4/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Add lh_new() inliningDr. Stephen Henson2016-01-111-4/+1
| | | | Reviewed-by: Rich Salz <rsalz@openssl.org>
* Inline LHASH_OFDr. Stephen Henson2016-01-111-4/+2
| | | | | | | | | | | Make LHASH_OF use static inline functions. Add new lh_get_down_load and lh_set_down_load functions and their typesafe inline equivalents. Make lh_error a function instead of a macro. Reviewed-by: Rich Salz <rsalz@openssl.org>
* Continue standardising malloc style for libcryptoMatt Caswell2015-11-091-1/+1
| | | | | | | Continuing from previous commit ensure our style is consistent for malloc return checks. Reviewed-by: Kurt Roeckx <kurt@openssl.org>
* Identify and move common internal libcrypto header filesRichard Levitte2015-05-141-1/+1
| | | | | | | | | | | | | There are header files in crypto/ that are used by a number of crypto/ submodules. Move those to crypto/include/internal and adapt the affected source code and Makefiles. The header files that got moved are: crypto/cryptolib.h crypto/md32_common.h Reviewed-by: Rich Salz <rsalz@openssl.org>
* Use safer sizeof variant in mallocRich Salz2015-05-041-1/+1
| | | | | | | | | | | | | For a local variable: TYPE *p; Allocations like this are "risky": p = OPENSSL_malloc(sizeof(TYPE)); if the type of p changes, and the malloc call isn't updated, you could get memory corruption. Instead do this: p = OPENSSL_malloc(sizeof(*p)); Also fixed a few memset() calls that I noticed while doing this. Reviewed-by: Richard Levitte <levitte@openssl.org>
* free NULL cleanup 11Rich Salz2015-05-011-0/+2
| | | | | | | | | | | | | | | | | | | Don't check for NULL before calling free functions. This gets: ERR_STATE_free ENGINE_free DSO_free CMAC_CTX_free COMP_CTX_free CONF_free NCONF_free NCONF_free_data _CONF_free_data A sk_free use within OBJ_sigid_free TS_TST_INFO_free (rest of TS_ API was okay) Doc update for UI_free (all uses were fine) X509V3_conf_free X509V3_section_free X509V3_string_free Reviewed-by: Richard Levitte <levitte@openssl.org>
* Run util/openssl-format-source -v -c .Matt Caswell2015-01-221-235/+240
| | | | Reviewed-by: Tim Hudson <tjh@openssl.org>
* Please Clang's sanitizer, addendum.Andy Polyakov2014-07-081-2/+4
|
* misspellings fixes by https://github.com/vlajos/misspell_fixerVeres Lajos2013-09-051-1/+1
|
* In engine_table_select() don't clear out entire error queue: just clearDr. Stephen Henson2010-01-281-1/+2
| | | | | out any we added using ERR_set_mark() and ERR_pop_to_mark() otherwise errors from other sources (e.g. SSL library) can be wiped.
* Avoid warnings with -pedantic, specifically:Dr. Stephen Henson2008-07-041-1/+1
| | | | | | Conversion between void * and function pointer. Value computed not used. Signed/unsigned argument.
* Avoid "duplicate const" warnings.Dr. Stephen Henson2008-05-271-2/+2
|
* LHASH revamp. make depend.Ben Laurie2008-05-261-21/+30
|
* Fix auto-discovery of ENGINEs. See the CHANGES entry for details (and/orGeoff Thorpe2008-04-281-4/+4
| | | | | | | | ticket #1668). PR: 1668 Submitted by: Ian Lister Reviewed by: Geoff Thorpe
* Lookup public key ASN1 methods by string by iterating through allDr. Stephen Henson2007-11-211-0/+26
| | | | | implementations instead of all added ENGINEs to cover case where an ENGINE is not added.
* Change safestack reimplementation to match 0.9.8.Dr. Stephen Henson2007-09-071-2/+2
| | | | Fix additional gcc 4.2 value not used warnings.
* Incomplete initial sweep over the engine code. Mainly reducing someGeoff Thorpe2004-06-191-69/+22
| | | | | comment-noise to managable levels and inverting the sense of the "uptodate" boolean (which was counter-intuitive the way I'd left it).
* Reduce header interdependencies, initially in engine.h (the rest of theGeoff Thorpe2004-04-191-1/+2
| | | | | | | | | changes are the fallout). As this could break source code that doesn't directly include headers for interfaces it uses, changes to recursive includes are covered by the OPENSSL_NO_DEPRECATED symbol. It's better to define this when building and using openssl, and then adapt code where necessary - this is how to stay current. However the mechanism exists for the lethargic.
* 2001, not 2000Bodo Möller2001-11-091-1/+1
|
* Missing pointer in the eng_table_register function. Reported byGeoff Thorpe2001-10-081-1/+1
| | | | Martin Szotkowski.
* Fix warning.Ben Laurie2001-09-261-1/+1
|
* This change replaces the ENGINE's underlying mechanics with the newGeoff Thorpe2001-09-251-0/+361
ENGINE_TABLE-based stuff - as described in crypto/engine/README. Associated miscellaneous changes; - the previous cipher/digest hooks that hardwired directly to EVP's OBJ_NAME-based storage have been backed out. New cipher/digest support has been constructed and will be committed shortly. - each implementation defines its own ENGINE_load_<name> function now. - the "openssl" ENGINE isn't needed or loaded any more. - core (not algorithm or class specific) ENGINE code has been split into multiple files to increase readability and decrease linker bloat. - ENGINE_cpy() has been removed as it wasn't really a good idea in the first place and now, because of registration issues, can't be meaningfully defined any more. - BN_MOD_EXP[_CRT] support is removed as per the README. - a bug in enginetest.c has been fixed. NB: This commit almost certainly breaks compilation until subsequent changes are committed.