pub unsafe extern "C" fn BN_generate_prime_ex(
    ret: *mut BIGNUM,
    bits: c_int,
    safe: c_int,
    add: *const BIGNUM,
    rem: *const BIGNUM,
    cb: *mut BN_GENCB
) -> c_int