engine.h File Reference

API published in:
API deprecated in:


#include <openssl/opensslconf.h>
#include <openssl/bn.h>
#include <openssl/rsa.h>
#include <openssl/dsa.h>
#include <openssl/dh.h>
#include <openssl/ecdh.h>
#include <openssl/ecdsa.h>
#include <openssl/rand.h>
#include <openssl/store.h>
#include <openssl/ui.h>
#include <openssl/err.h>
#include <openssl/ossl_typ.h>
#include <openssl/symhacks.h>

Go to the source code of this file.


Data Structures

struct   ENGINE_CMD_DEFN_st
struct   st_dynamic_MEM_fns
struct   st_dynamic_LOCK_fns
struct   st_dynamic_fns

Defines

#define  ENGINE_METHOD_RSA   (unsigned int)0x0001
#define  ENGINE_METHOD_DSA   (unsigned int)0x0002
#define  ENGINE_METHOD_DH   (unsigned int)0x0004
#define  ENGINE_METHOD_RAND   (unsigned int)0x0008
#define  ENGINE_METHOD_ECDH   (unsigned int)0x0010
#define  ENGINE_METHOD_ECDSA   (unsigned int)0x0020
#define  ENGINE_METHOD_CIPHERS   (unsigned int)0x0040
#define  ENGINE_METHOD_DIGESTS   (unsigned int)0x0080
#define  ENGINE_METHOD_STORE   (unsigned int)0x0100
#define  ENGINE_METHOD_ALL   (unsigned int)0xFFFF
#define  ENGINE_METHOD_NONE   (unsigned int)0x0000
#define  ENGINE_TABLE_FLAG_NOINIT   (unsigned int)0x0001
#define  ENGINE_FLAGS_MANUAL_CMD_CTRL   (int)0x0002
#define  ENGINE_FLAGS_BY_ID_COPY   (int)0x0004
#define  ENGINE_CMD_FLAG_NUMERIC   (unsigned int)0x0001
#define  ENGINE_CMD_FLAG_STRING   (unsigned int)0x0002
#define  ENGINE_CMD_FLAG_NO_INPUT   (unsigned int)0x0004
#define  ENGINE_CMD_FLAG_INTERNAL   (unsigned int)0x0008
#define  ENGINE_CTRL_SET_LOGSTREAM   1
#define  ENGINE_CTRL_SET_PASSWORD_CALLBACK   2
#define  ENGINE_CTRL_HUP   3
#define  ENGINE_CTRL_SET_USER_INTERFACE   4
#define  ENGINE_CTRL_SET_CALLBACK_DATA   5
#define  ENGINE_CTRL_LOAD_CONFIGURATION   6
#define  ENGINE_CTRL_LOAD_SECTION   7
#define  ENGINE_CTRL_HAS_CTRL_FUNCTION   10
#define  ENGINE_CTRL_GET_FIRST_CMD_TYPE   11
#define  ENGINE_CTRL_GET_NEXT_CMD_TYPE   12
#define  ENGINE_CTRL_GET_CMD_FROM_NAME   13
#define  ENGINE_CTRL_GET_NAME_LEN_FROM_CMD   14
#define  ENGINE_CTRL_GET_NAME_FROM_CMD   15
#define  ENGINE_CTRL_GET_DESC_LEN_FROM_CMD   16
#define  ENGINE_CTRL_GET_DESC_FROM_CMD   17
#define  ENGINE_CTRL_GET_CMD_FLAGS   18
#define  ENGINE_CMD_BASE   200
#define  ENGINE_CTRL_CHIL_SET_FORKCHECK   100
#define  ENGINE_CTRL_CHIL_NO_LOCKING   101
#define  OSSL_DYNAMIC_VERSION   (unsigned long)0x00020000
#define  OSSL_DYNAMIC_OLDEST   (unsigned long)0x00020000
#define  IMPLEMENT_DYNAMIC_CHECK_FN()
#define  IMPLEMENT_DYNAMIC_BIND_FN(fn)
#define  ENGINE_F_DYNAMIC_CTRL   180
#define  ENGINE_F_DYNAMIC_GET_DATA_CTX   181
#define  ENGINE_F_DYNAMIC_LOAD   182
#define  ENGINE_F_DYNAMIC_SET_DATA_CTX   183
#define  ENGINE_F_ENGINE_ADD   105
#define  ENGINE_F_ENGINE_BY_ID   106
#define  ENGINE_F_ENGINE_CMD_IS_EXECUTABLE   170
#define  ENGINE_F_ENGINE_CTRL   142
#define  ENGINE_F_ENGINE_CTRL_CMD   178
#define  ENGINE_F_ENGINE_CTRL_CMD_STRING   171
#define  ENGINE_F_ENGINE_FINISH   107
#define  ENGINE_F_ENGINE_FREE_UTIL   108
#define  ENGINE_F_ENGINE_GET_CIPHER   185
#define  ENGINE_F_ENGINE_GET_DEFAULT_TYPE   177
#define  ENGINE_F_ENGINE_GET_DIGEST   186
#define  ENGINE_F_ENGINE_GET_NEXT   115
#define  ENGINE_F_ENGINE_GET_PREV   116
#define  ENGINE_F_ENGINE_INIT   119
#define  ENGINE_F_ENGINE_LIST_ADD   120
#define  ENGINE_F_ENGINE_LIST_REMOVE   121
#define  ENGINE_F_ENGINE_LOAD_PRIVATE_KEY   150
#define  ENGINE_F_ENGINE_LOAD_PUBLIC_KEY   151
#define  ENGINE_F_ENGINE_NEW   122
#define  ENGINE_F_ENGINE_REMOVE   123
#define  ENGINE_F_ENGINE_SET_DEFAULT_STRING   189
#define  ENGINE_F_ENGINE_SET_DEFAULT_TYPE   126
#define  ENGINE_F_ENGINE_SET_ID   129
#define  ENGINE_F_ENGINE_SET_NAME   130
#define  ENGINE_F_ENGINE_TABLE_REGISTER   184
#define  ENGINE_F_ENGINE_UNLOAD_KEY   152
#define  ENGINE_F_ENGINE_UNLOCKED_FINISH   191
#define  ENGINE_F_ENGINE_UP_REF   190
#define  ENGINE_F_INT_CTRL_HELPER   172
#define  ENGINE_F_INT_ENGINE_CONFIGURE   188
#define  ENGINE_F_INT_ENGINE_MODULE_INIT   187
#define  ENGINE_F_LOG_MESSAGE   141
#define  ENGINE_R_ALREADY_LOADED   100
#define  ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER   133
#define  ENGINE_R_CMD_NOT_EXECUTABLE   134
#define  ENGINE_R_COMMAND_TAKES_INPUT   135
#define  ENGINE_R_COMMAND_TAKES_NO_INPUT   136
#define  ENGINE_R_CONFLICTING_ENGINE_ID   103
#define  ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED   119
#define  ENGINE_R_DH_NOT_IMPLEMENTED   139
#define  ENGINE_R_DSA_NOT_IMPLEMENTED   140
#define  ENGINE_R_DSO_FAILURE   104
#define  ENGINE_R_DSO_NOT_FOUND   132
#define  ENGINE_R_ENGINES_SECTION_ERROR   148
#define  ENGINE_R_ENGINE_IS_NOT_IN_LIST   105
#define  ENGINE_R_ENGINE_SECTION_ERROR   149
#define  ENGINE_R_FAILED_LOADING_PRIVATE_KEY   128
#define  ENGINE_R_FAILED_LOADING_PUBLIC_KEY   129
#define  ENGINE_R_FINISH_FAILED   106
#define  ENGINE_R_GET_HANDLE_FAILED   107
#define  ENGINE_R_ID_OR_NAME_MISSING   108
#define  ENGINE_R_INIT_FAILED   109
#define  ENGINE_R_INTERNAL_LIST_ERROR   110
#define  ENGINE_R_INVALID_ARGUMENT   143
#define  ENGINE_R_INVALID_CMD_NAME   137
#define  ENGINE_R_INVALID_CMD_NUMBER   138
#define  ENGINE_R_INVALID_INIT_VALUE   151
#define  ENGINE_R_INVALID_STRING   150
#define  ENGINE_R_NOT_INITIALISED   117
#define  ENGINE_R_NOT_LOADED   112
#define  ENGINE_R_NO_CONTROL_FUNCTION   120
#define  ENGINE_R_NO_INDEX   144
#define  ENGINE_R_NO_LOAD_FUNCTION   125
#define  ENGINE_R_NO_REFERENCE   130
#define  ENGINE_R_NO_SUCH_ENGINE   116
#define  ENGINE_R_NO_UNLOAD_FUNCTION   126
#define  ENGINE_R_PROVIDE_PARAMETERS   113
#define  ENGINE_R_RSA_NOT_IMPLEMENTED   141
#define  ENGINE_R_UNIMPLEMENTED_CIPHER   146
#define  ENGINE_R_UNIMPLEMENTED_DIGEST   147
#define  ENGINE_R_VERSION_INCOMPATIBILITY   145

Typedefs

typedef ENGINE_CMD_DEFN_st  ENGINE_CMD_DEFN
typedef int(*  ENGINE_GEN_FUNC_PTR )(void)
typedef int(*  ENGINE_GEN_INT_FUNC_PTR )(ENGINE *)
typedef int(*  ENGINE_CTRL_FUNC_PTR )(ENGINE *, int, long, void *, void(*f)(void))
typedef EVP_PKEY *(*  ENGINE_LOAD_KEY_PTR )(ENGINE *, const char *, UI_METHOD *ui_method, void *callback_data)
typedef int(*  ENGINE_CIPHERS_PTR )(ENGINE *, const EVP_CIPHER **, const int **, int)
typedef int(*  ENGINE_DIGESTS_PTR )(ENGINE *, const EVP_MD **, const int **, int)
typedef void *(*  dyn_MEM_malloc_cb )(size_t)
typedef void *(*  dyn_MEM_realloc_cb )(void *, size_t)
typedef void(*  dyn_MEM_free_cb )(void *)
typedef st_dynamic_MEM_fns  dynamic_MEM_fns
typedef void(*  dyn_lock_locking_cb )(int, int, const char *, int)
typedef int(*  dyn_lock_add_lock_cb )(int *, int, int, const char *, int)
typedef CRYPTO_dynlock_value *(*  dyn_dynlock_create_cb )(const char *, int)
typedef void(*  dyn_dynlock_lock_cb )(int, struct CRYPTO_dynlock_value *, const char *, int)
typedef void(*  dyn_dynlock_destroy_cb )(struct CRYPTO_dynlock_value *, const char *, int)
typedef st_dynamic_LOCK_fns  dynamic_LOCK_fns
typedef st_dynamic_fns  dynamic_fns
typedef unsigned long(*  dynamic_v_check_fn )(unsigned long ossl_version)
typedef int(*  dynamic_bind_engine )(ENGINE *e, const char *id, const dynamic_fns *fns)

Functions

IMPORT_C ENGINE ENGINE_get_first (void)
IMPORT_C ENGINE ENGINE_get_last (void)
IMPORT_C ENGINE ENGINE_get_next (ENGINE *e)
IMPORT_C ENGINE ENGINE_get_prev (ENGINE *e)
IMPORT_C int  ENGINE_add (ENGINE *e)
IMPORT_C int  ENGINE_remove (ENGINE *e)
IMPORT_C ENGINE ENGINE_by_id (const char *id)
IMPORT_C void  ENGINE_load_openssl (void)
IMPORT_C void  ENGINE_load_dynamic (void)
void  ENGINE_load_gmp (void)
IMPORT_C void  ENGINE_load_cryptodev (void)
IMPORT_C void  ENGINE_load_builtin_engines (void)
IMPORT_C unsigned int  ENGINE_get_table_flags (void)
IMPORT_C void  ENGINE_set_table_flags (unsigned int flags)
IMPORT_C int  ENGINE_register_RSA (ENGINE *e)
IMPORT_C void  ENGINE_unregister_RSA (ENGINE *e)
IMPORT_C void  ENGINE_register_all_RSA (void)
IMPORT_C int  ENGINE_register_DSA (ENGINE *e)
IMPORT_C void  ENGINE_unregister_DSA (ENGINE *e)
IMPORT_C void  ENGINE_register_all_DSA (void)
IMPORT_C int  ENGINE_register_DH (ENGINE *e)
IMPORT_C void  ENGINE_unregister_DH (ENGINE *e)
IMPORT_C void  ENGINE_register_all_DH (void)
IMPORT_C int  ENGINE_register_RAND (ENGINE *e)
IMPORT_C void  ENGINE_unregister_RAND (ENGINE *e)
IMPORT_C void  ENGINE_register_all_RAND (void)
IMPORT_C int  ENGINE_register_STORE (ENGINE *e)
IMPORT_C void  ENGINE_unregister_STORE (ENGINE *e)
IMPORT_C void  ENGINE_register_all_STORE (void)
IMPORT_C int  ENGINE_register_ciphers (ENGINE *e)
IMPORT_C void  ENGINE_unregister_ciphers (ENGINE *e)
IMPORT_C void  ENGINE_register_all_ciphers (void)
IMPORT_C int  ENGINE_register_digests (ENGINE *e)
IMPORT_C void  ENGINE_unregister_digests (ENGINE *e)
IMPORT_C void  ENGINE_register_all_digests (void)
IMPORT_C int  ENGINE_register_complete (ENGINE *e)
IMPORT_C int  ENGINE_register_all_complete (void)
IMPORT_C int  ENGINE_ctrl (ENGINE *e, int cmd, long i, void *p, void(*f)(void))
IMPORT_C int  ENGINE_cmd_is_executable (ENGINE *e, int cmd)
IMPORT_C int  ENGINE_ctrl_cmd (ENGINE *e, const char *cmd_name, long i, void *p, void(*f)(void), int cmd_optional)
IMPORT_C int  ENGINE_ctrl_cmd_string (ENGINE *e, const char *cmd_name, const char *arg, int cmd_optional)
IMPORT_C ENGINE ENGINE_new (void)
IMPORT_C int  ENGINE_free (ENGINE *e)
IMPORT_C int  ENGINE_up_ref (ENGINE *e)
IMPORT_C int  ENGINE_set_id (ENGINE *e, const char *id)
IMPORT_C int  ENGINE_set_name (ENGINE *e, const char *name)
IMPORT_C int  ENGINE_set_RSA (ENGINE *e, const RSA_METHOD *rsa_meth)
IMPORT_C int  ENGINE_set_DSA (ENGINE *e, const DSA_METHOD *dsa_meth)
IMPORT_C int  ENGINE_set_DH (ENGINE *e, const DH_METHOD *dh_meth)
IMPORT_C int  ENGINE_set_RAND (ENGINE *e, const RAND_METHOD *rand_meth)
IMPORT_C int  ENGINE_set_STORE (ENGINE *e, const STORE_METHOD *store_meth)
IMPORT_C int  ENGINE_set_destroy_function (ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f)
IMPORT_C int  ENGINE_set_init_function (ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f)
IMPORT_C int  ENGINE_set_finish_function (ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f)
IMPORT_C int  ENGINE_set_ctrl_function (ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f)
IMPORT_C int  ENGINE_set_load_privkey_function (ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f)
IMPORT_C int  ENGINE_set_load_pubkey_function (ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f)
IMPORT_C int  ENGINE_set_ciphers (ENGINE *e, ENGINE_CIPHERS_PTR f)
IMPORT_C int  ENGINE_set_digests (ENGINE *e, ENGINE_DIGESTS_PTR f)
IMPORT_C int  ENGINE_set_flags (ENGINE *e, int flags)
IMPORT_C int  ENGINE_set_cmd_defns (ENGINE *e, const ENGINE_CMD_DEFN *defns)
IMPORT_C int  ENGINE_get_ex_new_index (long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
IMPORT_C int  ENGINE_set_ex_data (ENGINE *e, int idx, void *arg)
IMPORT_C void *  ENGINE_get_ex_data (const ENGINE *e, int idx)
IMPORT_C void  ENGINE_cleanup (void)
IMPORT_C const char *  ENGINE_get_id (const ENGINE *e)
IMPORT_C const char *  ENGINE_get_name (const ENGINE *e)
IMPORT_C const RSA_METHOD ENGINE_get_RSA (const ENGINE *e)
IMPORT_C const DSA_METHOD ENGINE_get_DSA (const ENGINE *e)
IMPORT_C const DH_METHOD ENGINE_get_DH (const ENGINE *e)
IMPORT_C const RAND_METHOD ENGINE_get_RAND (const ENGINE *e)
IMPORT_C const STORE_METHOD ENGINE_get_STORE (const ENGINE *e)
IMPORT_C ENGINE_GEN_INT_FUNC_PTR  ENGINE_get_destroy_function (const ENGINE *e)
IMPORT_C ENGINE_GEN_INT_FUNC_PTR  ENGINE_get_init_function (const ENGINE *e)
IMPORT_C ENGINE_GEN_INT_FUNC_PTR  ENGINE_get_finish_function (const ENGINE *e)
IMPORT_C ENGINE_CTRL_FUNC_PTR  ENGINE_get_ctrl_function (const ENGINE *e)
IMPORT_C ENGINE_LOAD_KEY_PTR  ENGINE_get_load_privkey_function (const ENGINE *e)
IMPORT_C ENGINE_LOAD_KEY_PTR  ENGINE_get_load_pubkey_function (const ENGINE *e)
IMPORT_C ENGINE_CIPHERS_PTR  ENGINE_get_ciphers (const ENGINE *e)
IMPORT_C ENGINE_DIGESTS_PTR  ENGINE_get_digests (const ENGINE *e)
IMPORT_C const EVP_CIPHER ENGINE_get_cipher (ENGINE *e, int nid)
IMPORT_C const EVP_MD ENGINE_get_digest (ENGINE *e, int nid)
IMPORT_C const ENGINE_CMD_DEFN ENGINE_get_cmd_defns (const ENGINE *e)
IMPORT_C int  ENGINE_get_flags (const ENGINE *e)
IMPORT_C int  ENGINE_init (ENGINE *e)
IMPORT_C int  ENGINE_finish (ENGINE *e)
IMPORT_C EVP_PKEY ENGINE_load_private_key (ENGINE *e, const char *key_id, UI_METHOD *ui_method, void *callback_data)
IMPORT_C EVP_PKEY ENGINE_load_public_key (ENGINE *e, const char *key_id, UI_METHOD *ui_method, void *callback_data)
IMPORT_C ENGINE ENGINE_get_default_RSA (void)
IMPORT_C ENGINE ENGINE_get_default_DSA (void)
IMPORT_C ENGINE ENGINE_get_default_DH (void)
IMPORT_C ENGINE ENGINE_get_default_RAND (void)
IMPORT_C ENGINE ENGINE_get_cipher_engine (int nid)
IMPORT_C ENGINE ENGINE_get_digest_engine (int nid)
IMPORT_C int  ENGINE_set_default_RSA (ENGINE *e)
IMPORT_C int  ENGINE_set_default_string (ENGINE *e, const char *def_list)
IMPORT_C int  ENGINE_set_default_DSA (ENGINE *e)
int  ENGINE_set_default_ECDH (ENGINE *e)
int  ENGINE_set_default_ECDSA (ENGINE *e)
IMPORT_C int  ENGINE_set_default_DH (ENGINE *e)
IMPORT_C int  ENGINE_set_default_RAND (ENGINE *e)
IMPORT_C int  ENGINE_set_default_ciphers (ENGINE *e)
IMPORT_C int  ENGINE_set_default_digests (ENGINE *e)
IMPORT_C int  ENGINE_set_default (ENGINE *e, unsigned int flags)
IMPORT_C void  ENGINE_add_conf_module (void)
IMPORT_C void *  ENGINE_get_static_state (void)
IMPORT_C void  ERR_load_ENGINE_strings (void)

Define Documentation

#define ENGINE_CMD_BASE   200
 
#define ENGINE_CMD_FLAG_INTERNAL   (unsigned int)0x0008
 
#define ENGINE_CMD_FLAG_NO_INPUT   (unsigned int)0x0004
 
#define ENGINE_CMD_FLAG_NUMERIC   (unsigned int)0x0001
 
#define ENGINE_CMD_FLAG_STRING   (unsigned int)0x0002
 
#define ENGINE_CTRL_CHIL_NO_LOCKING   101
 
#define ENGINE_CTRL_CHIL_SET_FORKCHECK   100
 
#define ENGINE_CTRL_GET_CMD_FLAGS   18
 
#define ENGINE_CTRL_GET_CMD_FROM_NAME   13
 
#define ENGINE_CTRL_GET_DESC_FROM_CMD   17
 
#define ENGINE_CTRL_GET_DESC_LEN_FROM_CMD   16
 
#define ENGINE_CTRL_GET_FIRST_CMD_TYPE   11
 
#define ENGINE_CTRL_GET_NAME_FROM_CMD   15
 
#define ENGINE_CTRL_GET_NAME_LEN_FROM_CMD   14
 
#define ENGINE_CTRL_GET_NEXT_CMD_TYPE   12
 
#define ENGINE_CTRL_HAS_CTRL_FUNCTION   10
 
#define ENGINE_CTRL_HUP   3
 
#define ENGINE_CTRL_LOAD_CONFIGURATION   6
 
#define ENGINE_CTRL_LOAD_SECTION   7
 
#define ENGINE_CTRL_SET_CALLBACK_DATA   5
 
#define ENGINE_CTRL_SET_LOGSTREAM   1
 
#define ENGINE_CTRL_SET_PASSWORD_CALLBACK   2
 
#define ENGINE_CTRL_SET_USER_INTERFACE   4
 
#define ENGINE_F_DYNAMIC_CTRL   180
 
#define ENGINE_F_DYNAMIC_GET_DATA_CTX   181
 
#define ENGINE_F_DYNAMIC_LOAD   182
 
#define ENGINE_F_DYNAMIC_SET_DATA_CTX   183
 
#define ENGINE_F_ENGINE_ADD   105
 
#define ENGINE_F_ENGINE_BY_ID   106
 
#define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE   170
 
#define ENGINE_F_ENGINE_CTRL   142
 
#define ENGINE_F_ENGINE_CTRL_CMD   178
 
#define ENGINE_F_ENGINE_CTRL_CMD_STRING   171
 
#define ENGINE_F_ENGINE_FINISH   107
 
#define ENGINE_F_ENGINE_FREE_UTIL   108
 
#define ENGINE_F_ENGINE_GET_CIPHER   185
 
#define ENGINE_F_ENGINE_GET_DEFAULT_TYPE   177
 
#define ENGINE_F_ENGINE_GET_DIGEST   186
 
#define ENGINE_F_ENGINE_GET_NEXT   115
 
#define ENGINE_F_ENGINE_GET_PREV   116
 
#define ENGINE_F_ENGINE_INIT   119
 
#define ENGINE_F_ENGINE_LIST_ADD   120
 
#define ENGINE_F_ENGINE_LIST_REMOVE   121
 
#define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY   150
 
#define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY   151
 
#define ENGINE_F_ENGINE_NEW   122
 
#define ENGINE_F_ENGINE_REMOVE   123
 
#define ENGINE_F_ENGINE_SET_DEFAULT_STRING   189
 
#define ENGINE_F_ENGINE_SET_DEFAULT_TYPE   126
 
#define ENGINE_F_ENGINE_SET_ID   129
 
#define ENGINE_F_ENGINE_SET_NAME   130
 
#define ENGINE_F_ENGINE_TABLE_REGISTER   184
 
#define ENGINE_F_ENGINE_UNLOAD_KEY   152
 
#define ENGINE_F_ENGINE_UNLOCKED_FINISH   191
 
#define ENGINE_F_ENGINE_UP_REF   190
 
#define ENGINE_F_INT_CTRL_HELPER   172
 
#define ENGINE_F_INT_ENGINE_CONFIGURE   188
 
#define ENGINE_F_INT_ENGINE_MODULE_INIT   187
 
#define ENGINE_F_LOG_MESSAGE   141
 
#define ENGINE_FLAGS_BY_ID_COPY   (int)0x0004
 
#define ENGINE_FLAGS_MANUAL_CMD_CTRL   (int)0x0002
 
#define ENGINE_METHOD_ALL   (unsigned int)0xFFFF
 
#define ENGINE_METHOD_CIPHERS   (unsigned int)0x0040
 
#define ENGINE_METHOD_DH   (unsigned int)0x0004
 
#define ENGINE_METHOD_DIGESTS   (unsigned int)0x0080
 
#define ENGINE_METHOD_DSA   (unsigned int)0x0002
 
#define ENGINE_METHOD_ECDH   (unsigned int)0x0010
 
#define ENGINE_METHOD_ECDSA   (unsigned int)0x0020
 
#define ENGINE_METHOD_NONE   (unsigned int)0x0000
 
#define ENGINE_METHOD_RAND   (unsigned int)0x0008
 
#define ENGINE_METHOD_RSA   (unsigned int)0x0001
 
#define ENGINE_METHOD_STORE   (unsigned int)0x0100
 
#define ENGINE_R_ALREADY_LOADED   100
 
#define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER   133
 
#define ENGINE_R_CMD_NOT_EXECUTABLE   134
 
#define ENGINE_R_COMMAND_TAKES_INPUT   135
 
#define ENGINE_R_COMMAND_TAKES_NO_INPUT   136
 
#define ENGINE_R_CONFLICTING_ENGINE_ID   103
 
#define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED   119
 
#define ENGINE_R_DH_NOT_IMPLEMENTED   139
 
#define ENGINE_R_DSA_NOT_IMPLEMENTED   140
 
#define ENGINE_R_DSO_FAILURE   104
 
#define ENGINE_R_DSO_NOT_FOUND   132
 
#define ENGINE_R_ENGINE_IS_NOT_IN_LIST   105
 
#define ENGINE_R_ENGINE_SECTION_ERROR   149
 
#define ENGINE_R_ENGINES_SECTION_ERROR   148
 
#define ENGINE_R_FAILED_LOADING_PRIVATE_KEY   128
 
#define ENGINE_R_FAILED_LOADING_PUBLIC_KEY   129
 
#define ENGINE_R_FINISH_FAILED   106
 
#define ENGINE_R_GET_HANDLE_FAILED   107
 
#define ENGINE_R_ID_OR_NAME_MISSING   108
 
#define ENGINE_R_INIT_FAILED   109
 
#define ENGINE_R_INTERNAL_LIST_ERROR   110
 
#define ENGINE_R_INVALID_ARGUMENT   143
 
#define ENGINE_R_INVALID_CMD_NAME   137
 
#define ENGINE_R_INVALID_CMD_NUMBER   138
 
#define ENGINE_R_INVALID_INIT_VALUE   151
 
#define ENGINE_R_INVALID_STRING   150
 
#define ENGINE_R_NO_CONTROL_FUNCTION   120
 
#define ENGINE_R_NO_INDEX   144
 
#define ENGINE_R_NO_LOAD_FUNCTION   125
 
#define ENGINE_R_NO_REFERENCE   130
 
#define ENGINE_R_NO_SUCH_ENGINE   116
 
#define ENGINE_R_NO_UNLOAD_FUNCTION   126
 
#define ENGINE_R_NOT_INITIALISED   117
 
#define ENGINE_R_NOT_LOADED   112
 
#define ENGINE_R_PROVIDE_PARAMETERS   113
 
#define ENGINE_R_RSA_NOT_IMPLEMENTED   141
 
#define ENGINE_R_UNIMPLEMENTED_CIPHER   146
 
#define ENGINE_R_UNIMPLEMENTED_DIGEST   147
 
#define ENGINE_R_VERSION_INCOMPATIBILITY   145
 
#define ENGINE_TABLE_FLAG_NOINIT   (unsigned int)0x0001
 
#define IMPLEMENT_DYNAMIC_BIND_FN fn   ) 
 

Value:

#define IMPLEMENT_DYNAMIC_CHECK_FN
 
 ) 
 

Value:

unsigned long v_check(unsigned long v) { \
                if(v >= OSSL_DYNAMIC_OLDEST) return OSSL_DYNAMIC_VERSION; \
                return 0; }
#define OSSL_DYNAMIC_OLDEST   (unsigned long)0x00020000
 
#define OSSL_DYNAMIC_VERSION   (unsigned long)0x00020000
 

Typedef Documentation

typedef struct CRYPTO_dynlock_value*(* dyn_dynlock_create_cb)(const char *, int)
 
typedef void(* dyn_dynlock_destroy_cb)(struct CRYPTO_dynlock_value *, const char *, int)
 
typedef void(* dyn_dynlock_lock_cb)(int, struct CRYPTO_dynlock_value *, const char *, int)
 
typedef int(* dyn_lock_add_lock_cb)(int *, int, int, const char *, int)
 
typedef void(* dyn_lock_locking_cb)(int, int, const char *, int)
 
typedef void(* dyn_MEM_free_cb)(void *)
 
typedef void*(* dyn_MEM_malloc_cb)(size_t)
 
typedef void*(* dyn_MEM_realloc_cb)(void *, size_t)
 
typedef int(* dynamic_bind_engine)(ENGINE *e, const char *id, const dynamic_fns *fns)
 
typedef struct st_dynamic_fns dynamic_fns
 
typedef struct st_dynamic_LOCK_fns dynamic_LOCK_fns
 
typedef struct st_dynamic_MEM_fns dynamic_MEM_fns
 
typedef unsigned long(* dynamic_v_check_fn)(unsigned long ossl_version)
 
typedef int(* ENGINE_CIPHERS_PTR)(ENGINE *, const EVP_CIPHER **, const int **, int)
 
typedef struct ENGINE_CMD_DEFN_st ENGINE_CMD_DEFN
 
typedef int(* ENGINE_CTRL_FUNC_PTR)(ENGINE *, int, long, void *, void(*f)(void))
 
typedef int(* ENGINE_DIGESTS_PTR)(ENGINE *, const EVP_MD **, const int **, int)
 
typedef int(* ENGINE_GEN_FUNC_PTR)(void)
 
typedef int(* ENGINE_GEN_INT_FUNC_PTR)(ENGINE *)
 
typedef EVP_PKEY*(* ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *, UI_METHOD *ui_method, void *callback_data)
 

Function Documentation

IMPORT_C int ENGINE_add ENGINE e  ) 
 
IMPORT_C void ENGINE_add_conf_module void   ) 
 
IMPORT_C ENGINE* ENGINE_by_id const char *  id  ) 
 
IMPORT_C void ENGINE_cleanup void   ) 
 
IMPORT_C int ENGINE_cmd_is_executable ENGINE e,
int  cmd
 
IMPORT_C int ENGINE_ctrl ENGINE e,
int  cmd,
long  i,
void *  p,
void(*)(void)  f
 
IMPORT_C int ENGINE_ctrl_cmd ENGINE e,
const char *  cmd_name,
long  i,
void *  p,
void(*)(void)  f,
int  cmd_optional
 
IMPORT_C int ENGINE_ctrl_cmd_string ENGINE e,
const char *  cmd_name,
const char *  arg,
int  cmd_optional
 
IMPORT_C int ENGINE_finish ENGINE e  ) 
 
IMPORT_C int ENGINE_free ENGINE e  ) 
 
IMPORT_C const EVP_CIPHER* ENGINE_get_cipher ENGINE e,
int  nid
 
IMPORT_C ENGINE* ENGINE_get_cipher_engine int  nid  ) 
 
IMPORT_C ENGINE_CIPHERS_PTR ENGINE_get_ciphers const ENGINE e  ) 
 
IMPORT_C const ENGINE_CMD_DEFN* ENGINE_get_cmd_defns const ENGINE e  ) 
 
IMPORT_C ENGINE_CTRL_FUNC_PTR ENGINE_get_ctrl_function const ENGINE e  ) 
 
IMPORT_C ENGINE* ENGINE_get_default_DH void   ) 
 
IMPORT_C ENGINE* ENGINE_get_default_DSA void   ) 
 
IMPORT_C ENGINE* ENGINE_get_default_RAND void   ) 
 
IMPORT_C ENGINE* ENGINE_get_default_RSA void   ) 
 
IMPORT_C ENGINE_GEN_INT_FUNC_PTR ENGINE_get_destroy_function const ENGINE e  ) 
 
IMPORT_C const DH_METHOD* ENGINE_get_DH const ENGINE e  ) 
 
IMPORT_C const EVP_MD* ENGINE_get_digest ENGINE e,
int  nid
 
IMPORT_C ENGINE* ENGINE_get_digest_engine int  nid  ) 
 
IMPORT_C ENGINE_DIGESTS_PTR ENGINE_get_digests const ENGINE e  ) 
 
IMPORT_C const DSA_METHOD* ENGINE_get_DSA const ENGINE e  ) 
 
IMPORT_C void* ENGINE_get_ex_data const ENGINE e,
int  idx
 
IMPORT_C int ENGINE_get_ex_new_index long  argl,
void *  argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func
 
IMPORT_C ENGINE_GEN_INT_FUNC_PTR ENGINE_get_finish_function const ENGINE e  ) 
 
IMPORT_C ENGINE* ENGINE_get_first void   ) 
 
IMPORT_C int ENGINE_get_flags const ENGINE e  ) 
 
IMPORT_C const char* ENGINE_get_id const ENGINE e  ) 
 
IMPORT_C ENGINE_GEN_INT_FUNC_PTR ENGINE_get_init_function const ENGINE e  ) 
 
IMPORT_C ENGINE* ENGINE_get_last void   ) 
 
IMPORT_C ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function const ENGINE e  ) 
 
IMPORT_C ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function const ENGINE e  ) 
 
IMPORT_C const char* ENGINE_get_name const ENGINE e  ) 
 
IMPORT_C ENGINE* ENGINE_get_next ENGINE e  ) 
 
IMPORT_C ENGINE* ENGINE_get_prev ENGINE e  ) 
 
IMPORT_C const RAND_METHOD* ENGINE_get_RAND const ENGINE e  ) 
 
IMPORT_C const RSA_METHOD* ENGINE_get_RSA const ENGINE e  ) 
 
IMPORT_C void* ENGINE_get_static_state void   ) 
 
IMPORT_C const STORE_METHOD* ENGINE_get_STORE const ENGINE e  ) 
 
IMPORT_C unsigned int ENGINE_get_table_flags void   ) 
 
IMPORT_C int ENGINE_init ENGINE e  ) 
 
IMPORT_C void ENGINE_load_builtin_engines void   ) 
 
IMPORT_C void ENGINE_load_cryptodev void   ) 
 
IMPORT_C void ENGINE_load_dynamic void   ) 
 
void ENGINE_load_gmp void   ) 
 
IMPORT_C void ENGINE_load_openssl void   ) 
 
IMPORT_C EVP_PKEY* ENGINE_load_private_key ENGINE e,
const char *  key_id,
UI_METHOD ui_method,
void *  callback_data
 
IMPORT_C EVP_PKEY* ENGINE_load_public_key ENGINE e,
const char *  key_id,
UI_METHOD ui_method,
void *  callback_data
 
IMPORT_C ENGINE* ENGINE_new void   ) 
 
IMPORT_C void ENGINE_register_all_ciphers void   ) 
 
IMPORT_C int ENGINE_register_all_complete void   ) 
 
IMPORT_C void ENGINE_register_all_DH void   ) 
 
IMPORT_C void ENGINE_register_all_digests void   ) 
 
IMPORT_C void ENGINE_register_all_DSA void   ) 
 
IMPORT_C void ENGINE_register_all_RAND void   ) 
 
IMPORT_C void ENGINE_register_all_RSA void   ) 
 
IMPORT_C void ENGINE_register_all_STORE void   ) 
 
IMPORT_C int ENGINE_register_ciphers ENGINE e  ) 
 
IMPORT_C int ENGINE_register_complete ENGINE e  ) 
 
IMPORT_C int ENGINE_register_DH ENGINE e  ) 
 
IMPORT_C int ENGINE_register_digests ENGINE e  ) 
 
IMPORT_C int ENGINE_register_DSA ENGINE e  ) 
 
IMPORT_C int ENGINE_register_RAND ENGINE e  ) 
 
IMPORT_C int ENGINE_register_RSA ENGINE e  ) 
 
IMPORT_C int ENGINE_register_STORE ENGINE e  ) 
 
IMPORT_C int ENGINE_remove ENGINE e  ) 
 
IMPORT_C int ENGINE_set_ciphers ENGINE e,
ENGINE_CIPHERS_PTR  f
 
IMPORT_C int ENGINE_set_cmd_defns ENGINE e,
const ENGINE_CMD_DEFN defns
 
IMPORT_C int ENGINE_set_ctrl_function ENGINE e,
ENGINE_CTRL_FUNC_PTR  ctrl_f
 
IMPORT_C int ENGINE_set_default ENGINE e,
unsigned int  flags
 
IMPORT_C int ENGINE_set_default_ciphers ENGINE e  ) 
 
IMPORT_C int ENGINE_set_default_DH ENGINE e  ) 
 
IMPORT_C int ENGINE_set_default_digests ENGINE e  ) 
 
IMPORT_C int ENGINE_set_default_DSA ENGINE e  ) 
 
int ENGINE_set_default_ECDH ENGINE e  ) 
 
int ENGINE_set_default_ECDSA ENGINE e  ) 
 
IMPORT_C int ENGINE_set_default_RAND ENGINE e  ) 
 
IMPORT_C int ENGINE_set_default_RSA ENGINE e  ) 
 
IMPORT_C int ENGINE_set_default_string ENGINE e,
const char *  def_list
 
IMPORT_C int ENGINE_set_destroy_function ENGINE e,
ENGINE_GEN_INT_FUNC_PTR  destroy_f
 
IMPORT_C int ENGINE_set_DH ENGINE e,
const DH_METHOD dh_meth
 
IMPORT_C int ENGINE_set_digests ENGINE e,
ENGINE_DIGESTS_PTR  f
 
IMPORT_C int ENGINE_set_DSA ENGINE e,
const DSA_METHOD dsa_meth
 
IMPORT_C int ENGINE_set_ex_data ENGINE e,
int  idx,
void *  arg
 
IMPORT_C int ENGINE_set_finish_function ENGINE e,
ENGINE_GEN_INT_FUNC_PTR  finish_f
 
IMPORT_C int ENGINE_set_flags ENGINE e,
int  flags
 
IMPORT_C int ENGINE_set_id ENGINE e,
const char *  id
 
IMPORT_C int ENGINE_set_init_function ENGINE e,
ENGINE_GEN_INT_FUNC_PTR  init_f
 
IMPORT_C int ENGINE_set_load_privkey_function ENGINE e,
ENGINE_LOAD_KEY_PTR  loadpriv_f
 
IMPORT_C int ENGINE_set_load_pubkey_function ENGINE e,
ENGINE_LOAD_KEY_PTR  loadpub_f
 
IMPORT_C int ENGINE_set_name ENGINE e,
const char *  name
 
IMPORT_C int ENGINE_set_RAND ENGINE e,
const RAND_METHOD rand_meth
 
IMPORT_C int ENGINE_set_RSA ENGINE e,
const RSA_METHOD rsa_meth
 
IMPORT_C int ENGINE_set_STORE ENGINE e,
const STORE_METHOD store_meth
 
IMPORT_C void ENGINE_set_table_flags unsigned int  flags  ) 
 
IMPORT_C void ENGINE_unregister_ciphers ENGINE e  ) 
 
IMPORT_C void ENGINE_unregister_DH ENGINE e  ) 
 
IMPORT_C void ENGINE_unregister_digests ENGINE e  ) 
 
IMPORT_C void ENGINE_unregister_DSA ENGINE e  ) 
 
IMPORT_C void ENGINE_unregister_RAND ENGINE e  ) 
 
IMPORT_C void ENGINE_unregister_RSA ENGINE e  ) 
 
IMPORT_C void ENGINE_unregister_STORE ENGINE e  ) 
 
IMPORT_C int ENGINE_up_ref ENGINE e  ) 
 
IMPORT_C void ERR_load_ENGINE_strings void   ) 
 

Copyright © Nokia Corporation 2001-2008
Back to top