Lines Matching defs:dh
40 int ossl_dh_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in ossl_dh_compute_key()
108 int DH_compute_key(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key()
138 int DH_compute_key_padded(unsigned char *key, const BIGNUM *pub_key, DH *dh) in DH_compute_key_padded()
183 static int dh_bn_mod_exp(const DH *dh, BIGNUM *r, in dh_bn_mod_exp()
190 static int dh_init(DH *dh) in dh_init()
198 static int dh_finish(DH *dh) in dh_finish()
211 int DH_generate_key(DH *dh) in DH_generate_key()
220 int ossl_dh_generate_public_key(BN_CTX *ctx, const DH *dh, in ossl_dh_generate_public_key()
256 static int generate_key(DH *dh) in generate_key()
373 int ossl_dh_buf2key(DH *dh, const unsigned char *buf, size_t len) in ossl_dh_buf2key()
404 size_t ossl_dh_key2buf(const DH *dh, unsigned char **pbuf_out, size_t size, in ossl_dh_key2buf()