#include "bn.h"
#include "crypto.h"
Go to the source code of this file.
|
| DH_METHOD * | DH_OpenSSL (void) |
| |
| void | DH_set_default_method (DH_METHOD *meth) |
| |
| DH_METHOD * | DH_get_default_method (void) |
| |
| DH_METHOD * | DH_set_method (DH *dh, DH_METHOD *meth) |
| |
| DH * | DH_new_method (DH_METHOD *meth) |
| |
| DH * | DH_new (void) |
| |
| void | DH_free (DH *dh) |
| |
| int | DH_size (DH *dh) |
| |
| 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) |
| |
| void * | DH_get_ex_data (DH *d, int idx) |
| |
| DH * | DH_generate_parameters (int prime_len, int generator, void(*callback)(int, int, void *), void *cb_arg) |
| |
| int | DH_check (DH *dh, int *codes) |
| |
| int | DH_generate_key (DH *dh) |
| |
| int | DH_compute_key (unsigned char *key, BIGNUM *pub_key, DH *dh) |
| |
| DH * | d2i_DHparams (DH **a, unsigned char **pp, long length) |
| |
| int | i2d_DHparams (DH *a, unsigned char **pp) |
| |
| int | DHparams_print (char *bp, DH *x) |
| |
| void | ERR_load_DH_strings (void) |
| |
◆ dh_method
◆ dh_st
◆ DH_FLAG_CACHE_MONT_P
| #define DH_FLAG_CACHE_MONT_P 0x01 |
Definition at line 73 of file dh.h.
◆ DH_GENERATOR_2
Definition at line 118 of file dh.h.
◆ DH_GENERATOR_5
Definition at line 120 of file dh.h.
◆ DH_CHECK_P_NOT_PRIME
| #define DH_CHECK_P_NOT_PRIME 0x01 |
Definition at line 123 of file dh.h.
◆ DH_CHECK_P_NOT_SAFE_PRIME
| #define DH_CHECK_P_NOT_SAFE_PRIME 0x02 |
Definition at line 124 of file dh.h.
◆ DH_UNABLE_TO_CHECK_GENERATOR
| #define DH_UNABLE_TO_CHECK_GENERATOR 0x04 |
Definition at line 125 of file dh.h.
◆ DH_NOT_SUITABLE_GENERATOR
| #define DH_NOT_SUITABLE_GENERATOR 0x08 |
Definition at line 126 of file dh.h.
◆ DH_CHECK_P_NOT_STRONG_PRIME
Definition at line 130 of file dh.h.
◆ DHparams_dup
| #define DHparams_dup |
( |
| x | ) |
|
Value:
char * ASN1_dup(int(*i2d)(), char *(*d2i)(), char *x)
DH * d2i_DHparams(DH **a, unsigned char **pp, long length)
int i2d_DHparams(DH *a, unsigned char **pp)
Definition at line 132 of file dh.h.
◆ d2i_DHparams_fp
| #define d2i_DHparams_fp |
( |
| fp, |
|
|
| x ) |
Value: (
DH *)ASN1_d2i_fp((
char *(*)())
DH_new, \
Definition at line 134 of file dh.h.
◆ i2d_DHparams_fp
| #define i2d_DHparams_fp |
( |
| fp, |
|
|
| x ) |
Value:
Definition at line 136 of file dh.h.
◆ d2i_DHparams_bio
| #define d2i_DHparams_bio |
( |
| bp, |
|
|
| x ) |
Value: (
DH *)ASN1_d2i_bio((
char *(*)())
DH_new, \
Definition at line 138 of file dh.h.
◆ i2d_DHparams_bio
| #define i2d_DHparams_bio |
( |
| bp, |
|
|
| x ) |
Value:
Definition at line 144 of file dh.h.
◆ DH_F_DHPARAMS_PRINT
| #define DH_F_DHPARAMS_PRINT 100 |
Definition at line 187 of file dh.h.
◆ DH_F_DHPARAMS_PRINT_FP
| #define DH_F_DHPARAMS_PRINT_FP 101 |
Definition at line 188 of file dh.h.
◆ DH_F_DH_COMPUTE_KEY
| #define DH_F_DH_COMPUTE_KEY 102 |
Definition at line 189 of file dh.h.
◆ DH_F_DH_GENERATE_KEY
| #define DH_F_DH_GENERATE_KEY 103 |
Definition at line 190 of file dh.h.
◆ DH_F_DH_GENERATE_PARAMETERS
| #define DH_F_DH_GENERATE_PARAMETERS 104 |
Definition at line 191 of file dh.h.
◆ DH_F_DH_NEW
Definition at line 192 of file dh.h.
◆ DH_R_NO_PRIVATE_VALUE
| #define DH_R_NO_PRIVATE_VALUE 100 |
Definition at line 195 of file dh.h.
◆ DH
Definition at line 75 of file dh.h.
◆ DH_METHOD
◆ DH_OpenSSL()
◆ DH_set_default_method()
| void DH_set_default_method |
( |
DH_METHOD * | meth | ) |
|
◆ DH_get_default_method()
◆ DH_set_method()
◆ DH_new_method()
◆ DH_new()
◆ DH_free()
◆ DH_size()
◆ DH_get_ex_new_index()
◆ DH_set_ex_data()
| int DH_set_ex_data |
( |
DH * | d, |
|
|
int | idx, |
|
|
void * | arg ) |
◆ DH_get_ex_data()
| void * DH_get_ex_data |
( |
DH * | d, |
|
|
int | idx ) |
◆ DH_generate_parameters()
| DH * DH_generate_parameters |
( |
int | prime_len, |
|
|
int | generator, |
|
|
void(* | callback )(int, int, void *), |
|
|
void * | cb_arg ) |
◆ DH_check()
| int DH_check |
( |
DH * | dh, |
|
|
int * | codes ) |
◆ DH_generate_key()
| int DH_generate_key |
( |
DH * | dh | ) |
|
◆ DH_compute_key()
| int DH_compute_key |
( |
unsigned char * | key, |
|
|
BIGNUM * | pub_key, |
|
|
DH * | dh ) |
◆ d2i_DHparams()
| DH * d2i_DHparams |
( |
DH ** | a, |
|
|
unsigned char ** | pp, |
|
|
long | length ) |
◆ i2d_DHparams()
| int i2d_DHparams |
( |
DH * | a, |
|
|
unsigned char ** | pp ) |
◆ DHparams_print()
| int DHparams_print |
( |
char * | bp, |
|
|
DH * | x ) |
◆ ERR_load_DH_strings()
| void ERR_load_DH_strings |
( |
void | | ) |
|