Correct value for BN_security_bits()
authorMatt Caswell <matt@openssl.org>
Wed, 18 Oct 2017 09:23:33 +0000 (10:23 +0100)
committerMatt Caswell <matt@openssl.org>
Mon, 23 Oct 2017 13:01:12 +0000 (14:01 +0100)
commit84a85b5755befabd450fbb7cc63d5e23a268ddb0
tree96fc4fdde9ed6cb8babc3cf7efcc57697172791a
parent8efce5badd2f3bdd2d15e4aacd6b04f6ee69cf60
Correct value for BN_security_bits()

The function BN_security_bits() uses the values from SP800-57 to assign
security bit values for different FF key sizes. However the value for 192
security bits is wrong. SP800-57 has it as 7680 but the code had it as
7690.

Reviewed-by: Tim Hudson <tjh@openssl.org>
Reviewed-by: Rich Salz <rsalz@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/4546)

(cherry picked from commit c9fe362303fc54ff19bde7511475f28663f7d554)
crypto/bn/bn_lib.c