[openssl/openssl] 4c172a: set MGF1 digest correctly

James Muir noreply at github.com
Fri Oct 7 17:56:28 UTC 2022


  Branch: refs/heads/openssl-3.0
  Home:   https://github.com/openssl/openssl
  Commit: 4c172a2da4c88f52d67113da2374e61812d43be5
      https://github.com/openssl/openssl/commit/4c172a2da4c88f52d67113da2374e61812d43be5
  Author: James Muir <muir.james.a at gmail.com>
  Date:   2022-10-07 (Fri, 07 Oct 2022)

  Changed paths:
    M providers/implementations/asymciphers/rsa_enc.c
    M test/evp_extra_test.c

  Log Message:
  -----------
  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 at gmail.com>
Reviewed-by: Shane Lontis <shane.lontis at oracle.com>
Reviewed-by: Tomas Mraz <tomas at openssl.org>
(Merged from https://github.com/openssl/openssl/pull/19342)

(cherry picked from commit e5a7536eaeaacd18d1aea59edeb295fb4eb2dfca)




More information about the openssl-commits mailing list