Sortix main manual
This manual documents Sortix main. You can instead view this document in the latest official manual.
NAME
ENGINE_set_RSA, ENGINE_get_RSA, ENGINE_set_DSA, ENGINE_get_DSA, ENGINE_set_ECDH, ENGINE_get_ECDH, ENGINE_set_ECDSA, ENGINE_get_ECDSA, ENGINE_set_DH, ENGINE_get_DH, ENGINE_set_RAND, ENGINE_get_RAND, ENGINE_set_STORE, ENGINE_get_STORE, ENGINE_set_ciphers, ENGINE_get_ciphers, ENGINE_get_cipher, ENGINE_set_digests, ENGINE_get_digests, ENGINE_get_digest — install and retrieve function tables of crypto enginesSYNOPSIS
#include <openssl/engine.h>ENGINE_set_RSA(ENGINE *e, const RSA_METHOD *rsa_meth);
ENGINE_get_RSA(const ENGINE *e);
ENGINE_set_DSA(ENGINE *e, const DSA_METHOD *dsa_meth);
ENGINE_get_DSA(const ENGINE *e);
ENGINE_set_ECDH(ENGINE *e, const ECDH_METHOD *dh_meth);
ENGINE_get_ECDH(const ENGINE *e);
ENGINE_set_ECDSA(ENGINE *e, const ECDSA_METHOD *dh_meth);
ENGINE_get_ECDSA(const ENGINE *e);
ENGINE_set_DH(ENGINE *e, const DH_METHOD *dh_meth);
ENGINE_get_DH(const ENGINE *e);
ENGINE_set_RAND(ENGINE *e, const RAND_METHOD *rand_meth);
ENGINE_get_RAND(const ENGINE *e);
ENGINE_set_STORE(ENGINE *e, const STORE_METHOD *rand_meth);
ENGINE_get_STORE(const ENGINE *e);
(*ENGINE_CIPHERS_PTR)(ENGINE *e, const EVP_CIPHER **impl, const int **nids, int nid);
ENGINE_set_ciphers(ENGINE *e, ENGINE_CIPHERS_PTR f);
ENGINE_get_ciphers(const ENGINE *e);
ENGINE_get_cipher(ENGINE *e, int nid);
(*ENGINE_DIGESTS_PTR)(ENGINE *e, const EVP_MD **impl, const int **nids, int nid);
ENGINE_set_digests(ENGINE *e, ENGINE_DIGESTS_PTR f);
ENGINE_get_digests(const ENGINE *e);
ENGINE_get_digest(ENGINE *e, int nid);
DESCRIPTION
The ENGINE_set_*() functions install a table of function pointers implementing the respective algorithm in e. Partial information about the various method objects is available from RSA_meth_new(3), RSA_get_default_method(3), DSA_meth_new(3), DSA_get_default_method(3), ECDH_get_default_method(), ECDSA_get_default_method(3), DH_get_default_method(3), RAND_get_rand_method(3), EVP_get_cipherbynid(3), and EVP_get_digestbynid(3). STORE_METHOD is an incomplete type, and the pointers to it are not used for anything. For complete descriptions of these types, refer to the respective header files.Accessor: | Called by: |
ENGINE_get_RSA() | RSA_new_method(3), RSA_new(3) |
ENGINE_get_DSA() | DSA_new_method(3), DSA_new(3) |
ENGINE_get_ECDH() | ECDH_set_method(), ECDH_compute_key() |
ENGINE_get_ECDSA() | ECDSA_set_method(3), ECDSA_sign_setup(3), ECDSA_do_sign_ex(3), ECDSA_do_verify(3) |
ENGINE_get_DH() | DH_new_method(3), DH_new(3) |
ENGINE_get_RAND() | unused |
ENGINE_get_STORE() | unused |
ENGINE_get_cipher() | EVP_CipherInit_ex(3) |
ENGINE_get_digest() | EVP_DigestInit_ex(3) |