Lines Matching refs:callback
30 void (*callback)(int, int, void *), void *cb_arg);
33 int (*callback)(int, int, BN_GENCB *), void *cb_arg);
42 BIGNUM *rem, void (*callback)(int, int, void *),
46 void (*callback)(int, int, void *), BN_CTX *ctx, void *cb_arg);
49 void (*callback)(int, int, void *), BN_CTX *ctx,
163 BN_GENCB_call() calls the callback function held in the B<BN_GENCB> structure
174 call to BN_GENCB_set(), where B<gencb> is a B<BN_GENCB *>, B<callback> is of
175 type B<int (*callback)(int, int, BN_GENCB *)> and B<cb_arg> is a B<void *>.
177 to BN_GENCB_set_old() and B<callback> is of type
178 B<void (*callback)(int, int, void *)>.
180 A callback is invoked through a call to B<BN_GENCB_call>. This will check
181 the type of the callback and will invoke B<callback(a, b, gencb)> for new
182 style callbacks or B<callback(a, b, cb_arg)> for old style.
188 BN_generate_prime_ex() but expects an old-style callback function
189 directly in the B<callback> parameter, and an argument to pass to it in
220 BN_GENCB callback;
224 BN_GENCB *callback;
225 callback = BN_GENCB_new();
226 if (!callback)
229 BN_GENCB_free(callback);