Searched refs:peers_key (Results 1 – 2 of 2) sorted by relevance
/external/boringssl/src/crypto/dh/ |
D | dh.c | 319 int DH_compute_key(unsigned char *out, const BIGNUM *peers_key, DH *dh) { in DH_compute_key() argument 353 if (!DH_check_pub_key(dh, peers_key, &check_result) || check_result) { in DH_compute_key() 359 if (!BN_mod_exp_mont(shared_key, peers_key, &local_priv, dh->p, ctx, in DH_compute_key()
|
/external/boringssl/src/include/openssl/ |
D | dh.h | 127 OPENSSL_EXPORT int DH_compute_key(uint8_t *out, const BIGNUM *peers_key,
|