BN_GENCB_get_arg
EVP_PKEY_CTX *ctx = BN_GENCB_get_arg(gcb);
void *BN_GENCB_get_arg(BN_GENCB *cb);
struct dh_gen_ctx *gctx = BN_GENCB_get_arg(cb);
struct dsa_gen_ctx *gctx = BN_GENCB_get_arg(cb);
struct rsa_gen_ctx *gctx = BN_GENCB_get_arg(cb);