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

Go to the source code of this file.

Functions

void DH_set_default_method (const DH_METHOD *meth)
 
const DH_METHODDH_get_default_method (void)
 
int DH_set_method (DH *dh, const DH_METHOD *meth)
 
DHDH_new (void)
 
DHDH_new_method (ENGINE *engine)
 
void DH_free (DH *r)
 
int DH_up_ref (DH *r)
 
int DH_get_ex_new_index (long argl, void *argp, CRYPTO_EX_new *new_func, CRYPTO_EX_dup *dup_func, CRYPTO_EX_free *free_func)
 
int DH_set_ex_data (DH *d, int idx, void *arg)
 
voidDH_get_ex_data (DH *d, int idx)
 
int DH_size (const DH *dh)
 

Variables

const char DH_version [] ="Diffie-Hellman" OPENSSL_VERSION_PTEXT
 

Function Documentation

void DH_free ( DH r)

Definition at line 187 of file dh_lib.c.

const DH_METHOD* DH_get_default_method ( void  )

Definition at line 80 of file dh_lib.c.

void* DH_get_ex_data ( DH d,
int  idx 
)

Definition at line 252 of file dh_lib.c.

int DH_get_ex_new_index ( long  argl,
void argp,
CRYPTO_EX_new new_func,
CRYPTO_EX_dup dup_func,
CRYPTO_EX_free free_func 
)

Definition at line 240 of file dh_lib.c.

DH* DH_new ( void  )

Definition at line 115 of file dh_lib.c.

DH* DH_new_method ( ENGINE engine)

Definition at line 120 of file dh_lib.c.

void DH_set_default_method ( const DH_METHOD meth)

Definition at line 75 of file dh_lib.c.

int DH_set_ex_data ( DH d,
int  idx,
void arg 
)

Definition at line 247 of file dh_lib.c.

int DH_set_method ( DH dh,
const DH_METHOD meth 
)

Definition at line 96 of file dh_lib.c.

int DH_size ( const DH dh)

Definition at line 257 of file dh_lib.c.

int DH_up_ref ( DH r)

Definition at line 224 of file dh_lib.c.

Variable Documentation

const char DH_version[] ="Diffie-Hellman" OPENSSL_VERSION_PTEXT

Definition at line 71 of file dh_lib.c.