Estimate the security strength in bits for asymmetric parameters of sizes L and N.
Declared in <openssl/bn.h>
int
BN_security_bits(
int L,
int N);
Estimated security strength in bits (NIST SP 800-57 style).
| Name | Description |
|---|---|
| L | Public-key / modulus size in bits (for example RSA modulus length). |
| N | Private-value size in bits (for example subgroup order); may be 0 when unused. |