Allocate a BN_GENCB used to report progress from prime generation.
Declared in <openssl/bn.h>
<openssl/bn.h>
BN_GENCB* BN_GENCB_new();
New callback object, or NULL on failure; free with BN_GENCB_free().