EVP: For SIGNATURE operations, pass the propquery early
authorRichard Levitte <levitte@openssl.org>
Wed, 6 May 2020 19:44:58 +0000 (21:44 +0200)
committerRichard Levitte <levitte@openssl.org>
Thu, 14 May 2020 10:16:35 +0000 (12:16 +0200)
commit2c6094baca6476d8b024dc7d9f461dae597ae797
treeb86aadf58bb549dbc052a83ff5cd6ecd02017b79
parentea297dca509b16190ad0a915f1324777b08ed8d8
EVP: For SIGNATURE operations, pass the propquery early

Instead of passing it with signature->digest_verify_init() and
signature->digest_sign_init(), we pass it with signature->newctx().
This allows the digests that are indicated by RSA PSS parameters
to have a useful propquery.

Reviewed-by: Shane Lontis <shane.lontis@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/11710)
crypto/evp/m_sigver.c
crypto/evp/signature.c
include/openssl/core_numbers.h
providers/implementations/signature/dsa.c
providers/implementations/signature/ecdsa.c
providers/implementations/signature/eddsa.c
providers/implementations/signature/rsa.c