Lines Matching defs:dh
40 int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in ossl_dh_compute_key()
114 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
144 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key_padded()
189 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
200 static int dh_init(DH *dh) in dh_init()
207 static int dh_finish(DH *dh) in dh_finish()
220 int DH_generate_key(DH *dh) in DH_generate_key()
229 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key()
265 static int generate_key(DH *dh) in generate_key()
388 int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len) in ossl_dh_buf2key()
416 size_t ossl_dh_key2buf(const DH *dh, unsigned char **pbuf_out, size_t size, in ossl_dh_key2buf()