Home | History | Annotate | Download | only in openssl

Lines Matching defs:callback

626 // BN_GENCB holds a callback function that is used by generation functions that
630 // The callback receives the address of that |BN_GENCB| structure as its last
639 // The callback can return zero to abort the generation progress or one to
648 void *arg; // callback-specific data
649 int (*callback)(int event, int n, struct bn_gencb_st *);
652 // BN_GENCB_set configures |callback| to call |f| and sets |callout->arg| to
654 OPENSSL_EXPORT void BN_GENCB_set(BN_GENCB *callback,
659 // BN_GENCB_call calls |callback|, if not NULL, and returns the return value of
660 // the callback, or 1 if |callback| is NULL.
661 OPENSSL_EXPORT int BN_GENCB_call(BN_GENCB *callback, int event, int n);