BN_GENCB_set
BN_GENCB_set(cb, dh_cb, bio_err);
BN_GENCB_set(cb, dsa_cb, bio_err);
BN_GENCB_set(cb, dh_cb, bio_err);
BN_GENCB_set(cb, genrsa_cb, bio_err);
BN_GENCB_set(cb, trans_cb, ctx);
void BN_GENCB_set(BN_GENCB *gencb, int (*callback)(int, int, BN_GENCB *),