openssl/crypto/rsa
Pauli 97b0b713fb RSA security bits calculation
NIST has updated their guidelines in appendix D of SP 800-56B rev2 (draft)
providing a formula for the number of security bits it terms of the length
of the RSA key.

This is an implementation of this formula using fixed point arithmetic.
For integers 1 .. 100,000 it rounds down to the next smaller 8 bit strength
270 times.  It never errs to the high side.  None of the rounded values occur
near any of the commonly selected lengths.

Reviewed-by: Matt Caswell <matt@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/7352)
2018-10-23 08:01:48 +10:00
..
build.info Support multi-prime RSA (RFC 8017) 2017-11-21 14:38:42 +08:00
rsa_ameth.c Update copyright year 2018-03-20 13:08:46 +00:00
rsa_asn1.c Support multi-prime RSA (RFC 8017) 2017-11-21 14:38:42 +08:00
rsa_chk.c rsa/rsa_gen.c: harmonize keygen's ability with RSA_security_bits. 2017-11-28 20:05:48 +01:00
rsa_crpt.c Remove unnecessary #include <openssl/lhash.h> directives. 2017-09-29 07:38:56 +10:00
rsa_depr.c Copyright consolidation 08/10 2016-05-17 14:51:34 -04:00
rsa_err.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
rsa_gen.c RSA key generation: ensure BN_mod_inverse and BN_mod_exp_mont both get called with BN_FLG_CONSTTIME flag set. 2018-04-16 16:14:57 +01:00
rsa_lib.c RSA security bits calculation 2018-10-23 08:01:48 +10:00
rsa_locl.h Minor cleanup of the rsa mp limits code 2017-12-13 17:29:01 +01:00
rsa_meth.c Use 'i' as parameter name not 'I'. 2018-09-17 09:14:03 +10:00
rsa_mp.c Set error code on alloc failures 2018-04-03 11:31:16 -04:00
rsa_none.c Fix coding style in crypto/rsa directory 2017-08-25 16:23:07 +01:00
rsa_oaep.c RSA padding Zeroization fixes 2018-09-06 14:51:30 +10:00
rsa_ossl.c rsa/rsa_ossl.c: fix and extend commentary [skip ci]. 2018-10-12 22:26:02 +02:00
rsa_pk1.c Update copyright year 2018-09-11 13:45:17 +01:00
rsa_pmeth.c Update copyright year 2018-04-17 15:18:40 +02:00
rsa_prn.c Fix coding style in crypto/rsa directory 2017-08-25 16:23:07 +01:00
rsa_pss.c crypto/rsa/rsa_pss.c: silence coverity warning 2018-09-10 11:03:50 +01:00
rsa_saos.c This part fixes braces around if-else. 2017-08-25 16:23:07 +01:00
rsa_sign.c Implement RSASSA-PKCS1-v1_5 as specified. 2016-11-07 21:04:54 +01:00
rsa_ssl.c Update copyright year 2018-09-11 13:45:17 +01:00
rsa_x931.c This part fixes braces around if-else. 2017-08-25 16:23:07 +01:00
rsa_x931g.c This part fixes braces around if-else. 2017-08-25 16:23:07 +01:00