[#BN_BLINDING_convert]
= BN&lowbar;BLINDING&lowbar;convert
:mrdocs:

Blind `n` for a private modular operation using `b` (equivalent to BN&lowbar;BLINDING&lowbar;convert&lowbar;ex with no saved inverse)&period;

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BN&lowbar;BLINDING&lowbar;convert(
    xref:BIGNUM.adoc[BIGNUM]* n,
    xref:BN_BLINDING.adoc[BN&lowbar;BLINDING]* b,
    xref:BN_CTX.adoc[BN&lowbar;CTX]* ctx);
----

== Return Value

1 on success, or 0 on error&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *n*
| Value to blind in place (multiplied by the blinding factor modulo the modulus)&period;
| *b*
| Blinding parameters from BN&lowbar;BLINDING&lowbar;new() or BN&lowbar;BLINDING&lowbar;create&lowbar;param()&period;
| *ctx*
| BN&lowbar;CTX scratch space&period;
|===


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