[#BN_BLINDING_new]
= BN&lowbar;BLINDING&lowbar;new
:mrdocs:

Allocate a BN&lowbar;BLINDING object from blinding factors A and A&circ;&hyphen;1 mod `mod&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
xref:BN_BLINDING.adoc[BN&lowbar;BLINDING]*
BN&lowbar;BLINDING&lowbar;new(
    xref:BIGNUM.adoc[BIGNUM] const* A,
    xref:BIGNUM.adoc[BIGNUM] const* Ai,
    xref:BIGNUM.adoc[BIGNUM]* mod);
----

== Return Value

New BN&lowbar;BLINDING, or NULL on error&semi; free with BN&lowbar;BLINDING&lowbar;free()&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *A*
| Blinding multiplier (may be freshly generated by the caller)&period;
| *Ai*
| Modular inverse of `A` modulo `mod&period;`
| *mod*
| Modulus copied into the new blinding object&period;
|===


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