crypto.h File Reference

API published in:
API deprecated in:


#include <stdlib.h>
#include <openssl/e_os2.h>
#include <stdio.h>
#include <openssl/stack.h>
#include <openssl/safestack.h>
#include <openssl/opensslv.h>
#include <openssl/ossl_typ.h>
#include <openssl/symhacks.h>

Go to the source code of this file.


Data Structures

struct   openssl_item_st
struct   CRYPTO_dynlock
struct   crypto_ex_data_st
struct   crypto_ex_data_func_st

Defines

#define  SSLEAY_VERSION_NUMBER   OPENSSL_VERSION_NUMBER
#define  SSLEAY_VERSION   0
#define  SSLEAY_CFLAGS   2
#define  SSLEAY_BUILT_ON   3
#define  SSLEAY_PLATFORM   4
#define  SSLEAY_DIR   5
#define  CRYPTO_LOCK_ERR   1
#define  CRYPTO_LOCK_EX_DATA   2
#define  CRYPTO_LOCK_X509   3
#define  CRYPTO_LOCK_X509_INFO   4
#define  CRYPTO_LOCK_X509_PKEY   5
#define  CRYPTO_LOCK_X509_CRL   6
#define  CRYPTO_LOCK_X509_REQ   7
#define  CRYPTO_LOCK_DSA   8
#define  CRYPTO_LOCK_RSA   9
#define  CRYPTO_LOCK_EVP_PKEY   10
#define  CRYPTO_LOCK_X509_STORE   11
#define  CRYPTO_LOCK_SSL_CTX   12
#define  CRYPTO_LOCK_SSL_CERT   13
#define  CRYPTO_LOCK_SSL_SESSION   14
#define  CRYPTO_LOCK_SSL_SESS_CERT   15
#define  CRYPTO_LOCK_SSL   16
#define  CRYPTO_LOCK_SSL_METHOD   17
#define  CRYPTO_LOCK_RAND   18
#define  CRYPTO_LOCK_RAND2   19
#define  CRYPTO_LOCK_MALLOC   20
#define  CRYPTO_LOCK_BIO   21
#define  CRYPTO_LOCK_GETHOSTBYNAME   22
#define  CRYPTO_LOCK_GETSERVBYNAME   23
#define  CRYPTO_LOCK_READDIR   24
#define  CRYPTO_LOCK_RSA_BLINDING   25
#define  CRYPTO_LOCK_DH   26
#define  CRYPTO_LOCK_MALLOC2   27
#define  CRYPTO_LOCK_DSO   28
#define  CRYPTO_LOCK_DYNLOCK   29
#define  CRYPTO_LOCK_ENGINE   30
#define  CRYPTO_LOCK_UI   31
#define  CRYPTO_LOCK_ECDSA   32
#define  CRYPTO_LOCK_EC   33
#define  CRYPTO_LOCK_ECDH   34
#define  CRYPTO_LOCK_BN   35
#define  CRYPTO_LOCK_EC_PRE_COMP   36
#define  CRYPTO_LOCK_STORE   37
#define  CRYPTO_LOCK_COMP   38
#define  CRYPTO_NUM_LOCKS   39
#define  CRYPTO_LOCK   1
#define  CRYPTO_UNLOCK   2
#define  CRYPTO_READ   4
#define  CRYPTO_WRITE   8
#define  CRYPTO_w_lock(type)   CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)
#define  CRYPTO_w_unlock(type)   CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)
#define  CRYPTO_r_lock(type)   CRYPTO_lock(CRYPTO_LOCK|CRYPTO_READ,type,__FILE__,__LINE__)
#define  CRYPTO_r_unlock(type)   CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,__FILE__,__LINE__)
#define  CRYPTO_add(addr, amount, type)   CRYPTO_add_lock(addr,amount,type,__FILE__,__LINE__)
#define  CRYPTO_MEM_CHECK_OFF   0x0
#define  CRYPTO_MEM_CHECK_ON   0x1
#define  CRYPTO_MEM_CHECK_ENABLE   0x2
#define  CRYPTO_MEM_CHECK_DISABLE   0x3
#define  V_CRYPTO_MDEBUG_TIME   0x1
#define  V_CRYPTO_MDEBUG_THREAD   0x2
#define  V_CRYPTO_MDEBUG_ALL   (V_CRYPTO_MDEBUG_TIME | V_CRYPTO_MDEBUG_THREAD)
#define  CRYPTO_EX_INDEX_BIO   0
#define  CRYPTO_EX_INDEX_SSL   1
#define  CRYPTO_EX_INDEX_SSL_CTX   2
#define  CRYPTO_EX_INDEX_SSL_SESSION   3
#define  CRYPTO_EX_INDEX_X509_STORE   4
#define  CRYPTO_EX_INDEX_X509_STORE_CTX   5
#define  CRYPTO_EX_INDEX_RSA   6
#define  CRYPTO_EX_INDEX_DSA   7
#define  CRYPTO_EX_INDEX_DH   8
#define  CRYPTO_EX_INDEX_ENGINE   9
#define  CRYPTO_EX_INDEX_X509   10
#define  CRYPTO_EX_INDEX_UI   11
#define  CRYPTO_EX_INDEX_ECDSA   12
#define  CRYPTO_EX_INDEX_ECDH   13
#define  CRYPTO_EX_INDEX_COMP   14
#define  CRYPTO_EX_INDEX_STORE   15
#define  CRYPTO_EX_INDEX_USER   100
#define  CRYPTO_malloc_init()
#define  CRYPTO_malloc_debug_init()
#define  MemCheck_start()   CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON)
#define  MemCheck_stop()   CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_OFF)
#define  MemCheck_on()   CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE)
#define  MemCheck_off()   CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_DISABLE)
#define  is_MemCheck_on()   CRYPTO_is_mem_check_on()
#define  OPENSSL_malloc(num)   CRYPTO_malloc((int)num,__FILE__,__LINE__)
#define  OPENSSL_realloc(addr, num)   CRYPTO_realloc((char *)addr,(int)num,__FILE__,__LINE__)
#define  OPENSSL_realloc_clean(addr, old_num, num)   CRYPTO_realloc_clean(addr,old_num,num,__FILE__,__LINE__)
#define  OPENSSL_remalloc(addr, num)   CRYPTO_remalloc((char **)addr,(int)num,__FILE__,__LINE__)
#define  OPENSSL_freeFunc   CRYPTO_free
#define  OPENSSL_free(addr)   CRYPTO_free(addr)
#define  OPENSSL_malloc_locked(num)   CRYPTO_malloc_locked((int)num,__FILE__,__LINE__)
#define  OPENSSL_free_locked(addr)   CRYPTO_free_locked(addr)
#define  CRYPTO_push_info(info)   CRYPTO_push_info_(info, __FILE__, __LINE__);
#define  OPENSSL_assert(e)   (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1))
#define  OPENSSL_ia32cap   (*(OPENSSL_ia32cap_loc()))
#define  CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX   100
#define  CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID   103
#define  CRYPTO_F_CRYPTO_GET_NEW_LOCKID   101
#define  CRYPTO_F_CRYPTO_SET_EX_DATA   102
#define  CRYPTO_F_DEF_ADD_INDEX   104
#define  CRYPTO_F_DEF_GET_CLASS   105
#define  CRYPTO_F_INT_DUP_EX_DATA   106
#define  CRYPTO_F_INT_FREE_EX_DATA   107
#define  CRYPTO_F_INT_NEW_EX_DATA   108
#define  CRYPTO_R_NO_DYNLOCK_CREATE_CALLBACK   100

Typedefs

typedef openssl_item_st  OPENSSL_ITEM
typedef bio_st  BIO_dummy
typedef crypto_ex_data_func_st  CRYPTO_EX_DATA_FUNCS
typedef st_CRYPTO_EX_DATA_IMPL  CRYPTO_EX_DATA_IMPL
typedef void *  CRYPTO_MEM_LEAK_CB (unsigned long, const char *, int, int, void *)

Functions

  DECLARE_STACK_OF (CRYPTO_EX_DATA_FUNCS) IMPORT_C int CRYPTO_mem_ctrl(int mode)
IMPORT_C int  CRYPTO_is_mem_check_on (void)
IMPORT_C const char *  SSLeay_version (int type)
IMPORT_C unsigned long  SSLeay (void)
IMPORT_C int  OPENSSL_issetugid (void)
IMPORT_C const CRYPTO_EX_DATA_IMPL CRYPTO_get_ex_data_implementation (void)
IMPORT_C int  CRYPTO_set_ex_data_implementation (CRYPTO_EX_DATA_IMPL *i)
IMPORT_C int  CRYPTO_ex_data_new_class (void)
IMPORT_C int  CRYPTO_get_ex_new_index (int class_index, long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
IMPORT_C int  CRYPTO_new_ex_data (int class_index, void *obj, CRYPTO_EX_DATA *ad)
IMPORT_C int  CRYPTO_dup_ex_data (int class_index, CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from)
IMPORT_C void  CRYPTO_free_ex_data (int class_index, void *obj, CRYPTO_EX_DATA *ad)
IMPORT_C int  CRYPTO_set_ex_data (CRYPTO_EX_DATA *ad, int idx, void *val)
IMPORT_C void *  CRYPTO_get_ex_data (const CRYPTO_EX_DATA *ad, int idx)
IMPORT_C void  CRYPTO_cleanup_all_ex_data (void)
IMPORT_C int  CRYPTO_get_new_lockid (char *name)
IMPORT_C int  CRYPTO_num_locks (void)
IMPORT_C void  CRYPTO_lock (int mode, int type, const char *file, int line)
IMPORT_C void  CRYPTO_set_locking_callback (void(*func)(int mode, int type, const char *file, int line))
IMPORT_C void  CRYPTO_set_add_lock_callback (int(*func)(int *num, int mount, int type, const char *file, int line))
IMPORT_C void  CRYPTO_set_id_callback (unsigned long(*func)(void))
IMPORT_C unsigned long  CRYPTO_thread_id (void)
IMPORT_C const char *  CRYPTO_get_lock_name (int type)
IMPORT_C int  CRYPTO_add_lock (int *pointer, int amount, int type, const char *file, int line)
IMPORT_C int  CRYPTO_get_new_dynlockid (void)
IMPORT_C void  CRYPTO_destroy_dynlockid (int i)
IMPORT_C struct CRYPTO_dynlock_value *  CRYPTO_get_dynlock_value (int i)
IMPORT_C void  CRYPTO_set_dynlock_create_callback (struct CRYPTO_dynlock_value *(*dyn_create_function)(const char *file, int line))
IMPORT_C void  CRYPTO_set_dynlock_lock_callback (void(*dyn_lock_function)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line))
IMPORT_C void  CRYPTO_set_dynlock_destroy_callback (void(*dyn_destroy_function)(struct CRYPTO_dynlock_value *l, const char *file, int line))
IMPORT_C int  CRYPTO_set_mem_functions (void *(*m)(size_t), void *(*r)(void *, size_t), void(*f)(void *))
IMPORT_C int  CRYPTO_set_locked_mem_functions (void *(*m)(size_t), void(*free_func)(void *))
IMPORT_C int  CRYPTO_set_mem_ex_functions (void *(*m)(size_t, const char *, int), void *(*r)(void *, size_t, const char *, int), void(*f)(void *))
IMPORT_C int  CRYPTO_set_locked_mem_ex_functions (void *(*m)(size_t, const char *, int), void(*free_func)(void *))
IMPORT_C int  CRYPTO_set_mem_debug_functions (void(*m)(void *, int, const char *, int, int), void(*r)(void *, void *, int, const char *, int, int), void(*f)(void *, int), void(*so)(long), long(*go)(void))
IMPORT_C void  CRYPTO_get_mem_functions (void *(**m)(size_t), void *(**r)(void *, size_t), void(**f)(void *))
IMPORT_C void  CRYPTO_get_locked_mem_functions (void *(**m)(size_t), void(**f)(void *))
IMPORT_C void  CRYPTO_get_mem_ex_functions (void *(**m)(size_t, const char *, int), void *(**r)(void *, size_t, const char *, int), void(**f)(void *))
IMPORT_C void  CRYPTO_get_locked_mem_ex_functions (void *(**m)(size_t, const char *, int), void(**f)(void *))
IMPORT_C void  CRYPTO_get_mem_debug_functions (void(**m)(void *, int, const char *, int, int), void(**r)(void *, void *, int, const char *, int, int), void(**f)(void *, int), void(**so)(long), long(**go)(void))
IMPORT_C void *  CRYPTO_malloc_locked (int num, const char *file, int line)
IMPORT_C void  CRYPTO_free_locked (void *)
IMPORT_C void *  CRYPTO_malloc (int num, const char *file, int line)
IMPORT_C void  CRYPTO_free (void *)
IMPORT_C void *  CRYPTO_realloc (void *addr, int num, const char *file, int line)
IMPORT_C void *  CRYPTO_realloc_clean (void *addr, int old_num, int num, const char *file, int line)
IMPORT_C void *  CRYPTO_remalloc (void *addr, int num, const char *file, int line)
IMPORT_C void  OPENSSL_cleanse (void *ptr, size_t len)
IMPORT_C void  CRYPTO_set_mem_debug_options (long bits)
long  CRYPTO_get_mem_debug_options (void)
IMPORT_C int  CRYPTO_push_info_ (const char *info, const char *file, int line)
IMPORT_C int  CRYPTO_pop_info (void)
IMPORT_C int  CRYPTO_remove_all_info (void)
IMPORT_C void  CRYPTO_dbg_malloc (void *addr, int num, const char *file, int line, int before_p)
IMPORT_C void  CRYPTO_dbg_realloc (void *addr1, void *addr2, int num, const char *file, int line, int before_p)
IMPORT_C void  CRYPTO_dbg_free (void *addr, int before_p)
IMPORT_C void  CRYPTO_dbg_set_options (long bits)
IMPORT_C long  CRYPTO_dbg_get_options (void)
IMPORT_C void  CRYPTO_mem_leaks_fp (FILE *)
IMPORT_C void  CRYPTO_mem_leaks (struct bio_st *bio)
IMPORT_C void  CRYPTO_mem_leaks_cb (CRYPTO_MEM_LEAK_CB *cb)
IMPORT_C void  OpenSSLDie (const char *file, int line, const char *assertion)
unsigned long *  OPENSSL_ia32cap_loc (void)
IMPORT_C void  ERR_load_crypto_strings (void)

Variables

IMPORT_C void(*)(int mode,
int type, const char *file,
int line) 
CRYPTO_get_locking_callback (void)
IMPORT_C int(*)(int *num,
int mount, int type, const
char *file, int line) 
CRYPTO_get_add_lock_callback (void)
IMPORT_C unsigned long(*)(void)  CRYPTO_get_id_callback (void)
IMPORT_C struct CRYPTO_dynlock_value
*(*)(const char *file, int
line) 
CRYPTO_get_dynlock_create_callback (void)
IMPORT_C void(*)(int mode,
struct CRYPTO_dynlock_value
*l, const char *file, int
line) 
CRYPTO_get_dynlock_lock_callback (void)
IMPORT_C void(*)(struct CRYPTO_dynlock_value
*l, const char *file, int
line) 
CRYPTO_get_dynlock_destroy_callback (void)

Define Documentation

#define CRYPTO_add addr,
amount,
type   )     CRYPTO_add_lock(addr,amount,type,__FILE__,__LINE__)
 
#define CRYPTO_EX_INDEX_BIO   0
 
#define CRYPTO_EX_INDEX_COMP   14
 
#define CRYPTO_EX_INDEX_DH   8
 
#define CRYPTO_EX_INDEX_DSA   7
 
#define CRYPTO_EX_INDEX_ECDH   13
 
#define CRYPTO_EX_INDEX_ECDSA   12
 
#define CRYPTO_EX_INDEX_ENGINE   9
 
#define CRYPTO_EX_INDEX_RSA   6
 
#define CRYPTO_EX_INDEX_SSL   1
 
#define CRYPTO_EX_INDEX_SSL_CTX   2
 
#define CRYPTO_EX_INDEX_SSL_SESSION   3
 
#define CRYPTO_EX_INDEX_STORE   15
 
#define CRYPTO_EX_INDEX_UI   11
 
#define CRYPTO_EX_INDEX_USER   100
 
#define CRYPTO_EX_INDEX_X509   10
 
#define CRYPTO_EX_INDEX_X509_STORE   4
 
#define CRYPTO_EX_INDEX_X509_STORE_CTX   5
 
#define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX   100
 
#define CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID   103
 
#define CRYPTO_F_CRYPTO_GET_NEW_LOCKID   101
 
#define CRYPTO_F_CRYPTO_SET_EX_DATA   102
 
#define CRYPTO_F_DEF_ADD_INDEX   104
 
#define CRYPTO_F_DEF_GET_CLASS   105
 
#define CRYPTO_F_INT_DUP_EX_DATA   106
 
#define CRYPTO_F_INT_FREE_EX_DATA   107
 
#define CRYPTO_F_INT_NEW_EX_DATA   108
 
#define CRYPTO_LOCK   1
 
#define CRYPTO_LOCK_BIO   21
 
#define CRYPTO_LOCK_BN   35
 
#define CRYPTO_LOCK_COMP   38
 
#define CRYPTO_LOCK_DH   26
 
#define CRYPTO_LOCK_DSA   8
 
#define CRYPTO_LOCK_DSO   28
 
#define CRYPTO_LOCK_DYNLOCK   29
 
#define CRYPTO_LOCK_EC   33
 
#define CRYPTO_LOCK_EC_PRE_COMP   36
 
#define CRYPTO_LOCK_ECDH   34
 
#define CRYPTO_LOCK_ECDSA   32
 
#define CRYPTO_LOCK_ENGINE   30
 
#define CRYPTO_LOCK_ERR   1
 
#define CRYPTO_LOCK_EVP_PKEY   10
 
#define CRYPTO_LOCK_EX_DATA   2
 
#define CRYPTO_LOCK_GETHOSTBYNAME   22
 
#define CRYPTO_LOCK_GETSERVBYNAME   23
 
#define CRYPTO_LOCK_MALLOC   20
 
#define CRYPTO_LOCK_MALLOC2   27
 
#define CRYPTO_LOCK_RAND   18
 
#define CRYPTO_LOCK_RAND2   19
 
#define CRYPTO_LOCK_READDIR   24
 
#define CRYPTO_LOCK_RSA   9
 
#define CRYPTO_LOCK_RSA_BLINDING   25
 
#define CRYPTO_LOCK_SSL   16
 
#define CRYPTO_LOCK_SSL_CERT   13
 
#define CRYPTO_LOCK_SSL_CTX   12
 
#define CRYPTO_LOCK_SSL_METHOD   17
 
#define CRYPTO_LOCK_SSL_SESS_CERT   15
 
#define CRYPTO_LOCK_SSL_SESSION   14
 
#define CRYPTO_LOCK_STORE   37
 
#define CRYPTO_LOCK_UI   31
 
#define CRYPTO_LOCK_X509   3
 
#define CRYPTO_LOCK_X509_CRL   6
 
#define CRYPTO_LOCK_X509_INFO   4
 
#define CRYPTO_LOCK_X509_PKEY   5
 
#define CRYPTO_LOCK_X509_REQ   7
 
#define CRYPTO_LOCK_X509_STORE   11
 
#define CRYPTO_malloc_debug_init
 
 ) 
 

Value:

#define CRYPTO_malloc_init
 
 ) 
 

Value:

#define CRYPTO_MEM_CHECK_DISABLE   0x3
 
#define CRYPTO_MEM_CHECK_ENABLE   0x2
 
#define CRYPTO_MEM_CHECK_OFF   0x0
 
#define CRYPTO_MEM_CHECK_ON   0x1
 
#define CRYPTO_NUM_LOCKS   39
 
#define CRYPTO_push_info info   )     CRYPTO_push_info_(info, __FILE__, __LINE__);
 
#define CRYPTO_r_lock type   )     CRYPTO_lock(CRYPTO_LOCK|CRYPTO_READ,type,__FILE__,__LINE__)
 
#define CRYPTO_R_NO_DYNLOCK_CREATE_CALLBACK   100
 
#define CRYPTO_r_unlock type   )     CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,__FILE__,__LINE__)
 
#define CRYPTO_READ   4
 
#define CRYPTO_UNLOCK   2
 
#define CRYPTO_w_lock type   )     CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)
 
#define CRYPTO_w_unlock type   )     CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)
 
#define CRYPTO_WRITE   8
 
#define is_MemCheck_on
 
 )     CRYPTO_is_mem_check_on()
 
#define MemCheck_off
 
 )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_DISABLE)
 
#define MemCheck_on
 
 )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE)
 
#define MemCheck_start
 
 )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON)
 
#define MemCheck_stop
 
 )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_OFF)
 
#define OPENSSL_assert  )     (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1))
 
#define OPENSSL_free addr   )     CRYPTO_free(addr)
 
#define OPENSSL_free_locked addr   )     CRYPTO_free_locked(addr)
 
#define OPENSSL_freeFunc   CRYPTO_free
 
#define OPENSSL_ia32cap   (*(OPENSSL_ia32cap_loc()))
 
#define OPENSSL_malloc num   )     CRYPTO_malloc((int)num,__FILE__,__LINE__)
 
#define OPENSSL_malloc_locked num   )     CRYPTO_malloc_locked((int)num,__FILE__,__LINE__)
 
#define OPENSSL_realloc addr,
num   )     CRYPTO_realloc((char *)addr,(int)num,__FILE__,__LINE__)
 
#define OPENSSL_realloc_clean addr,
old_num,
num   )     CRYPTO_realloc_clean(addr,old_num,num,__FILE__,__LINE__)
 
#define OPENSSL_remalloc addr,
num   )     CRYPTO_remalloc((char **)addr,(int)num,__FILE__,__LINE__)
 
#define SSLEAY_BUILT_ON   3
 
#define SSLEAY_CFLAGS   2
 
#define SSLEAY_DIR   5
 
#define SSLEAY_PLATFORM   4
 
#define SSLEAY_VERSION   0
 
#define SSLEAY_VERSION_NUMBER   OPENSSL_VERSION_NUMBER
 
#define V_CRYPTO_MDEBUG_ALL   (V_CRYPTO_MDEBUG_TIME | V_CRYPTO_MDEBUG_THREAD)
 
#define V_CRYPTO_MDEBUG_THREAD   0x2
 
#define V_CRYPTO_MDEBUG_TIME   0x1
 

Typedef Documentation

typedef struct bio_st BIO_dummy
 
typedef struct crypto_ex_data_func_st CRYPTO_EX_DATA_FUNCS
 
typedef struct st_CRYPTO_EX_DATA_IMPL CRYPTO_EX_DATA_IMPL
 
typedef void* CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *)
 
typedef struct openssl_item_st OPENSSL_ITEM
 

Function Documentation

IMPORT_C int CRYPTO_add_lock int *  pointer,
int  amount,
int  type,
const char *  file,
int  line
 
IMPORT_C void CRYPTO_cleanup_all_ex_data void   ) 
 
IMPORT_C void CRYPTO_dbg_free void *  addr,
int  before_p
 
IMPORT_C long CRYPTO_dbg_get_options void   ) 
 
IMPORT_C void CRYPTO_dbg_malloc void *  addr,
int  num,
const char *  file,
int  line,
int  before_p
 
IMPORT_C void CRYPTO_dbg_realloc void *  addr1,
void *  addr2,
int  num,
const char *  file,
int  line,
int  before_p
 
IMPORT_C void CRYPTO_dbg_set_options long  bits  ) 
 
IMPORT_C void CRYPTO_destroy_dynlockid int  i  ) 
 
IMPORT_C int CRYPTO_dup_ex_data int  class_index,
CRYPTO_EX_DATA to,
CRYPTO_EX_DATA from
 
IMPORT_C int CRYPTO_ex_data_new_class void   ) 
 
IMPORT_C void CRYPTO_free void *   ) 
 
IMPORT_C void CRYPTO_free_ex_data int  class_index,
void *  obj,
CRYPTO_EX_DATA ad
 
IMPORT_C void CRYPTO_free_locked void *   ) 
 
IMPORT_C struct CRYPTO_dynlock_value* CRYPTO_get_dynlock_value int  i  ) 
 
IMPORT_C void* CRYPTO_get_ex_data const CRYPTO_EX_DATA ad,
int  idx
 
IMPORT_C const CRYPTO_EX_DATA_IMPL* CRYPTO_get_ex_data_implementation void   ) 
 
IMPORT_C int CRYPTO_get_ex_new_index int  class_index,
long  argl,
void *  argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func
 
IMPORT_C const char* CRYPTO_get_lock_name int  type  ) 
 
IMPORT_C void CRYPTO_get_locked_mem_ex_functions void *(**)(size_t, const char *, int)  m,
void(**)(void *)  f
 
IMPORT_C void CRYPTO_get_locked_mem_functions void *(**)(size_t m,
void(**)(void *)  f
 
IMPORT_C void CRYPTO_get_mem_debug_functions void(**)(void *, int, const char *, int, int)  m,
void(**)(void *, void *, int, const char *, int, int)  r,
void(**)(void *, int)  f,
void(**)(long)  so,
long(**)(void)  go
 
long CRYPTO_get_mem_debug_options void   ) 
 
IMPORT_C void CRYPTO_get_mem_ex_functions void *(**)(size_t, const char *, int)  m,
void *(**)(void *, size_t, const char *, int)  r,
void(**)(void *)  f
 
IMPORT_C void CRYPTO_get_mem_functions void *(**)(size_t m,
void *(**)(void *, size_t r,
void(**)(void *)  f
 
IMPORT_C int CRYPTO_get_new_dynlockid void   ) 
 
IMPORT_C int CRYPTO_get_new_lockid char *  name  ) 
 
IMPORT_C int CRYPTO_is_mem_check_on void   ) 
 
IMPORT_C void CRYPTO_lock int  mode,
int  type,
const char *  file,
int  line
 
IMPORT_C void* CRYPTO_malloc int  num,
const char *  file,
int  line
 
IMPORT_C void* CRYPTO_malloc_locked int  num,
const char *  file,
int  line
 
IMPORT_C void CRYPTO_mem_leaks struct bio_st bio  ) 
 
IMPORT_C void CRYPTO_mem_leaks_cb CRYPTO_MEM_LEAK_CB cb  ) 
 
IMPORT_C void CRYPTO_mem_leaks_fp FILE  ) 
 
IMPORT_C int CRYPTO_new_ex_data int  class_index,
void *  obj,
CRYPTO_EX_DATA ad
 
IMPORT_C int CRYPTO_num_locks void   ) 
 
IMPORT_C int CRYPTO_pop_info void   ) 
 
IMPORT_C int CRYPTO_push_info_ const char *  info,
const char *  file,
int  line
 
IMPORT_C void* CRYPTO_realloc void *  addr,
int  num,
const char *  file,
int  line
 
IMPORT_C void* CRYPTO_realloc_clean void *  addr,
int  old_num,
int  num,
const char *  file,
int  line
 
IMPORT_C void* CRYPTO_remalloc void *  addr,
int  num,
const char *  file,
int  line
 
IMPORT_C int CRYPTO_remove_all_info void   ) 
 
IMPORT_C void CRYPTO_set_add_lock_callback int(*)(int *num, int mount, int type, const char *file, int line)  func  ) 
 
IMPORT_C void CRYPTO_set_dynlock_create_callback struct CRYPTO_dynlock_value *(*)(const char *file, int line)  dyn_create_function  ) 
 
IMPORT_C void CRYPTO_set_dynlock_destroy_callback void(*)(struct CRYPTO_dynlock_value *l, const char *file, int line)  dyn_destroy_function  ) 
 
IMPORT_C void CRYPTO_set_dynlock_lock_callback void(*)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)  dyn_lock_function  ) 
 
IMPORT_C int CRYPTO_set_ex_data CRYPTO_EX_DATA ad,
int  idx,
void *  val
 
IMPORT_C int CRYPTO_set_ex_data_implementation CRYPTO_EX_DATA_IMPL i  ) 
 
IMPORT_C void CRYPTO_set_id_callback unsigned long(*)(void)  func  ) 
 
IMPORT_C int CRYPTO_set_locked_mem_ex_functions void *(*)(size_t, const char *, int)  m,
void(*)(void *)  free_func
 
IMPORT_C int CRYPTO_set_locked_mem_functions void *(*)(size_t m,
void(*)(void *)  free_func
 
IMPORT_C void CRYPTO_set_locking_callback void(*)(int mode, int type, const char *file, int line)  func  ) 
 
IMPORT_C int CRYPTO_set_mem_debug_functions void(*)(void *, int, const char *, int, int)  m,
void(*)(void *, void *, int, const char *, int, int)  r,
void(*)(void *, int)  f,
void(*)(long)  so,
long(*)(void)  go
 
IMPORT_C void CRYPTO_set_mem_debug_options long  bits  ) 
 
IMPORT_C int CRYPTO_set_mem_ex_functions void *(*)(size_t, const char *, int)  m,
void *(*)(void *, size_t, const char *, int)  r,
void(*)(void *)  f
 
IMPORT_C int CRYPTO_set_mem_functions void *(*)(size_t m,
void *(*)(void *, size_t r,
void(*)(void *)  f
 
IMPORT_C unsigned long CRYPTO_thread_id void   ) 
 
DECLARE_STACK_OF CRYPTO_EX_DATA_FUNCS   ) 
 
IMPORT_C void ERR_load_crypto_strings void   ) 
 
IMPORT_C void OPENSSL_cleanse void *  ptr,
size_t  len
 
unsigned long* OPENSSL_ia32cap_loc void   ) 
 
IMPORT_C int OPENSSL_issetugid void   ) 
 
IMPORT_C void OpenSSLDie const char *  file,
int  line,
const char *  assertion
 
IMPORT_C unsigned long SSLeay void   ) 
 
IMPORT_C const char* SSLeay_version int  type  ) 
 

Variable Documentation

IMPORT_C int(*)(int *num, int mount, int type, const char *file, int line) CRYPTO_get_add_lock_callback(void)
 
IMPORT_C struct CRYPTO_dynlock_value*(*)(const char *file, int line) CRYPTO_get_dynlock_create_callback(void)
 
IMPORT_C void(*)(struct CRYPTO_dynlock_value *l, const char *file, int line) CRYPTO_get_dynlock_destroy_callback(void)
 
IMPORT_C void(*)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) CRYPTO_get_dynlock_lock_callback(void)
 
IMPORT_C unsigned long(*)(void) CRYPTO_get_id_callback(void)
 
IMPORT_C void(*)(int mode, int type, const char *file, int line) CRYPTO_get_locking_callback(void)
 

Copyright © Nokia Corporation 2001-2008
Back to top