engine.h File Reference

#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 struct 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 struct 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 struct
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 struct st_dynamic_LOCK_fns dynamic_LOCK_fns
typedef struct 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

ENGINEENGINE_get_first (void)
ENGINEENGINE_get_last (void)
ENGINEENGINE_get_next (ENGINE *e)
ENGINEENGINE_get_prev (ENGINE *e)
int ENGINE_add (ENGINE *e)
int ENGINE_remove (ENGINE *e)
ENGINEENGINE_by_id (const char *id)
void ENGINE_load_openssl (void)
void ENGINE_load_dynamic (void)
void ENGINE_load_4758cca (void)
void ENGINE_load_aep (void)
void ENGINE_load_atalla (void)
void ENGINE_load_chil (void)
void ENGINE_load_cswift (void)
void ENGINE_load_gmp (void)
void ENGINE_load_nuron (void)
void ENGINE_load_sureware (void)
void ENGINE_load_ubsec (void)
void ENGINE_load_cryptodev (void)
void ENGINE_load_padlock (void)
void ENGINE_load_builtin_engines (void)
unsigned int ENGINE_get_table_flags (void)
void ENGINE_set_table_flags (unsigned int flags)
int ENGINE_register_RSA (ENGINE *e)
void ENGINE_unregister_RSA (ENGINE *e)
void ENGINE_register_all_RSA (void)
int ENGINE_register_DSA (ENGINE *e)
void ENGINE_unregister_DSA (ENGINE *e)
void ENGINE_register_all_DSA (void)
int ENGINE_register_ECDH (ENGINE *e)
void ENGINE_unregister_ECDH (ENGINE *e)
void ENGINE_register_all_ECDH (void)
int ENGINE_register_ECDSA (ENGINE *e)
void ENGINE_unregister_ECDSA (ENGINE *e)
void ENGINE_register_all_ECDSA (void)
int ENGINE_register_DH (ENGINE *e)
void ENGINE_unregister_DH (ENGINE *e)
void ENGINE_register_all_DH (void)
int ENGINE_register_RAND (ENGINE *e)
void ENGINE_unregister_RAND (ENGINE *e)
void ENGINE_register_all_RAND (void)
int ENGINE_register_STORE (ENGINE *e)
void ENGINE_unregister_STORE (ENGINE *e)
void ENGINE_register_all_STORE (void)
int ENGINE_register_ciphers (ENGINE *e)
void ENGINE_unregister_ciphers (ENGINE *e)
void ENGINE_register_all_ciphers (void)
int ENGINE_register_digests (ENGINE *e)
void ENGINE_unregister_digests (ENGINE *e)
void ENGINE_register_all_digests (void)
int ENGINE_register_complete (ENGINE *e)
int ENGINE_register_all_complete (void)
int ENGINE_ctrl (ENGINE *e, int cmd, long i, void *p, void(*f)(void))
int ENGINE_cmd_is_executable (ENGINE *e, int cmd)
int ENGINE_ctrl_cmd (ENGINE *e, const char *cmd_name, long i, void *p, void(*f)(void), int cmd_optional)
int ENGINE_ctrl_cmd_string (ENGINE *e, const char *cmd_name, const char *arg, int cmd_optional)
ENGINEENGINE_new (void)
int ENGINE_free (ENGINE *e)
int ENGINE_up_ref (ENGINE *e)
int ENGINE_set_id (ENGINE *e, const char *id)
int ENGINE_set_name (ENGINE *e, const char *name)
int ENGINE_set_RSA (ENGINE *e, const RSA_METHOD *rsa_meth)
int ENGINE_set_DSA (ENGINE *e, const DSA_METHOD *dsa_meth)
int ENGINE_set_ECDH (ENGINE *e, const ECDH_METHOD *ecdh_meth)
int ENGINE_set_ECDSA (ENGINE *e, const ECDSA_METHOD *ecdsa_meth)
int ENGINE_set_DH (ENGINE *e, const DH_METHOD *dh_meth)
int ENGINE_set_RAND (ENGINE *e, const RAND_METHOD *rand_meth)
int ENGINE_set_STORE (ENGINE *e, const STORE_METHOD *store_meth)
int ENGINE_set_destroy_function (ENGINE *e, ENGINE_GEN_INT_FUNC_PTR destroy_f)
int ENGINE_set_init_function (ENGINE *e, ENGINE_GEN_INT_FUNC_PTR init_f)
int ENGINE_set_finish_function (ENGINE *e, ENGINE_GEN_INT_FUNC_PTR finish_f)
int ENGINE_set_ctrl_function (ENGINE *e, ENGINE_CTRL_FUNC_PTR ctrl_f)
int ENGINE_set_load_privkey_function (ENGINE *e, ENGINE_LOAD_KEY_PTR loadpriv_f)
int ENGINE_set_load_pubkey_function (ENGINE *e, ENGINE_LOAD_KEY_PTR loadpub_f)
int ENGINE_set_ciphers (ENGINE *e, ENGINE_CIPHERS_PTR f)
int ENGINE_set_digests (ENGINE *e, ENGINE_DIGESTS_PTR f)
int ENGINE_set_flags (ENGINE *e, int flags)
int ENGINE_set_cmd_defns (ENGINE *e, const ENGINE_CMD_DEFN *defns)
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)
int ENGINE_set_ex_data (ENGINE *e, int idx, void *arg)
void * ENGINE_get_ex_data (const ENGINE *e, int idx)
void ENGINE_cleanup (void)
const char * ENGINE_get_id (const ENGINE *e)
const char * ENGINE_get_name (const ENGINE *e)
const RSA_METHODENGINE_get_RSA (const ENGINE *e)
const DSA_METHODENGINE_get_DSA (const ENGINE *e)
const ECDH_METHODENGINE_get_ECDH (const ENGINE *e)
const ECDSA_METHODENGINE_get_ECDSA (const ENGINE *e)
const DH_METHODENGINE_get_DH (const ENGINE *e)
const RAND_METHODENGINE_get_RAND (const ENGINE *e)
const STORE_METHODENGINE_get_STORE (const ENGINE *e)
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_destroy_function (const ENGINE *e)
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_init_function (const ENGINE *e)
ENGINE_GEN_INT_FUNC_PTR ENGINE_get_finish_function (const ENGINE *e)
ENGINE_CTRL_FUNC_PTR ENGINE_get_ctrl_function (const ENGINE *e)
ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function (const ENGINE *e)
ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function (const ENGINE *e)
ENGINE_CIPHERS_PTR ENGINE_get_ciphers (const ENGINE *e)
ENGINE_DIGESTS_PTR ENGINE_get_digests (const ENGINE *e)
const EVP_CIPHERENGINE_get_cipher (ENGINE *e, int nid)
const EVP_MDENGINE_get_digest (ENGINE *e, int nid)
const ENGINE_CMD_DEFNENGINE_get_cmd_defns (const ENGINE *e)
int ENGINE_get_flags (const ENGINE *e)
int ENGINE_init (ENGINE *e)
int ENGINE_finish (ENGINE *e)
EVP_PKEYENGINE_load_private_key (ENGINE *e, const char *key_id, UI_METHOD *ui_method, void *callback_data)
EVP_PKEYENGINE_load_public_key (ENGINE *e, const char *key_id, UI_METHOD *ui_method, void *callback_data)
ENGINEENGINE_get_default_RSA (void)
ENGINEENGINE_get_default_DSA (void)
ENGINEENGINE_get_default_ECDH (void)
ENGINEENGINE_get_default_ECDSA (void)
ENGINEENGINE_get_default_DH (void)
ENGINEENGINE_get_default_RAND (void)
ENGINEENGINE_get_cipher_engine (int nid)
ENGINEENGINE_get_digest_engine (int nid)
int ENGINE_set_default_RSA (ENGINE *e)
int ENGINE_set_default_string (ENGINE *e, const char *def_list)
int ENGINE_set_default_DSA (ENGINE *e)
int ENGINE_set_default_ECDH (ENGINE *e)
int ENGINE_set_default_ECDSA (ENGINE *e)
int ENGINE_set_default_DH (ENGINE *e)
int ENGINE_set_default_RAND (ENGINE *e)
int ENGINE_set_default_ciphers (ENGINE *e)
int ENGINE_set_default_digests (ENGINE *e)
int ENGINE_set_default (ENGINE *e, unsigned int flags)
void ENGINE_add_conf_module (void)
void * ENGINE_get_static_state (void)
void ERR_load_ENGINE_strings (void)


Define Documentation

#define ENGINE_CMD_BASE   200

Definition at line 238 of file engine.h.

#define ENGINE_CMD_FLAG_INTERNAL   (unsigned int)0x0008

Definition at line 162 of file engine.h.

#define ENGINE_CMD_FLAG_NO_INPUT   (unsigned int)0x0004

Definition at line 158 of file engine.h.

#define ENGINE_CMD_FLAG_NUMERIC   (unsigned int)0x0001

Definition at line 152 of file engine.h.

#define ENGINE_CMD_FLAG_STRING   (unsigned int)0x0002

Definition at line 155 of file engine.h.

#define ENGINE_CTRL_CHIL_NO_LOCKING   101

Definition at line 252 of file engine.h.

#define ENGINE_CTRL_CHIL_SET_FORKCHECK   100

Definition at line 247 of file engine.h.

#define ENGINE_CTRL_GET_CMD_FLAGS   18

Definition at line 234 of file engine.h.

#define ENGINE_CTRL_GET_CMD_FROM_NAME   13

Definition at line 219 of file engine.h.

#define ENGINE_CTRL_GET_DESC_FROM_CMD   17

Definition at line 230 of file engine.h.

#define ENGINE_CTRL_GET_DESC_LEN_FROM_CMD   16

Definition at line 229 of file engine.h.

#define ENGINE_CTRL_GET_FIRST_CMD_TYPE   11

Definition at line 213 of file engine.h.

#define ENGINE_CTRL_GET_NAME_FROM_CMD   15

Definition at line 227 of file engine.h.

#define ENGINE_CTRL_GET_NAME_LEN_FROM_CMD   14

Definition at line 226 of file engine.h.

#define ENGINE_CTRL_GET_NEXT_CMD_TYPE   12

Definition at line 216 of file engine.h.

#define ENGINE_CTRL_HAS_CTRL_FUNCTION   10

Definition at line 210 of file engine.h.

#define ENGINE_CTRL_HUP   3

Definition at line 179 of file engine.h.

#define ENGINE_CTRL_LOAD_CONFIGURATION   6

Definition at line 186 of file engine.h.

#define ENGINE_CTRL_LOAD_SECTION   7

Definition at line 189 of file engine.h.

#define ENGINE_CTRL_SET_CALLBACK_DATA   5

Definition at line 182 of file engine.h.

#define ENGINE_CTRL_SET_LOGSTREAM   1

Definition at line 177 of file engine.h.

#define ENGINE_CTRL_SET_PASSWORD_CALLBACK   2

Definition at line 178 of file engine.h.

#define ENGINE_CTRL_SET_USER_INTERFACE   4

Definition at line 181 of file engine.h.

#define ENGINE_F_DYNAMIC_CTRL   180

Definition at line 704 of file engine.h.

#define ENGINE_F_DYNAMIC_GET_DATA_CTX   181

Definition at line 705 of file engine.h.

#define ENGINE_F_DYNAMIC_LOAD   182

Definition at line 706 of file engine.h.

#define ENGINE_F_DYNAMIC_SET_DATA_CTX   183

Definition at line 707 of file engine.h.

#define ENGINE_F_ENGINE_ADD   105

Definition at line 708 of file engine.h.

#define ENGINE_F_ENGINE_BY_ID   106

Definition at line 709 of file engine.h.

#define ENGINE_F_ENGINE_CMD_IS_EXECUTABLE   170

Definition at line 710 of file engine.h.

#define ENGINE_F_ENGINE_CTRL   142

Definition at line 711 of file engine.h.

#define ENGINE_F_ENGINE_CTRL_CMD   178

Definition at line 712 of file engine.h.

#define ENGINE_F_ENGINE_CTRL_CMD_STRING   171

Definition at line 713 of file engine.h.

#define ENGINE_F_ENGINE_FINISH   107

Definition at line 714 of file engine.h.

#define ENGINE_F_ENGINE_FREE_UTIL   108

Definition at line 715 of file engine.h.

#define ENGINE_F_ENGINE_GET_CIPHER   185

Definition at line 716 of file engine.h.

#define ENGINE_F_ENGINE_GET_DEFAULT_TYPE   177

Definition at line 717 of file engine.h.

#define ENGINE_F_ENGINE_GET_DIGEST   186

Definition at line 718 of file engine.h.

#define ENGINE_F_ENGINE_GET_NEXT   115

Definition at line 719 of file engine.h.

#define ENGINE_F_ENGINE_GET_PREV   116

Definition at line 720 of file engine.h.

#define ENGINE_F_ENGINE_INIT   119

Definition at line 721 of file engine.h.

#define ENGINE_F_ENGINE_LIST_ADD   120

Definition at line 722 of file engine.h.

#define ENGINE_F_ENGINE_LIST_REMOVE   121

Definition at line 723 of file engine.h.

#define ENGINE_F_ENGINE_LOAD_PRIVATE_KEY   150

Definition at line 724 of file engine.h.

#define ENGINE_F_ENGINE_LOAD_PUBLIC_KEY   151

Definition at line 725 of file engine.h.

#define ENGINE_F_ENGINE_NEW   122

Definition at line 726 of file engine.h.

#define ENGINE_F_ENGINE_REMOVE   123

Definition at line 727 of file engine.h.

#define ENGINE_F_ENGINE_SET_DEFAULT_STRING   189

Definition at line 728 of file engine.h.

#define ENGINE_F_ENGINE_SET_DEFAULT_TYPE   126

Definition at line 729 of file engine.h.

#define ENGINE_F_ENGINE_SET_ID   129

Definition at line 730 of file engine.h.

#define ENGINE_F_ENGINE_SET_NAME   130

Definition at line 731 of file engine.h.

#define ENGINE_F_ENGINE_TABLE_REGISTER   184

Definition at line 732 of file engine.h.

#define ENGINE_F_ENGINE_UNLOAD_KEY   152

Definition at line 733 of file engine.h.

#define ENGINE_F_ENGINE_UNLOCKED_FINISH   191

Definition at line 734 of file engine.h.

#define ENGINE_F_ENGINE_UP_REF   190

Definition at line 735 of file engine.h.

#define ENGINE_F_INT_CTRL_HELPER   172

Definition at line 736 of file engine.h.

#define ENGINE_F_INT_ENGINE_CONFIGURE   188

Definition at line 737 of file engine.h.

#define ENGINE_F_INT_ENGINE_MODULE_INIT   187

Definition at line 738 of file engine.h.

#define ENGINE_F_LOG_MESSAGE   141

Definition at line 739 of file engine.h.

#define ENGINE_FLAGS_BY_ID_COPY   (int)0x0004

Definition at line 139 of file engine.h.

#define ENGINE_FLAGS_MANUAL_CMD_CTRL   (int)0x0002

Definition at line 130 of file engine.h.

#define ENGINE_METHOD_ALL   (unsigned int)0xFFFF

Definition at line 115 of file engine.h.

#define ENGINE_METHOD_CIPHERS   (unsigned int)0x0040

Definition at line 111 of file engine.h.

#define ENGINE_METHOD_DH   (unsigned int)0x0004

Definition at line 107 of file engine.h.

#define ENGINE_METHOD_DIGESTS   (unsigned int)0x0080

Definition at line 112 of file engine.h.

#define ENGINE_METHOD_DSA   (unsigned int)0x0002

Definition at line 106 of file engine.h.

#define ENGINE_METHOD_ECDH   (unsigned int)0x0010

Definition at line 109 of file engine.h.

#define ENGINE_METHOD_ECDSA   (unsigned int)0x0020

Definition at line 110 of file engine.h.

#define ENGINE_METHOD_NONE   (unsigned int)0x0000

Definition at line 116 of file engine.h.

#define ENGINE_METHOD_RAND   (unsigned int)0x0008

Definition at line 108 of file engine.h.

#define ENGINE_METHOD_RSA   (unsigned int)0x0001

Definition at line 105 of file engine.h.

#define ENGINE_METHOD_STORE   (unsigned int)0x0100

Definition at line 113 of file engine.h.

#define ENGINE_R_ALREADY_LOADED   100

Definition at line 742 of file engine.h.

#define ENGINE_R_ARGUMENT_IS_NOT_A_NUMBER   133

Definition at line 743 of file engine.h.

#define ENGINE_R_CMD_NOT_EXECUTABLE   134

Definition at line 744 of file engine.h.

#define ENGINE_R_COMMAND_TAKES_INPUT   135

Definition at line 745 of file engine.h.

#define ENGINE_R_COMMAND_TAKES_NO_INPUT   136

Definition at line 746 of file engine.h.

#define ENGINE_R_CONFLICTING_ENGINE_ID   103

Definition at line 747 of file engine.h.

#define ENGINE_R_CTRL_COMMAND_NOT_IMPLEMENTED   119

Definition at line 748 of file engine.h.

#define ENGINE_R_DH_NOT_IMPLEMENTED   139

Definition at line 749 of file engine.h.

#define ENGINE_R_DSA_NOT_IMPLEMENTED   140

Definition at line 750 of file engine.h.

#define ENGINE_R_DSO_FAILURE   104

Definition at line 751 of file engine.h.

#define ENGINE_R_DSO_NOT_FOUND   132

Definition at line 752 of file engine.h.

#define ENGINE_R_ENGINE_IS_NOT_IN_LIST   105

Definition at line 754 of file engine.h.

#define ENGINE_R_ENGINE_SECTION_ERROR   149

Definition at line 755 of file engine.h.

#define ENGINE_R_ENGINES_SECTION_ERROR   148

Definition at line 753 of file engine.h.

#define ENGINE_R_FAILED_LOADING_PRIVATE_KEY   128

Definition at line 756 of file engine.h.

#define ENGINE_R_FAILED_LOADING_PUBLIC_KEY   129

Definition at line 757 of file engine.h.

#define ENGINE_R_FINISH_FAILED   106

Definition at line 758 of file engine.h.

#define ENGINE_R_GET_HANDLE_FAILED   107

Definition at line 759 of file engine.h.

#define ENGINE_R_ID_OR_NAME_MISSING   108

Definition at line 760 of file engine.h.

#define ENGINE_R_INIT_FAILED   109

Definition at line 761 of file engine.h.

#define ENGINE_R_INTERNAL_LIST_ERROR   110

Definition at line 762 of file engine.h.

#define ENGINE_R_INVALID_ARGUMENT   143

Definition at line 763 of file engine.h.

#define ENGINE_R_INVALID_CMD_NAME   137

Definition at line 764 of file engine.h.

#define ENGINE_R_INVALID_CMD_NUMBER   138

Definition at line 765 of file engine.h.

#define ENGINE_R_INVALID_INIT_VALUE   151

Definition at line 766 of file engine.h.

#define ENGINE_R_INVALID_STRING   150

Definition at line 767 of file engine.h.

#define ENGINE_R_NO_CONTROL_FUNCTION   120

Definition at line 770 of file engine.h.

#define ENGINE_R_NO_INDEX   144

Definition at line 771 of file engine.h.

#define ENGINE_R_NO_LOAD_FUNCTION   125

Definition at line 772 of file engine.h.

#define ENGINE_R_NO_REFERENCE   130

Definition at line 773 of file engine.h.

#define ENGINE_R_NO_SUCH_ENGINE   116

Definition at line 774 of file engine.h.

#define ENGINE_R_NO_UNLOAD_FUNCTION   126

Definition at line 775 of file engine.h.

#define ENGINE_R_NOT_INITIALISED   117

Definition at line 768 of file engine.h.

#define ENGINE_R_NOT_LOADED   112

Definition at line 769 of file engine.h.

#define ENGINE_R_PROVIDE_PARAMETERS   113

Definition at line 776 of file engine.h.

#define ENGINE_R_RSA_NOT_IMPLEMENTED   141

Definition at line 777 of file engine.h.

#define ENGINE_R_UNIMPLEMENTED_CIPHER   146

Definition at line 778 of file engine.h.

#define ENGINE_R_UNIMPLEMENTED_DIGEST   147

Definition at line 779 of file engine.h.

#define ENGINE_R_VERSION_INCOMPATIBILITY   145

Definition at line 780 of file engine.h.

#define ENGINE_TABLE_FLAG_NOINIT   (unsigned int)0x0001

Definition at line 122 of file engine.h.

#define IMPLEMENT_DYNAMIC_BIND_FN ( fn   ) 

Value:

Definition at line 661 of file engine.h.

 
#define IMPLEMENT_DYNAMIC_CHECK_FN (  ) 

Value:

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

Definition at line 639 of file engine.h.

#define OSSL_DYNAMIC_OLDEST   (unsigned long)0x00020000

Definition at line 584 of file engine.h.

#define OSSL_DYNAMIC_VERSION   (unsigned long)0x00020000

Definition at line 581 of file engine.h.


Typedef Documentation

typedef struct CRYPTO_dynlock_value*(* dyn_dynlock_create_cb)(const char *, int)

Definition at line 607 of file engine.h.

typedef void(* dyn_dynlock_destroy_cb)(struct CRYPTO_dynlock_value *, const char *, int)

Definition at line 611 of file engine.h.

typedef void(* dyn_dynlock_lock_cb)(int, struct CRYPTO_dynlock_value *, const char *, int)

Definition at line 609 of file engine.h.

typedef int(* dyn_lock_add_lock_cb)(int *, int, int, const char *, int)

Definition at line 606 of file engine.h.

typedef void(* dyn_lock_locking_cb)(int, int, const char *, int)

Definition at line 605 of file engine.h.

typedef void(* dyn_MEM_free_cb)(void *)

Definition at line 597 of file engine.h.

typedef void*(* dyn_MEM_malloc_cb)(size_t)

Definition at line 595 of file engine.h.

typedef void*(* dyn_MEM_realloc_cb)(void *, size_t)

Definition at line 596 of file engine.h.

typedef int(* dynamic_bind_engine)(ENGINE *e, const char *id, const dynamic_fns *fns)

Definition at line 659 of file engine.h.

typedef struct st_dynamic_fns dynamic_fns

typedef unsigned long(* dynamic_v_check_fn)(unsigned long ossl_version)

Definition at line 638 of file engine.h.

typedef int(* ENGINE_CIPHERS_PTR)(ENGINE *, const EVP_CIPHER **, const int **, int)

Definition at line 293 of file engine.h.

typedef int(* ENGINE_CTRL_FUNC_PTR)(ENGINE *, int, long, void *, void(*f)(void))

Definition at line 277 of file engine.h.

typedef int(* ENGINE_DIGESTS_PTR)(ENGINE *, const EVP_MD **, const int **, int)

Definition at line 294 of file engine.h.

typedef int(* ENGINE_GEN_FUNC_PTR)(void)

Definition at line 273 of file engine.h.

typedef int(* ENGINE_GEN_INT_FUNC_PTR)(ENGINE *)

Definition at line 275 of file engine.h.

typedef EVP_PKEY*(* ENGINE_LOAD_KEY_PTR)(ENGINE *, const char *, UI_METHOD *ui_method, void *callback_data)

Definition at line 279 of file engine.h.


Function Documentation

int ENGINE_add ( ENGINE e  ) 

void ENGINE_add_conf_module ( void   ) 

ENGINE* ENGINE_by_id ( const char *  id  ) 

void ENGINE_cleanup ( void   ) 

int ENGINE_cmd_is_executable ( ENGINE e,
int  cmd 
)

int ENGINE_ctrl ( ENGINE e,
int  cmd,
long  i,
void *  p,
void(*)(void)  f 
)

int ENGINE_ctrl_cmd ( ENGINE e,
const char *  cmd_name,
long  i,
void *  p,
void(*)(void)  f,
int  cmd_optional 
)

int ENGINE_ctrl_cmd_string ( ENGINE e,
const char *  cmd_name,
const char *  arg,
int  cmd_optional 
)

int ENGINE_finish ( ENGINE e  ) 

int ENGINE_free ( ENGINE e  ) 

const EVP_CIPHER* ENGINE_get_cipher ( ENGINE e,
int  nid 
)

ENGINE* ENGINE_get_cipher_engine ( int  nid  ) 

ENGINE_CIPHERS_PTR ENGINE_get_ciphers ( const ENGINE e  ) 

const ENGINE_CMD_DEFN* ENGINE_get_cmd_defns ( const ENGINE e  ) 

ENGINE_CTRL_FUNC_PTR ENGINE_get_ctrl_function ( const ENGINE e  ) 

ENGINE* ENGINE_get_default_DH ( void   ) 

ENGINE* ENGINE_get_default_DSA ( void   ) 

ENGINE* ENGINE_get_default_ECDH ( void   ) 

ENGINE* ENGINE_get_default_ECDSA ( void   ) 

ENGINE* ENGINE_get_default_RAND ( void   ) 

ENGINE* ENGINE_get_default_RSA ( void   ) 

ENGINE_GEN_INT_FUNC_PTR ENGINE_get_destroy_function ( const ENGINE e  ) 

const DH_METHOD* ENGINE_get_DH ( const ENGINE e  ) 

const EVP_MD* ENGINE_get_digest ( ENGINE e,
int  nid 
)

ENGINE* ENGINE_get_digest_engine ( int  nid  ) 

ENGINE_DIGESTS_PTR ENGINE_get_digests ( const ENGINE e  ) 

const DSA_METHOD* ENGINE_get_DSA ( const ENGINE e  ) 

const ECDH_METHOD* ENGINE_get_ECDH ( const ENGINE e  ) 

const ECDSA_METHOD* ENGINE_get_ECDSA ( const ENGINE e  ) 

void* ENGINE_get_ex_data ( const ENGINE e,
int  idx 
)

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 
)

ENGINE_GEN_INT_FUNC_PTR ENGINE_get_finish_function ( const ENGINE e  ) 

ENGINE* ENGINE_get_first ( void   ) 

int ENGINE_get_flags ( const ENGINE e  ) 

const char* ENGINE_get_id ( const ENGINE e  ) 

ENGINE_GEN_INT_FUNC_PTR ENGINE_get_init_function ( const ENGINE e  ) 

ENGINE* ENGINE_get_last ( void   ) 

ENGINE_LOAD_KEY_PTR ENGINE_get_load_privkey_function ( const ENGINE e  ) 

ENGINE_LOAD_KEY_PTR ENGINE_get_load_pubkey_function ( const ENGINE e  ) 

const char* ENGINE_get_name ( const ENGINE e  ) 

ENGINE* ENGINE_get_next ( ENGINE e  ) 

ENGINE* ENGINE_get_prev ( ENGINE e  ) 

const RAND_METHOD* ENGINE_get_RAND ( const ENGINE e  ) 

const RSA_METHOD* ENGINE_get_RSA ( const ENGINE e  ) 

void* ENGINE_get_static_state ( void   ) 

const STORE_METHOD* ENGINE_get_STORE ( const ENGINE e  ) 

unsigned int ENGINE_get_table_flags ( void   ) 

int ENGINE_init ( ENGINE e  ) 

void ENGINE_load_4758cca ( void   ) 

void ENGINE_load_aep ( void   ) 

void ENGINE_load_atalla ( void   ) 

void ENGINE_load_builtin_engines ( void   ) 

void ENGINE_load_chil ( void   ) 

void ENGINE_load_cryptodev ( void   ) 

void ENGINE_load_cswift ( void   ) 

void ENGINE_load_dynamic ( void   ) 

void ENGINE_load_gmp ( void   ) 

void ENGINE_load_nuron ( void   ) 

void ENGINE_load_openssl ( void   ) 

void ENGINE_load_padlock ( void   ) 

EVP_PKEY* ENGINE_load_private_key ( ENGINE e,
const char *  key_id,
UI_METHOD ui_method,
void *  callback_data 
)

EVP_PKEY* ENGINE_load_public_key ( ENGINE e,
const char *  key_id,
UI_METHOD ui_method,
void *  callback_data 
)

void ENGINE_load_sureware ( void   ) 

void ENGINE_load_ubsec ( void   ) 

ENGINE* ENGINE_new ( void   ) 

void ENGINE_register_all_ciphers ( void   ) 

int ENGINE_register_all_complete ( void   ) 

void ENGINE_register_all_DH ( void   ) 

void ENGINE_register_all_digests ( void   ) 

void ENGINE_register_all_DSA ( void   ) 

void ENGINE_register_all_ECDH ( void   ) 

void ENGINE_register_all_ECDSA ( void   ) 

void ENGINE_register_all_RAND ( void   ) 

void ENGINE_register_all_RSA ( void   ) 

void ENGINE_register_all_STORE ( void   ) 

int ENGINE_register_ciphers ( ENGINE e  ) 

int ENGINE_register_complete ( ENGINE e  ) 

int ENGINE_register_DH ( ENGINE e  ) 

int ENGINE_register_digests ( ENGINE e  ) 

int ENGINE_register_DSA ( ENGINE e  ) 

int ENGINE_register_ECDH ( ENGINE e  ) 

int ENGINE_register_ECDSA ( ENGINE e  ) 

int ENGINE_register_RAND ( ENGINE e  ) 

int ENGINE_register_RSA ( ENGINE e  ) 

int ENGINE_register_STORE ( ENGINE e  ) 

int ENGINE_remove ( ENGINE e  ) 

int ENGINE_set_ciphers ( ENGINE e,
ENGINE_CIPHERS_PTR  f 
)

int ENGINE_set_cmd_defns ( ENGINE e,
const ENGINE_CMD_DEFN defns 
)

int ENGINE_set_ctrl_function ( ENGINE e,
ENGINE_CTRL_FUNC_PTR  ctrl_f 
)

int ENGINE_set_default ( ENGINE e,
unsigned int  flags 
)

int ENGINE_set_default_ciphers ( ENGINE e  ) 

int ENGINE_set_default_DH ( ENGINE e  ) 

int ENGINE_set_default_digests ( ENGINE e  ) 

int ENGINE_set_default_DSA ( ENGINE e  ) 

int ENGINE_set_default_ECDH ( ENGINE e  ) 

int ENGINE_set_default_ECDSA ( ENGINE e  ) 

int ENGINE_set_default_RAND ( ENGINE e  ) 

int ENGINE_set_default_RSA ( ENGINE e  ) 

int ENGINE_set_default_string ( ENGINE e,
const char *  def_list 
)

int ENGINE_set_destroy_function ( ENGINE e,
ENGINE_GEN_INT_FUNC_PTR  destroy_f 
)

int ENGINE_set_DH ( ENGINE e,
const DH_METHOD dh_meth 
)

int ENGINE_set_digests ( ENGINE e,
ENGINE_DIGESTS_PTR  f 
)

int ENGINE_set_DSA ( ENGINE e,
const DSA_METHOD dsa_meth 
)

int ENGINE_set_ECDH ( ENGINE e,
const ECDH_METHOD ecdh_meth 
)

int ENGINE_set_ECDSA ( ENGINE e,
const ECDSA_METHOD ecdsa_meth 
)

int ENGINE_set_ex_data ( ENGINE e,
int  idx,
void *  arg 
)

int ENGINE_set_finish_function ( ENGINE e,
ENGINE_GEN_INT_FUNC_PTR  finish_f 
)

int ENGINE_set_flags ( ENGINE e,
int  flags 
)

int ENGINE_set_id ( ENGINE e,
const char *  id 
)

int ENGINE_set_init_function ( ENGINE e,
ENGINE_GEN_INT_FUNC_PTR  init_f 
)

int ENGINE_set_load_privkey_function ( ENGINE e,
ENGINE_LOAD_KEY_PTR  loadpriv_f 
)

int ENGINE_set_load_pubkey_function ( ENGINE e,
ENGINE_LOAD_KEY_PTR  loadpub_f 
)

int ENGINE_set_name ( ENGINE e,
const char *  name 
)

int ENGINE_set_RAND ( ENGINE e,
const RAND_METHOD rand_meth 
)

int ENGINE_set_RSA ( ENGINE e,
const RSA_METHOD rsa_meth 
)

int ENGINE_set_STORE ( ENGINE e,
const STORE_METHOD store_meth 
)

void ENGINE_set_table_flags ( unsigned int  flags  ) 

void ENGINE_unregister_ciphers ( ENGINE e  ) 

void ENGINE_unregister_DH ( ENGINE e  ) 

void ENGINE_unregister_digests ( ENGINE e  ) 

void ENGINE_unregister_DSA ( ENGINE e  ) 

void ENGINE_unregister_ECDH ( ENGINE e  ) 

void ENGINE_unregister_ECDSA ( ENGINE e  ) 

void ENGINE_unregister_RAND ( ENGINE e  ) 

void ENGINE_unregister_RSA ( ENGINE e  ) 

void ENGINE_unregister_STORE ( ENGINE e  ) 

int ENGINE_up_ref ( ENGINE e  ) 

void ERR_load_ENGINE_strings ( void   ) 


Generated on Thu Aug 20 22:33:06 2009 for OpenXDAS by  doxygen 1.5.6