[#BN_security_bits]
= BN&lowbar;security&lowbar;bits
:mrdocs:

Estimate the security strength in bits for asymmetric parameters of sizes `L` and `N&period;`

== Synopsis

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

[source,cpp,subs="verbatim,replacements,macros,-callouts"]
----
int
BN&lowbar;security&lowbar;bits(
    int L,
    int N);
----

== Return Value

Estimated security strength in bits (NIST SP 800&hyphen;57 style)&period;

== Parameters

[cols="1,4"]
|===
| Name| Description
| *L*
| Public&hyphen;key &sol; modulus size in bits (for example RSA modulus length)&period;
| *N*
| Private&hyphen;value size in bits (for example subgroup order)&semi; may be 0 when unused&period;
|===


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