Go to the source code of this file.
|
static int | dh_compute_key (DH *dh, BIGNUM *out_shared_key, const BIGNUM *peers_key, BN_CTX *ctx) |
|
int | DH_compute_key (unsigned char *out, const BIGNUM *peers_key, DH *dh) |
|
int | DH_compute_key_hashed (DH *dh, uint8_t *out, size_t *out_len, size_t max_out_len, const BIGNUM *peers_key, const EVP_MD *digest) |
|
int | DH_compute_key_padded (unsigned char *out, const BIGNUM *peers_key, DH *dh) |
|
void | DH_free (DH *dh) |
|
int | DH_generate_key (DH *dh) |
|
const BIGNUM * | DH_get0_g (const DH *dh) |
|
void | DH_get0_key (const DH *dh, const BIGNUM **out_pub_key, const BIGNUM **out_priv_key) |
|
const BIGNUM * | DH_get0_p (const DH *dh) |
|
void | DH_get0_pqg (const DH *dh, const BIGNUM **out_p, const BIGNUM **out_q, const BIGNUM **out_g) |
|
const BIGNUM * | DH_get0_priv_key (const DH *dh) |
|
const BIGNUM * | DH_get0_pub_key (const DH *dh) |
|
const BIGNUM * | DH_get0_q (const DH *dh) |
|
DH * | DH_get_rfc7919_2048 (void) |
|
DH * | DH_new (void) |
|
unsigned | DH_num_bits (const DH *dh) |
|
int | DH_set0_key (DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) |
|
int | DH_set0_pqg (DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) |
|
int | DH_set_length (DH *dh, unsigned priv_length) |
|
int | DH_size (const DH *dh) |
|
int | DH_up_ref (DH *dh) |
|
◆ OPENSSL_DH_MAX_MODULUS_BITS
#define OPENSSL_DH_MAX_MODULUS_BITS 10000 |
Definition at line 71 of file dh.c.
◆ dh_compute_key()
Definition at line 275 of file dh.c.
◆ DH_compute_key()
Definition at line 346 of file dh.c.
◆ DH_compute_key_hashed()
Definition at line 364 of file dh.c.
◆ DH_compute_key_padded()
int DH_compute_key_padded |
( |
unsigned char * |
out, |
|
|
const BIGNUM * |
peers_key, |
|
|
DH * |
dh |
|
) |
| |
Definition at line 325 of file dh.c.
◆ DH_free()
Definition at line 89 of file dh.c.
◆ DH_generate_key()
int DH_generate_key |
( |
DH * |
dh | ) |
|
Definition at line 188 of file dh.c.
◆ DH_get0_g()
Definition at line 120 of file dh.c.
◆ DH_get0_key()
Definition at line 122 of file dh.c.
◆ DH_get0_p()
Definition at line 116 of file dh.c.
◆ DH_get0_pqg()
Definition at line 146 of file dh.c.
◆ DH_get0_priv_key()
Definition at line 114 of file dh.c.
◆ DH_get0_pub_key()
Definition at line 112 of file dh.c.
◆ DH_get0_q()
Definition at line 118 of file dh.c.
◆ DH_get_rfc7919_2048()
DH* DH_get_rfc7919_2048 |
( |
void |
| ) |
|
Definition at line 408 of file dh.c.
◆ DH_new()
Definition at line 73 of file dh.c.
◆ DH_num_bits()
unsigned DH_num_bits |
( |
const DH * |
dh | ) |
|
Definition at line 401 of file dh.c.
◆ DH_set0_key()
Definition at line 132 of file dh.c.
◆ DH_set0_pqg()
Definition at line 159 of file dh.c.
◆ DH_set_length()
int DH_set_length |
( |
DH * |
dh, |
|
|
unsigned |
priv_length |
|
) |
| |
Definition at line 183 of file dh.c.
◆ DH_size()
Definition at line 399 of file dh.c.
◆ DH_up_ref()
Definition at line 403 of file dh.c.