Fix the LCM computation in the RSA multiprime key check
authorTomas Mraz <tomas@openssl.org>
Tue, 11 Apr 2023 14:24:44 +0000 (16:24 +0200)
committerTomas Mraz <tomas@openssl.org>
Thu, 13 Apr 2023 13:23:05 +0000 (15:23 +0200)
commitefbff4de3e259cee71a4e1bbd86b30ebd86bbdae
treee46415bf08e2a004afe63d691f097d33aea5e71a
parente35a21334172997c40928933e1f44e3ba4d2317c
Fix the LCM computation in the RSA multiprime key check

Fixes #20693

Reviewed-by: Paul Dale <pauli@openssl.org>
Reviewed-by: Tom Cosgrove <tom.cosgrove@arm.com>
(Merged from https://github.com/openssl/openssl/pull/20708)
crypto/rsa/rsa_chk.c
test/recipes/15-test_mp_rsa.t
test/recipes/15-test_mp_rsa_data/rsamplcm.pem [new file with mode: 0644]