]> git.ipfire.org Git - thirdparty/openssl.git/commit
rsa: Add SP800-56Br2 6.4.1.2.1 (3.c) check
authorClemens Lang <cllang@redhat.com>
Mon, 16 Oct 2023 13:30:26 +0000 (15:30 +0200)
committerMatt Caswell <matt@openssl.org>
Wed, 25 Oct 2023 08:26:51 +0000 (09:26 +0100)
commit8b268541d9aabee51699aef22963407362830ef9
tree97e0b588645924b1f0d44cca06f9583ffbeda400
parentdf5f419b14de9ff47082c42f2a2db6557ceca84f
rsa: Add SP800-56Br2 6.4.1.2.1 (3.c) check

The code did not yet check that the length of the RSA key is positive
and even.

Signed-off-by: Clemens Lang <cllang@redhat.com>
Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/22403)
crypto/rsa/rsa_sp800_56b_check.c
test/rsa_sp800_56b_test.c