[#BN_GENCB_new]
= BN&lowbar;GENCB&lowbar;new
:mrdocs:

Allocate a BN&lowbar;GENCB used to report progress from prime generation&period;

== Synopsis

Declared in `&lt;openssl&sol;bn&period;h&gt;`

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BN_GENCB.adoc[BN&lowbar;GENCB]*
BN&lowbar;GENCB&lowbar;new();
----

== Return Value

New callback object, or NULL on failure&semi; free with BN&lowbar;GENCB&lowbar;free()&period;


[.small]#Created with https://www.mrdocs.com[MrDocs]#
