ossl_dh_check_priv_key
int ossl_dh_check_priv_key(const DH *dh, const BIGNUM *priv_key, int *ret);
return ossl_dh_check_priv_key(dh, priv_key, &status);