Searched refs:dh_pub (Results 1 – 1 of 1) sorted by relevance
172 dh_pub_is_valid(DH *dh, BIGNUM *dh_pub) in dh_pub_is_valid() argument175 int n = BN_num_bits(dh_pub); in dh_pub_is_valid()178 if (dh_pub->neg) { in dh_pub_is_valid()183 if (BN_is_bit_set(dh_pub, i)) in dh_pub_is_valid()188 if (bits_set > 1 && (BN_cmp(dh_pub, dh->p) == -1)) in dh_pub_is_valid()