Home
last modified time | relevance | path

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

/external/openssh/
Ddh.c197 int bits_set = 0; in dh_pub_is_valid() local
223 bits_set++; in dh_pub_is_valid()
224 debug2("bits set: %d/%d", bits_set, BN_num_bits(dh->p)); in dh_pub_is_valid()
227 if (bits_set > 1) in dh_pub_is_valid()
230 logit("invalid public DH value (%d/%d)", bits_set, BN_num_bits(dh->p)); in dh_pub_is_valid()
237 int i, bits_set, tries = 0; in dh_gen_key() local
254 for (i = 0, bits_set = 0; i <= BN_num_bits(dh->priv_key); i++) in dh_gen_key()
256 bits_set++; in dh_gen_key()
258 bits_set, BN_num_bits(dh->priv_key)); in dh_gen_key()