]> git.ipfire.org Git - thirdparty/openssl.git/commit
set MGF1 digest correctly
authorJames Muir <muir.james.a@gmail.com>
Tue, 4 Oct 2022 14:48:43 +0000 (10:48 -0400)
committerTomas Mraz <tomas@openssl.org>
Fri, 7 Oct 2022 17:53:04 +0000 (19:53 +0200)
commite5a7536eaeaacd18d1aea59edeb295fb4eb2dfca
tree23747625e8b29979dd99fc5a08f551ad022bafd2
parent8377f26c2e6dadd9a1728805cd895fa94669f2d0
set MGF1 digest correctly

Fixes #19290

update rsa_set_ctx_params() so that the digest function used in the
MGF1 construction is set correctly.  Add a test for this to
evp_extra_test.c based on the code scaro-axway provided in #19290.

Reviewed-by: Dmitry Belyavskiy <beldmit@gmail.com>
Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
Reviewed-by: Tomas Mraz <tomas@openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19342)
providers/implementations/asymciphers/rsa_enc.c
test/evp_extra_test.c