]> git.ipfire.org Git - thirdparty/openssl.git/commit
Update rsasve_recover to properly store outlen on success
authorNeil Horman <nhorman@openssl.org>
Mon, 23 Sep 2024 18:14:18 +0000 (14:14 -0400)
committerTomas Mraz <tomas@openssl.org>
Mon, 7 Oct 2024 15:44:23 +0000 (17:44 +0200)
commit0f9516855e3139ef999b58f2fa551afb3b6c2b15
tree56527246c21dd1655d18bd8168cf55371d2dc6b5
parent5bc13d5d8c8b65b09031baa954a245c889c0b19a
Update rsasve_recover to properly store outlen on success

Outlen was never validated in this function prior to use, nor is it set
to the decrypted value on sucess.  Add both of those operations

Fixes #25509

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Viktor Dukhovni <viktor@openssl.org>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/25522)
providers/implementations/kem/rsa_kem.c