Home
last modified time | relevance | path

Searched refs:priv_bits (Results 1 – 1 of 1) sorted by relevance

/external/boringssl/src/crypto/dh/
Ddh.c303 unsigned priv_bits = dh->priv_length; in DH_generate_key() local
304 if (priv_bits == 0) { in DH_generate_key()
310 priv_bits = p_bits - 1; in DH_generate_key()
313 if (!BN_rand(priv_key, priv_bits, BN_RAND_TOP_ONE, BN_RAND_BOTTOM_ANY)) { in DH_generate_key()