webkit
2cdf99a9e3038c7e01b3c37e8ad903ecbe5eecf1
https://github.com/WebKit/webkit
|
#include <openssl/dh.h>
#include <string.h>
#include <openssl/bn.h>
#include <openssl/buf.h>
#include <openssl/err.h>
#include <openssl/ex_data.h>
#include <openssl/mem.h>
#include <openssl/thread.h>
#include "../internal.h"
Macros | |
#define | OPENSSL_DH_MAX_MODULUS_BITS 10000 |
Functions | |
DH * | DH_new (void) |
void | DH_free (DH *dh) |
void | DH_get0_key (const DH *dh, const BIGNUM **out_pub_key, const BIGNUM **out_priv_key) |
void | DH_get0_pqg (const DH *dh, const BIGNUM **out_p, const BIGNUM **out_q, const BIGNUM **out_g) |
int | DH_generate_parameters_ex (DH *dh, int prime_bits, int generator, BN_GENCB *cb) |
int | DH_generate_key (DH *dh) |
int | DH_compute_key (unsigned char *out, const BIGNUM *peers_key, DH *dh) |
int | DH_size (const DH *dh) |
unsigned | DH_num_bits (const DH *dh) |
int | DH_up_ref (DH *dh) |
DH * | DHparams_dup (const DH *dh) |
int | DH_get_ex_new_index (long argl, void *argp, CRYPTO_EX_unused *unused, 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) |
#define OPENSSL_DH_MAX_MODULUS_BITS 10000 |
int DH_generate_key | ( | DH * | dh | ) |
void DH_get0_pqg | ( | const DH * | dh, |
const BIGNUM ** | out_p, | ||
const BIGNUM ** | out_q, | ||
const BIGNUM ** | out_g | ||
) |
int DH_get_ex_new_index | ( | long | argl, |
void * | argp, | ||
CRYPTO_EX_unused * | unused, | ||
CRYPTO_EX_dup * | dup_func, | ||
CRYPTO_EX_free * | free_func | ||
) |
unsigned DH_num_bits | ( | const DH * | dh | ) |
int DH_size | ( | const DH * | dh | ) |
int DH_up_ref | ( | DH * | dh | ) |