Lines Matching refs:BIGNUM
92 OPENSSL_EXPORT void DH_get0_key(const DH *dh, const BIGNUM **out_pub_key,
93 const BIGNUM **out_priv_key);
98 OPENSSL_EXPORT int DH_set0_key(DH *dh, BIGNUM *pub_key, BIGNUM *priv_key);
102 OPENSSL_EXPORT void DH_get0_pqg(const DH *dh, const BIGNUM **out_p,
103 const BIGNUM **out_q, const BIGNUM **out_g);
109 OPENSSL_EXPORT int DH_set0_pqg(DH *dh, BIGNUM *p, BIGNUM *q, BIGNUM *g);
117 OPENSSL_EXPORT BIGNUM *BN_get_rfc3526_prime_1536(BIGNUM *ret);
147 OPENSSL_EXPORT int DH_compute_key(uint8_t *out, const BIGNUM *peers_key,
187 OPENSSL_EXPORT int DH_check_pub_key(const DH *dh, const BIGNUM *pub_key,
251 BIGNUM *p;
252 BIGNUM *g;
253 BIGNUM *pub_key; // g^x mod p
254 BIGNUM *priv_key; // x
264 BIGNUM *q;
265 BIGNUM *j;
268 BIGNUM *counter;