mbedtls/tests
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
..
.jenkins
configs Add header guard around malloc(0) returning NULL implementation 2022-03-04 15:25:42 -05:00
data_files More precise testing of dhm_min_len 2021-04-01 14:18:31 +02:00
docker/bionic Remove accidental requirement on the worktree content 2021-12-02 13:19:19 +01:00
git-scripts
include Fix ARIA support in test driver configuration 2022-04-12 17:15:56 +02:00
scripts Storage format tests: exercise operations with keys 2022-04-15 16:15:48 +02:00
src exercise_key: support modes where IV length is not 16 2022-04-15 16:15:48 +02:00
suites Reject invalid MAC and AEAD truncations 2022-04-15 16:15:48 +02:00
.gitignore tests: Add build of a PSA test driver library 2021-11-30 14:49:19 +01:00
CMakeLists.txt CMake: generate the list of test suites automatically 2022-01-25 23:28:51 +01:00
compat-in-docker.sh
compat.sh Add comment in compat.sh about callers 2022-04-14 09:29:01 +02:00
context-info.sh Merge pull request #3614 from gilles-peskine-arm/ssl-opt-gnutls-printf-development 2020-11-04 17:55:42 +01:00
Descriptions.txt
make-in-docker.sh
Makefile tests: Add build of a PSA test driver library 2021-11-30 14:49:19 +01:00
ssl-opt-in-docker.sh
ssl-opt.sh Fix an off-by-one error in ssl-opt.sh 2022-04-06 13:38:15 -04:00