Searched refs:peers_key (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/dh/ |
D | dh.c | 379 int DH_compute_key(unsigned char *out, const BIGNUM *peers_key, DH *dh) { in DH_compute_key() argument 410 if (!DH_check_pub_key(dh, peers_key, &check_result) || check_result) { in DH_compute_key() 415 if (!BN_mod_exp_mont_consttime(shared_key, peers_key, dh->priv_key, dh->p, in DH_compute_key()
|
/external/boringssl/src/include/openssl/ |
D | dh.h | 147 OPENSSL_EXPORT int DH_compute_key(uint8_t *out, const BIGNUM *peers_key,
|