mbedtls/tests/src
Gilles Peskine 275ecde2ca exercise_key: signature: detect function/algorithm incompatibility
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>
2022-04-15 16:15:48 +02:00
..
drivers Test driver: keep variable declarations first 2022-02-04 09:14:39 -05:00
asn1_helpers.c Move asn1_skip_integer to the asn1_helpers module 2021-02-23 20:29:38 +01:00
fake_external_rng_for_test.c Fix wrong \file name in Doxygen comments 2021-02-23 20:29:38 +01:00
helpers.c Show values when TEST_EQUAL fails 2021-10-22 11:06:52 +02:00
psa_crypto_helpers.c Move psa_crypto_slot_management.h out from psa_crypto_helpers.h 2021-11-14 20:03:23 +01:00
psa_exercise_key.c exercise_key: signature: detect function/algorithm incompatibility 2022-04-15 16:15:48 +02:00
random.c Make the fallback behavior of mbedtls_test_rnd_buffer_rand optional 2021-06-02 21:31:24 +02:00
threading_helpers.c Explain the usage of is_valid in pthread mutexes 2021-02-22 19:24:03 +01:00