openssl/providers/implementations/signature
Richard Levitte 6ce6ad39fe RSA: Be less strict on PSS parameters when exporting to provider
We have a key in test/recipes/30-test_evp_data/evppkey.txt with bad
PSS parameters (RSA-PSS-BAD), which is supposed to trigger signature
computation faults.  However, if this key needs to be exported to the
RSA provider implementation, the result would be an earlier error,
giving the computation that's supposed to be checked n chance to even
be reached.

Either way, the legacy to provider export is no place to validate the
values of the key.

We also ensure that the provider implementation can handle and detect
signed (negative) saltlen values.

Reviewed-by: Paul Dale <paul.dale@oracle.com>
(Merged from https://github.com/openssl/openssl/pull/12583)
2020-08-07 09:59:18 +10:00
..
build.info
dsa.c gettables: provider changes to pass the provider context. 2020-08-07 08:02:14 +10:00
ecdsa.c gettables: provider changes to pass the provider context. 2020-08-07 08:02:14 +10:00
eddsa.c Make the naming scheme for dispatched functions more consistent 2020-06-24 22:01:22 +02:00
rsa.c RSA: Be less strict on PSS parameters when exporting to provider 2020-08-07 09:59:18 +10:00