OpenSSL  1.0.1c
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
cryptlib.c File Reference
#include "cryptlib.h"
#include <openssl/safestack.h>

Go to the source code of this file.

Functions

int CRYPTO_num_locks (void)
 
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 *(*func)(const char *file, int line))
 
void CRYPTO_set_dynlock_lock_callback (void(*func)(int mode, struct CRYPTO_dynlock_value *l, const char *file, int line))
 
void CRYPTO_set_dynlock_destroy_callback (void(*func)(struct CRYPTO_dynlock_value *l, const char *file, int line))
 
void CRYPTO_set_locking_callback (void(*func)(int mode, int type, const char *file, int line))
 
void CRYPTO_set_add_lock_callback (int(*func)(int *num, int mount, int type, const char *file, int line))
 
void CRYPTO_THREADID_set_numeric (CRYPTO_THREADID *id, unsigned long val)
 
void CRYPTO_THREADID_set_pointer (CRYPTO_THREADID *id, void *ptr)
 
int CRYPTO_THREADID_set_callback (void(*func)(CRYPTO_THREADID *))
 
void CRYPTO_THREADID_current (CRYPTO_THREADID *id)
 
int CRYPTO_THREADID_cmp (const CRYPTO_THREADID *a, const CRYPTO_THREADID *b)
 
void CRYPTO_THREADID_cpy (CRYPTO_THREADID *dest, const CRYPTO_THREADID *src)
 
unsigned long CRYPTO_THREADID_hash (const CRYPTO_THREADID *id)
 
void CRYPTO_set_id_callback (unsigned long(*func)(void))
 
unsigned long CRYPTO_thread_id (void)
 
void CRYPTO_lock (int mode, int type, const char *file, int line)
 
int CRYPTO_add_lock (int *pointer, int amount, int type, const char *file, int line)
 
const char * CRYPTO_get_lock_name (int type)
 
unsigned long * OPENSSL_ia32cap_loc (void)
 
void OPENSSL_cpuid_setup (void)
 
void OPENSSL_showfatal (const char *fmta,...)
 
int OPENSSL_isservice (void)
 
void OpenSSLDie (const char *file, int line, const char *assertion)
 
voidOPENSSL_stderr (void)
 

Variables

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)
 
void(*)(int mode, int type,
const char *file, int line) 
CRYPTO_get_locking_callback (void)
 
int(*)(int *num, int mount,
int type, const char *file,
int line) 
CRYPTO_get_add_lock_callback (void)
 
void(*)(CRYPTO_THREADID *) CRYPTO_THREADID_get_callback (void)
 
unsigned long(*)(voidCRYPTO_get_id_callback (void)
 
int OPENSSL_NONPIC_relocated = 0
 

Function Documentation

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

Definition at line 607 of file cryptlib.c.

void CRYPTO_destroy_dynlockid ( int  i)

Definition at line 297 of file cryptlib.c.

struct CRYPTO_dynlock_value* CRYPTO_get_dynlock_value ( int  i)
read

Definition at line 340 of file cryptlib.c.

const char* CRYPTO_get_lock_name ( int  type)

Definition at line 652 of file cryptlib.c.

int CRYPTO_get_new_dynlockid ( void  )

Definition at line 236 of file cryptlib.c.

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

Definition at line 561 of file cryptlib.c.

int CRYPTO_num_locks ( void  )

Definition at line 231 of file cryptlib.c.

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

Definition at line 419 of file cryptlib.c.

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

Definition at line 378 of file cryptlib.c.

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

Definition at line 390 of file cryptlib.c.

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

Definition at line 384 of file cryptlib.c.

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

Definition at line 532 of file cryptlib.c.

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

Definition at line 409 of file cryptlib.c.

unsigned long CRYPTO_thread_id ( void  )

Definition at line 537 of file cryptlib.c.

int CRYPTO_THREADID_cmp ( const CRYPTO_THREADID a,
const CRYPTO_THREADID b 
)

Definition at line 511 of file cryptlib.c.

void CRYPTO_THREADID_cpy ( CRYPTO_THREADID dest,
const CRYPTO_THREADID src 
)

Definition at line 516 of file cryptlib.c.

void CRYPTO_THREADID_current ( CRYPTO_THREADID id)

Definition at line 483 of file cryptlib.c.

unsigned long CRYPTO_THREADID_hash ( const CRYPTO_THREADID id)

Definition at line 521 of file cryptlib.c.

int CRYPTO_THREADID_set_callback ( void(*)(CRYPTO_THREADID *)  func)

Definition at line 470 of file cryptlib.c.

void CRYPTO_THREADID_set_numeric ( CRYPTO_THREADID id,
unsigned long  val 
)

Definition at line 428 of file cryptlib.c.

void CRYPTO_THREADID_set_pointer ( CRYPTO_THREADID id,
void ptr 
)

Definition at line 435 of file cryptlib.c.

void OPENSSL_cpuid_setup ( void  )

Definition at line 722 of file cryptlib.c.

unsigned long* OPENSSL_ia32cap_loc ( void  )

Definition at line 718 of file cryptlib.c.

int OPENSSL_isservice ( void  )

Definition at line 909 of file cryptlib.c.

void OPENSSL_showfatal ( const char *  fmta,
  ... 
)

Definition at line 902 of file cryptlib.c.

void* OPENSSL_stderr ( void  )

Definition at line 926 of file cryptlib.c.

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

Definition at line 912 of file cryptlib.c.

Variable Documentation

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

Definition at line 403 of file cryptlib.c.

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

Definition at line 360 of file cryptlib.c.

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

Definition at line 372 of file cryptlib.c.

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

Definition at line 366 of file cryptlib.c.

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

Definition at line 527 of file cryptlib.c.

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

Definition at line 397 of file cryptlib.c.

void(*)(CRYPTO_THREADID *) CRYPTO_THREADID_get_callback(void)

Definition at line 478 of file cryptlib.c.

int OPENSSL_NONPIC_relocated = 0

Definition at line 720 of file cryptlib.c.