crypto.h File Reference

#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 struct openssl_item_st OPENSSL_ITEM
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 *)

Functions

int CRYPTO_mem_ctrl (int mode)
int CRYPTO_is_mem_check_on (void)
const char * SSLeay_version (int type)
unsigned long SSLeay (void)
int OPENSSL_issetugid (void)
const CRYPTO_EX_DATA_IMPLCRYPTO_get_ex_data_implementation (void)
int CRYPTO_set_ex_data_implementation (const CRYPTO_EX_DATA_IMPL *i)
int CRYPTO_ex_data_new_class (void)
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)
int CRYPTO_new_ex_data (int class_index, void *obj, CRYPTO_EX_DATA *ad)
int CRYPTO_dup_ex_data (int class_index, CRYPTO_EX_DATA *to, CRYPTO_EX_DATA *from)
void CRYPTO_free_ex_data (int class_index, void *obj, CRYPTO_EX_DATA *ad)
int CRYPTO_set_ex_data (CRYPTO_EX_DATA *ad, int idx, void *val)
void * CRYPTO_get_ex_data (const CRYPTO_EX_DATA *ad, int idx)
void CRYPTO_cleanup_all_ex_data (void)
int CRYPTO_get_new_lockid (char *name)
int CRYPTO_num_locks (void)
void CRYPTO_lock (int mode, int type, const char *file, int line)
void CRYPTO_set_locking_callback (void(*func)(int mode, int type, const char *file, int line))
void(*)(int mode, int type,
const char *file, int line) 
CRYPTO_get_locking_callback (void)
void CRYPTO_set_add_lock_callback (int(*func)(int *num, int mount, int type, const char *file, int line))
int(*)(int *num, int mount,
int type, const char *file,
int line) 
CRYPTO_get_add_lock_callback (void)
void CRYPTO_set_id_callback (unsigned long(*func)(void))
unsigned long(*)(void) CRYPTO_get_id_callback (void)
unsigned long CRYPTO_thread_id (void)
const char * CRYPTO_get_lock_name (int type)
int CRYPTO_add_lock (int *pointer, int amount, int type, const char *file, int line)
int CRYPTO_get_new_dynlockid (void)
void CRYPTO_destroy_dynlockid (int i)
struct CRYPTO_dynlock_value * CRYPTO_get_dynlock_value (int i)
void CRYPTO_set_dynlock_create_callback (struct CRYPTO_dynlock_value *(*dyn_create_function)(const char *file, int line))
void CRYPTO_set_dynlock_lock_callback (void(*dyn_lock_function)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line))
void CRYPTO_set_dynlock_destroy_callback (void(*dyn_destroy_function)(struct CRYPTO_dynlock_value *l, const char *file, int line))
struct CRYPTO_dynlock_value
*(*)(const char *file, int
line) 
CRYPTO_get_dynlock_create_callback (void)
void(*)(int mode, struct
CRYPTO_dynlock_value *l, const
char *file, int line) 
CRYPTO_get_dynlock_lock_callback (void)
void(*)(struct
CRYPTO_dynlock_value *l, const
char *file, int line) 
CRYPTO_get_dynlock_destroy_callback (void)
int CRYPTO_set_mem_functions (void *(*m)(size_t), void *(*r)(void *, size_t), void(*f)(void *))
int CRYPTO_set_locked_mem_functions (void *(*m)(size_t), void(*free_func)(void *))
int CRYPTO_set_mem_ex_functions (void *(*m)(size_t, const char *, int), void *(*r)(void *, size_t, const char *, int), void(*f)(void *))
int CRYPTO_set_locked_mem_ex_functions (void *(*m)(size_t, const char *, int), void(*free_func)(void *))
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))
void CRYPTO_get_mem_functions (void *(**m)(size_t), void *(**r)(void *, size_t), void(**f)(void *))
void CRYPTO_get_locked_mem_functions (void *(**m)(size_t), void(**f)(void *))
void CRYPTO_get_mem_ex_functions (void *(**m)(size_t, const char *, int), void *(**r)(void *, size_t, const char *, int), void(**f)(void *))
void CRYPTO_get_locked_mem_ex_functions (void *(**m)(size_t, const char *, int), void(**f)(void *))
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))
void * CRYPTO_malloc_locked (int num, const char *file, int line)
void CRYPTO_free_locked (void *)
void * CRYPTO_malloc (int num, const char *file, int line)
void CRYPTO_free (void *)
void * CRYPTO_realloc (void *addr, int num, const char *file, int line)
void * CRYPTO_realloc_clean (void *addr, int old_num, int num, const char *file, int line)
void * CRYPTO_remalloc (void *addr, int num, const char *file, int line)
void OPENSSL_cleanse (void *ptr, size_t len)
void CRYPTO_set_mem_debug_options (long bits)
long CRYPTO_get_mem_debug_options (void)
int CRYPTO_push_info_ (const char *info, const char *file, int line)
int CRYPTO_pop_info (void)
int CRYPTO_remove_all_info (void)
void CRYPTO_dbg_malloc (void *addr, int num, const char *file, int line, int before_p)
void CRYPTO_dbg_realloc (void *addr1, void *addr2, int num, const char *file, int line, int before_p)
void CRYPTO_dbg_free (void *addr, int before_p)
void CRYPTO_dbg_set_options (long bits)
long CRYPTO_dbg_get_options (void)
void CRYPTO_mem_leaks_fp (FILE *)
void CRYPTO_mem_leaks (struct bio_st *bio)
void CRYPTO_mem_leaks_cb (CRYPTO_MEM_LEAK_CB *cb)
void OpenSSLDie (const char *file, int line, const char *assertion)
unsigned long * OPENSSL_ia32cap_loc (void)
void ERR_load_CRYPTO_strings (void)


Define Documentation

#define CRYPTO_add ( addr,
amount,
type   )     CRYPTO_add_lock(addr,amount,type,__FILE__,__LINE__)

Definition at line 239 of file crypto.h.

#define CRYPTO_EX_INDEX_BIO   0

Definition at line 307 of file crypto.h.

#define CRYPTO_EX_INDEX_COMP   14

Definition at line 321 of file crypto.h.

#define CRYPTO_EX_INDEX_DH   8

Definition at line 315 of file crypto.h.

#define CRYPTO_EX_INDEX_DSA   7

Definition at line 314 of file crypto.h.

#define CRYPTO_EX_INDEX_ECDH   13

Definition at line 320 of file crypto.h.

#define CRYPTO_EX_INDEX_ECDSA   12

Definition at line 319 of file crypto.h.

#define CRYPTO_EX_INDEX_ENGINE   9

Definition at line 316 of file crypto.h.

#define CRYPTO_EX_INDEX_RSA   6

Definition at line 313 of file crypto.h.

#define CRYPTO_EX_INDEX_SSL   1

Definition at line 308 of file crypto.h.

#define CRYPTO_EX_INDEX_SSL_CTX   2

Definition at line 309 of file crypto.h.

#define CRYPTO_EX_INDEX_SSL_SESSION   3

Definition at line 310 of file crypto.h.

#define CRYPTO_EX_INDEX_STORE   15

Definition at line 322 of file crypto.h.

#define CRYPTO_EX_INDEX_UI   11

Definition at line 318 of file crypto.h.

#define CRYPTO_EX_INDEX_USER   100

Definition at line 326 of file crypto.h.

#define CRYPTO_EX_INDEX_X509   10

Definition at line 317 of file crypto.h.

#define CRYPTO_EX_INDEX_X509_STORE   4

Definition at line 311 of file crypto.h.

#define CRYPTO_EX_INDEX_X509_STORE_CTX   5

Definition at line 312 of file crypto.h.

#define CRYPTO_F_CRYPTO_GET_EX_NEW_INDEX   100

Definition at line 534 of file crypto.h.

#define CRYPTO_F_CRYPTO_GET_NEW_DYNLOCKID   103

Definition at line 535 of file crypto.h.

#define CRYPTO_F_CRYPTO_GET_NEW_LOCKID   101

Definition at line 536 of file crypto.h.

#define CRYPTO_F_CRYPTO_SET_EX_DATA   102

Definition at line 537 of file crypto.h.

#define CRYPTO_F_DEF_ADD_INDEX   104

Definition at line 538 of file crypto.h.

#define CRYPTO_F_DEF_GET_CLASS   105

Definition at line 539 of file crypto.h.

#define CRYPTO_F_INT_DUP_EX_DATA   106

Definition at line 540 of file crypto.h.

#define CRYPTO_F_INT_FREE_EX_DATA   107

Definition at line 541 of file crypto.h.

#define CRYPTO_F_INT_NEW_EX_DATA   108

Definition at line 542 of file crypto.h.

#define CRYPTO_LOCK   1

Definition at line 224 of file crypto.h.

#define CRYPTO_LOCK_BIO   21

Definition at line 204 of file crypto.h.

#define CRYPTO_LOCK_BN   35

Definition at line 218 of file crypto.h.

#define CRYPTO_LOCK_COMP   38

Definition at line 221 of file crypto.h.

#define CRYPTO_LOCK_DH   26

Definition at line 209 of file crypto.h.

#define CRYPTO_LOCK_DSA   8

Definition at line 191 of file crypto.h.

#define CRYPTO_LOCK_DSO   28

Definition at line 211 of file crypto.h.

#define CRYPTO_LOCK_DYNLOCK   29

Definition at line 212 of file crypto.h.

#define CRYPTO_LOCK_EC   33

Definition at line 216 of file crypto.h.

#define CRYPTO_LOCK_EC_PRE_COMP   36

Definition at line 219 of file crypto.h.

#define CRYPTO_LOCK_ECDH   34

Definition at line 217 of file crypto.h.

#define CRYPTO_LOCK_ECDSA   32

Definition at line 215 of file crypto.h.

#define CRYPTO_LOCK_ENGINE   30

Definition at line 213 of file crypto.h.

#define CRYPTO_LOCK_ERR   1

Definition at line 184 of file crypto.h.

#define CRYPTO_LOCK_EVP_PKEY   10

Definition at line 193 of file crypto.h.

#define CRYPTO_LOCK_EX_DATA   2

Definition at line 185 of file crypto.h.

#define CRYPTO_LOCK_GETHOSTBYNAME   22

Definition at line 205 of file crypto.h.

#define CRYPTO_LOCK_GETSERVBYNAME   23

Definition at line 206 of file crypto.h.

#define CRYPTO_LOCK_MALLOC   20

Definition at line 203 of file crypto.h.

#define CRYPTO_LOCK_MALLOC2   27

Definition at line 210 of file crypto.h.

#define CRYPTO_LOCK_RAND   18

Definition at line 201 of file crypto.h.

#define CRYPTO_LOCK_RAND2   19

Definition at line 202 of file crypto.h.

#define CRYPTO_LOCK_READDIR   24

Definition at line 207 of file crypto.h.

#define CRYPTO_LOCK_RSA   9

Definition at line 192 of file crypto.h.

#define CRYPTO_LOCK_RSA_BLINDING   25

Definition at line 208 of file crypto.h.

#define CRYPTO_LOCK_SSL   16

Definition at line 199 of file crypto.h.

#define CRYPTO_LOCK_SSL_CERT   13

Definition at line 196 of file crypto.h.

#define CRYPTO_LOCK_SSL_CTX   12

Definition at line 195 of file crypto.h.

#define CRYPTO_LOCK_SSL_METHOD   17

Definition at line 200 of file crypto.h.

#define CRYPTO_LOCK_SSL_SESS_CERT   15

Definition at line 198 of file crypto.h.

#define CRYPTO_LOCK_SSL_SESSION   14

Definition at line 197 of file crypto.h.

#define CRYPTO_LOCK_STORE   37

Definition at line 220 of file crypto.h.

#define CRYPTO_LOCK_UI   31

Definition at line 214 of file crypto.h.

#define CRYPTO_LOCK_X509   3

Definition at line 186 of file crypto.h.

#define CRYPTO_LOCK_X509_CRL   6

Definition at line 189 of file crypto.h.

#define CRYPTO_LOCK_X509_INFO   4

Definition at line 187 of file crypto.h.

#define CRYPTO_LOCK_X509_PKEY   5

Definition at line 188 of file crypto.h.

#define CRYPTO_LOCK_X509_REQ   7

Definition at line 190 of file crypto.h.

#define CRYPTO_LOCK_X509_STORE   11

Definition at line 194 of file crypto.h.

 
#define CRYPTO_malloc_debug_init (  ) 

 
#define CRYPTO_malloc_init (  ) 

Value:

Definition at line 333 of file crypto.h.

#define CRYPTO_MEM_CHECK_DISABLE   0x3

Definition at line 267 of file crypto.h.

#define CRYPTO_MEM_CHECK_ENABLE   0x2

Definition at line 266 of file crypto.h.

#define CRYPTO_MEM_CHECK_OFF   0x0

Definition at line 264 of file crypto.h.

#define CRYPTO_MEM_CHECK_ON   0x1

Definition at line 265 of file crypto.h.

#define CRYPTO_NUM_LOCKS   39

Definition at line 222 of file crypto.h.

#define CRYPTO_push_info ( info   )     CRYPTO_push_info_(info, __FILE__, __LINE__);

Definition at line 481 of file crypto.h.

#define CRYPTO_r_lock ( type   )     CRYPTO_lock(CRYPTO_LOCK|CRYPTO_READ,type,__FILE__,__LINE__)

Definition at line 235 of file crypto.h.

#define CRYPTO_R_NO_DYNLOCK_CREATE_CALLBACK   100

Definition at line 545 of file crypto.h.

#define CRYPTO_r_unlock ( type   )     CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_READ,type,__FILE__,__LINE__)

Definition at line 237 of file crypto.h.

#define CRYPTO_READ   4

Definition at line 226 of file crypto.h.

#define CRYPTO_UNLOCK   2

Definition at line 225 of file crypto.h.

#define CRYPTO_w_lock ( type   )     CRYPTO_lock(CRYPTO_LOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)

Definition at line 231 of file crypto.h.

#define CRYPTO_w_unlock ( type   )     CRYPTO_lock(CRYPTO_UNLOCK|CRYPTO_WRITE,type,__FILE__,__LINE__)

Definition at line 233 of file crypto.h.

#define CRYPTO_WRITE   8

Definition at line 227 of file crypto.h.

 
#define is_MemCheck_on (  )     CRYPTO_is_mem_check_on()

Definition at line 363 of file crypto.h.

 
#define MemCheck_off (  )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_DISABLE)

Definition at line 362 of file crypto.h.

 
#define MemCheck_on (  )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ENABLE)

Definition at line 361 of file crypto.h.

 
#define MemCheck_start (  )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_ON)

Definition at line 357 of file crypto.h.

 
#define MemCheck_stop (  )     CRYPTO_mem_ctrl(CRYPTO_MEM_CHECK_OFF)

Definition at line 358 of file crypto.h.

#define OPENSSL_assert (  )     (void)((e) ? 0 : (OpenSSLDie(__FILE__, __LINE__, #e),1))

Definition at line 520 of file crypto.h.

#define OPENSSL_free ( addr   )     CRYPTO_free(addr)

Definition at line 373 of file crypto.h.

#define OPENSSL_free_locked ( addr   )     CRYPTO_free_locked(addr)

Definition at line 377 of file crypto.h.

#define OPENSSL_freeFunc   CRYPTO_free

Definition at line 372 of file crypto.h.

#define OPENSSL_ia32cap   (*(OPENSSL_ia32cap_loc()))

Definition at line 523 of file crypto.h.

#define OPENSSL_malloc ( num   )     CRYPTO_malloc((int)num,__FILE__,__LINE__)

Definition at line 365 of file crypto.h.

#define OPENSSL_malloc_locked ( num   )     CRYPTO_malloc_locked((int)num,__FILE__,__LINE__)

Definition at line 375 of file crypto.h.

#define OPENSSL_realloc ( addr,
num   )     CRYPTO_realloc((char *)addr,(int)num,__FILE__,__LINE__)

Definition at line 366 of file crypto.h.

#define OPENSSL_realloc_clean ( addr,
old_num,
num   )     CRYPTO_realloc_clean(addr,old_num,num,__FILE__,__LINE__)

Definition at line 368 of file crypto.h.

#define OPENSSL_remalloc ( addr,
num   )     CRYPTO_remalloc((char **)addr,(int)num,__FILE__,__LINE__)

Definition at line 370 of file crypto.h.

#define SSLEAY_BUILT_ON   3

Definition at line 152 of file crypto.h.

#define SSLEAY_CFLAGS   2

Definition at line 151 of file crypto.h.

#define SSLEAY_DIR   5

Definition at line 154 of file crypto.h.

#define SSLEAY_PLATFORM   4

Definition at line 153 of file crypto.h.

#define SSLEAY_VERSION   0

Definition at line 149 of file crypto.h.

#define SSLEAY_VERSION_NUMBER   OPENSSL_VERSION_NUMBER

Definition at line 148 of file crypto.h.

#define V_CRYPTO_MDEBUG_ALL   (V_CRYPTO_MDEBUG_TIME | V_CRYPTO_MDEBUG_THREAD)

Definition at line 277 of file crypto.h.

#define V_CRYPTO_MDEBUG_THREAD   0x2

Definition at line 275 of file crypto.h.

#define V_CRYPTO_MDEBUG_TIME   0x1

Definition at line 273 of file crypto.h.


Typedef Documentation

typedef struct bio_st BIO_dummy

Definition at line 281 of file crypto.h.

typedef struct st_CRYPTO_EX_DATA_IMPL CRYPTO_EX_DATA_IMPL

Definition at line 386 of file crypto.h.

typedef void* CRYPTO_MEM_LEAK_CB(unsigned long, const char *, int, int, void *)

Definition at line 515 of file crypto.h.

typedef struct openssl_item_st OPENSSL_ITEM


Function Documentation

int CRYPTO_add_lock ( int *  pointer,
int  amount,
int  type,
const char *  file,
int  line 
)

void CRYPTO_cleanup_all_ex_data ( void   ) 

void CRYPTO_dbg_free ( void *  addr,
int  before_p 
)

long CRYPTO_dbg_get_options ( void   ) 

void CRYPTO_dbg_malloc ( void *  addr,
int  num,
const char *  file,
int  line,
int  before_p 
)

void CRYPTO_dbg_realloc ( void *  addr1,
void *  addr2,
int  num,
const char *  file,
int  line,
int  before_p 
)

void CRYPTO_dbg_set_options ( long  bits  ) 

void CRYPTO_destroy_dynlockid ( int  i  ) 

int CRYPTO_dup_ex_data ( int  class_index,
CRYPTO_EX_DATA to,
CRYPTO_EX_DATA from 
)

int CRYPTO_ex_data_new_class ( void   ) 

void CRYPTO_free ( void *   ) 

void CRYPTO_free_ex_data ( int  class_index,
void *  obj,
CRYPTO_EX_DATA ad 
)

void CRYPTO_free_locked ( void *   ) 

int(*)(int *num, int mount, int type, const char *file, int line) CRYPTO_get_add_lock_callback ( void   ) 

struct CRYPTO_dynlock_value*(*)(const char *file, int line) CRYPTO_get_dynlock_create_callback ( void   )  [read]

void(*)(struct CRYPTO_dynlock_value *l, const char *file, int line) CRYPTO_get_dynlock_destroy_callback ( void   ) 

void(*)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line) CRYPTO_get_dynlock_lock_callback ( void   ) 

struct CRYPTO_dynlock_value* CRYPTO_get_dynlock_value ( int  i  )  [read]

void* CRYPTO_get_ex_data ( const CRYPTO_EX_DATA ad,
int  idx 
)

const CRYPTO_EX_DATA_IMPL* CRYPTO_get_ex_data_implementation ( void   ) 

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 
)

unsigned long(*)(void) CRYPTO_get_id_callback ( void   ) 

const char* CRYPTO_get_lock_name ( int  type  ) 

void CRYPTO_get_locked_mem_ex_functions ( void *(**)(size_t, const char *, int)  m,
void(**)(void *)  f 
)

void CRYPTO_get_locked_mem_functions ( void *(**)(size_t)  m,
void(**)(void *)  f 
)

void(*)(int mode, int type, const char *file, int line) CRYPTO_get_locking_callback ( void   ) 

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   ) 

void CRYPTO_get_mem_ex_functions ( void *(**)(size_t, const char *, int)  m,
void *(**)(void *, size_t, const char *, int)  r,
void(**)(void *)  f 
)

void CRYPTO_get_mem_functions ( void *(**)(size_t)  m,
void *(**)(void *, size_t)  r,
void(**)(void *)  f 
)

int CRYPTO_get_new_dynlockid ( void   ) 

int CRYPTO_get_new_lockid ( char *  name  ) 

int CRYPTO_is_mem_check_on ( void   ) 

void CRYPTO_lock ( int  mode,
int  type,
const char *  file,
int  line 
)

void* CRYPTO_malloc ( int  num,
const char *  file,
int  line 
)

void* CRYPTO_malloc_locked ( int  num,
const char *  file,
int  line 
)

int CRYPTO_mem_ctrl ( int  mode  ) 

void CRYPTO_mem_leaks ( struct bio_st bio  ) 

void CRYPTO_mem_leaks_cb ( CRYPTO_MEM_LEAK_CB cb  ) 

void CRYPTO_mem_leaks_fp ( FILE *   ) 

int CRYPTO_new_ex_data ( int  class_index,
void *  obj,
CRYPTO_EX_DATA ad 
)

int CRYPTO_num_locks ( void   ) 

int CRYPTO_pop_info ( void   ) 

int CRYPTO_push_info_ ( const char *  info,
const char *  file,
int  line 
)

void* CRYPTO_realloc ( void *  addr,
int  num,
const char *  file,
int  line 
)

void* CRYPTO_realloc_clean ( void *  addr,
int  old_num,
int  num,
const char *  file,
int  line 
)

void* CRYPTO_remalloc ( void *  addr,
int  num,
const char *  file,
int  line 
)

int CRYPTO_remove_all_info ( void   ) 

void CRYPTO_set_add_lock_callback ( int(*)(int *num, int mount, int type, const char *file, int line)  func  ) 

void CRYPTO_set_dynlock_create_callback ( struct CRYPTO_dynlock_value *(*)(const char *file, int line)  dyn_create_function  ) 

void CRYPTO_set_dynlock_destroy_callback ( void(*)(struct CRYPTO_dynlock_value *l, const char *file, int line)  dyn_destroy_function  ) 

void CRYPTO_set_dynlock_lock_callback ( void(*)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line)  dyn_lock_function  ) 

int CRYPTO_set_ex_data ( CRYPTO_EX_DATA ad,
int  idx,
void *  val 
)

int CRYPTO_set_ex_data_implementation ( const CRYPTO_EX_DATA_IMPL i  ) 

void CRYPTO_set_id_callback ( unsigned long(*)(void)  func  ) 

int CRYPTO_set_locked_mem_ex_functions ( void *(*)(size_t, const char *, int)  m,
void(*)(void *)  free_func 
)

int CRYPTO_set_locked_mem_functions ( void *(*)(size_t)  m,
void(*)(void *)  free_func 
)

void CRYPTO_set_locking_callback ( void(*)(int mode, int type, const char *file, int line)  func  ) 

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 
)

void CRYPTO_set_mem_debug_options ( long  bits  ) 

int CRYPTO_set_mem_ex_functions ( void *(*)(size_t, const char *, int)  m,
void *(*)(void *, size_t, const char *, int)  r,
void(*)(void *)  f 
)

int CRYPTO_set_mem_functions ( void *(*)(size_t)  m,
void *(*)(void *, size_t)  r,
void(*)(void *)  f 
)

unsigned long CRYPTO_thread_id ( void   ) 

void ERR_load_CRYPTO_strings ( void   ) 

void OPENSSL_cleanse ( void *  ptr,
size_t  len 
)

unsigned long* OPENSSL_ia32cap_loc ( void   ) 

int OPENSSL_issetugid ( void   ) 

void OpenSSLDie ( const char *  file,
int  line,
const char *  assertion 
)

unsigned long SSLeay ( void   ) 

const char* SSLeay_version ( int  type  ) 


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