NAME
ENGINE_register_all_RSA,
ENGINE_register_all_DSA,
ENGINE_register_all_ECDH,
ENGINE_register_all_ECDSA,
ENGINE_register_all_DH,
ENGINE_register_all_RAND,
ENGINE_register_all_STORE,
ENGINE_register_all_ciphers,
ENGINE_register_all_digests,
ENGINE_register_all_complete,
ENGINE_load_builtin_engines,
ENGINE_load_dynamic —
register all engines as implementing an
algorithm
SYNOPSIS
#include
<openssl/engine.h>
void
ENGINE_register_all_RSA(void);
void
ENGINE_register_all_DSA(void);
void
ENGINE_register_all_ECDH(void);
void
ENGINE_register_all_ECDSA(void);
void
ENGINE_register_all_DH(void);
void
ENGINE_register_all_RAND(void);
void
ENGINE_register_all_STORE(void);
void
ENGINE_register_all_ciphers(void);
void
ENGINE_register_all_digests(void);
int
ENGINE_register_all_complete(void);
void
ENGINE_load_builtin_engines(void);
void
ENGINE_load_dynamic(void);
DESCRIPTION
These functions loop over all the ENGINE objects contained in the global table described in the ENGINE_add(3) manual page. They register each object for the respective algorithm by calling the corresponding function described in ENGINE_register_RSA(3).
ENGINE_register_all_complete()
calls
ENGINE_register_complete()
in this way, except that it skips those ENGINE objects
that have the ENGINE_FLAGS_NO_REGISTER_ALL flag set
with
ENGINE_set_flags(3).
ENGINE_load_builtin_engines()
calls
OPENSSL_init_crypto(3) with no options, loads any built-in
engines that are enabled by default, and calls
ENGINE_register_all_complete(). Currently, LibreSSL
does not provide any engines.
GOST and
aesni
support is provided by the crypto library itself and does not require any
engines, not even built-in ones.
ENGINE_load_dynamic()
has no effect and is only provided for compatibility.
SEE ALSO
ENGINE_add(3), ENGINE_new(3), ENGINE_register_RSA(3), ENGINE_set_flags(3), OPENSSL_config(3), OPENSSL_init_crypto(3)
HISTORY
ENGINE_register_all_RSA(),
ENGINE_register_all_DSA(),
ENGINE_register_all_DH(),
ENGINE_register_all_RAND(),
ENGINE_register_all_ciphers(),
ENGINE_register_all_digests(),
ENGINE_register_all_complete(),
ENGINE_load_builtin_engines(), and
ENGINE_load_dynamic() first appeared in OpenSSL
0.9.7 and have been available since OpenBSD 3.2.
ENGINE_register_all_ECDH(),
ENGINE_register_all_ECDSA(), and
ENGINE_register_all_STORE() first appeared in
OpenSSL 0.9.8 and have been available since OpenBSD
4.5.