mirror of
https://github.com/yuzu-emu/mbedtls.git
synced 2025-12-12 17:41:36 +00:00
Don't try to use {sign,verify}_message on algorithms that only support
{sign_verify}_hash. Normally exercise_key() tries all usage that is
supported by policy, however PSA_KEY_USAGE_{SIGN,VERIFY}_MESSAGE is implied
by PSA_KEY_USAGE_{SIGN,VERIFY}_HASH so it's impossible for the test data to
omit the _MESSAGE policies with hash-only algorithms.
Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
|
||
|---|---|---|
| .. | ||
| drivers | ||
| asn1_helpers.c | ||
| fake_external_rng_for_test.c | ||
| helpers.c | ||
| psa_crypto_helpers.c | ||
| psa_exercise_key.c | ||
| random.c | ||
| threading_helpers.c | ||