mbedtls/scripts/mbedtls_dev
Gilles Peskine b0537ba3b9 Reject invalid MAC and AEAD truncations
Reject algorithms of the form PSA_ALG_TRUNCATED_MAC(...) or
PSA_ALG_AEAD_WITH_SHORTENED_TAG(...) when the truncation length is invalid
or not accepted by policy in Mbed TLS.

This is done in KeyType.can_do, so in generate_psa_tests.py, keys will be
tested for operation failure with this algorithm if the algorithm is
rejected, and for storage if the algorithm is accepted.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2022-04-15 16:15:48 +02:00
..
asymmetric_key_data.py Add key material for twisted Edwards curves 2021-03-29 15:08:10 +02:00
c_build_helper.py Minor documentation fixes 2021-01-19 21:23:11 +01:00
crypto_knowledge.py Reject invalid MAC and AEAD truncations 2022-04-15 16:15:48 +02:00
macro_collector.py Fix invalid argument enumeration when there are >=3 arguments 2022-04-15 16:15:48 +02:00
psa_storage.py Refactor handlibg of the key usage flags 2021-06-29 15:29:24 +02:00
test_case.py test_case.py: add new line between test cases 2021-11-09 14:40:35 +01:00
typing_util.py Do not require typing_extensions at runtime 2021-02-17 14:58:29 +01:00