BN_GENCB_call

Invoke a BN_GENCB progress callback with event codes a and b.

Synopsis

Declared in <openssl/bn.h>

int
BN_GENCB_call(
    BN_GENCB* cb,
    int a,
    int b);

Return Value

1 to continue, or 0 if the callback requested cancellation.

Parameters

NameDescription
cbCallback object populated with BN_GENCB_set() or BN_GENCB_set_old(); NULL is ignored.
aPrimary event / stage code passed to the callback.
bSecondary progress value passed to the callback.