[#BN_CTX_new]
= BN&lowbar;CTX&lowbar;new
:mrdocs:

Allocate a BN&lowbar;CTX using the default library context&period;

== Synopsis

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

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

== Return Value

New BN&lowbar;CTX, or NULL on allocation failure&semi; free with BN&lowbar;CTX&lowbar;free()&period;


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