• Home
  • Raw
  • Download

Lines Matching defs:dh

73   DH *dh = OPENSSL_malloc(sizeof(DH));  in DH_new()  local
88 void DH_free(DH *dh) { in DH_free()
111 const BIGNUM *DH_get0_pub_key(const DH *dh) { return dh->pub_key; } in DH_get0_pub_key()
113 const BIGNUM *DH_get0_priv_key(const DH *dh) { return dh->priv_key; } in DH_get0_priv_key()
115 const BIGNUM *DH_get0_p(const DH *dh) { return dh->p; } in DH_get0_p()
117 const BIGNUM *DH_get0_q(const DH *dh) { return dh->q; } in DH_get0_q()
119 const BIGNUM *DH_get0_g(const DH *dh) { return dh->g; } in DH_get0_g()
121 void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key, in DH_get0_key()
131 int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key) { in DH_set0_key()
145 void DH_get0_pqg(const DH *dh, const BIGNUM **out_p, const BIGNUM **out_q, in DH_get0_pqg()
158 int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g) { in DH_set0_pqg()
182 int DH_set_length(DH *dh, unsigned priv_length) { in DH_set_length()
187 int DH_generate_key(DH *dh) { in DH_generate_key()
274 static int dh_compute_key(DH *dh, BIGNUM *out_shared_key, in dh_compute_key()
324 int DH_compute_key_padded(unsigned char *out, const BIGNUM *peers_key, DH *dh) { in DH_compute_key_padded()
345 int DH_compute_key(unsigned char *out, const BIGNUM *peers_key, DH *dh) { in DH_compute_key()
363 int DH_compute_key_hashed(DH *dh, uint8_t *out, size_t *out_len, in DH_compute_key_hashed()
398 int DH_size(const DH *dh) { return BN_num_bytes(dh->p); } in DH_size()
400 unsigned DH_num_bits(const DH *dh) { return BN_num_bits(dh->p); } in DH_num_bits()
402 int DH_up_ref(DH *dh) { in DH_up_ref()