[#BN_set_flags]
= BN&lowbar;set&lowbar;flags
:mrdocs:

Set selected BIGNUM flag bits on `b` (bitwise OR with `n)&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
void
BN&lowbar;set&lowbar;flags(
    xref:BIGNUM.adoc[BIGNUM]* b,
    int n);
----

== Parameters

[cols="1,4"]
|===
| Name| Description
| *b*
| Big number whose flags are updated&period;
| *n*
| Combination of BN&lowbar;FLG&lowbar;&ast; bits to set (for example BN&lowbar;FLG&lowbar;CONSTTIME)&period;
|===


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