Home
last modified time | relevance | path

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

/titanic_44/usr/src/cmd/ssh/libssh/common/
H A Ddh.c172 dh_pub_is_valid(DH *dh, BIGNUM *dh_pub) in dh_pub_is_valid() argument
175 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()