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
Name |
Description |
cb |
Callback object populated with BN_GENCB_set() or BN_GENCB_set_old(); NULL is ignored. |
a |
Primary event / stage code passed to the callback. |
b |
Secondary progress value passed to the callback. |
Created with MrDocs