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,
161 BN_GENCB_call() calls the callback function held in the B<BN_GENCB> structure
171 call to BN_GENCB_set(), where B<gencb> is a B<BN_GENCB *>, B<callback> is of
172 type B<int (*callback)(int, int, BN_GENCB *)> and B<cb_arg> is a B<void *>.
174 to BN_GENCB_set_old() and B<callback> is of type
175 B<void (*callback)(int, int, void *)>.
177 A callback is invoked through a call to B<BN_GENCB_call>. This will check
178 the type of the callback and will invoke B<callback(a, b, gencb)> for new
179 style callbacks or B<callback(a, b, cb_arg)> for old style.
185 BN_generate_prime_ex() but expects an old-style callback function
186 directly in the B<callback> parameter, and an argument to pass to it in
217 BN_GENCB callback;
221 BN_GENCB *callback;
222 callback = BN_GENCB_new();
223 if (!callback)
226 BN_GENCB_free(callback);