Janos Follath 0af093b6c8 PSA RSA PSS: pass pre-hash algorithm to Mbed TLS
PSA Crypto always passed MBEDTLS_MD_NONE to Mbed TLS, which worked well
as Mbed TLS does not use this parameter for anything beyond determining
the input lengths.

Some alternative implementations however check the consistency of the
algorithm used for pre-hash and for other uses in verification (verify
operation and mask generation) and fail if they don't match. This makes
all such verifications fail.

Furthermore, the PSA Crypto API mandates that the pre-hash and internal
uses are aligned as well.

Fixes #3990.

Signed-off-by: Janos Follath <janos.follath@arm.com>
2021-06-21 10:39:36 +01:00
..
2021-03-10 12:52:37 +00:00
2021-03-10 12:52:37 +00:00
2021-05-25 09:23:10 +02:00
2021-03-04 14:34:50 +00:00
2021-03-10 12:52:37 +00:00
2021-05-27 14:39:53 +02:00
2021-04-30 00:07:04 +02:00
2021-06-01 10:02:13 +08:00
2021-04-30 00:07:04 +02:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-03-29 14:20:18 +01:00
2021-04-07 12:45:35 +01:00
2021-04-07 12:45:35 +01:00
2021-03-10 12:52:37 +00:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-04-15 11:19:47 +01:00
2021-05-13 11:19:01 +02:00
2020-11-25 13:10:50 +01:00
2020-11-25 13:10:50 +01:00
2021-05-27 14:40:40 +02:00