mbedtls/tests
Gilles Peskine 763ffdd2a6 Add metadata test case for PSA_ALG_CCM_STAR_NO_TAG
The following shell command (requiring GNU grep) looks for algorithms and
key types, as well as IS and GET macros, that lack metadata tests:
```
for x in $(grep -Pho '(?<=^#define )PSA_(ALG|KEY_TYPE)_(?!CATEGORY_|NONE\b|\w+_(BASE|FLAG|MASK|CASE))\w+' include/psa/crypto_values.h include/psa/crypto_extra.h); do grep -qw $x tests/suites/test_suite_psa_crypto_metadata.* || echo $x; done
```

This may have false negatives: it only checks that the constants are
mentioned at least once, not that the tests are written correctly.

This has false positives:
* Types and algorithms that Mbed TLS does not support.
* PSA_ALG_ECDSA_IS_DETERMINISTIC, PSA_ALG_DSA_IS_DETERMINISTIC are peculiar
  auxiliary macros that only apply to very specific algorithms and aren't
  tested like the other IS macros.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2023-01-19 12:11:19 +01:00
..
.jenkins
configs Switch to the new code style 2023-01-11 14:50:10 +01:00
data_files Merge pull request #6663 from davidhorstmann-arm/fix-typo-unsupported 2022-11-29 21:44:27 +01:00
docker/bionic Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
git-scripts Fix typographical errors in .md files found by cspell 2022-07-29 13:44:01 +01:00
include Switch to the new code style 2023-01-11 14:50:10 +01:00
opt-testcases Change time resolution of reco_delay from second to millionseconds 2023-01-07 13:01:42 +08:00
scripts Add ECJPAKE secret input types to psa/crypto_config.h 2023-01-19 12:11:19 +01:00
src Switch to the new code style 2023-01-11 14:50:10 +01:00
suites Add metadata test case for PSA_ALG_CCM_STAR_NO_TAG 2023-01-19 12:11:19 +01:00
.gitignore tests: Add build of a PSA test driver library 2021-12-06 07:50:27 +01:00
CMakeLists.txt Merge pull request #6699 from gilles-peskine-arm/lcov-script 2022-12-15 12:29:23 +01:00
compat-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
compat.sh Remove obsolete comment 2023-01-10 09:38:58 +01:00
context-info.sh
Descriptions.txt
make-in-docker.sh Point to docker images used in the CI 2022-12-15 10:08:26 +01:00
Makefile Merge pull request #6594 from gilles-peskine-arm/generate_test_code-function_comments 2022-12-15 12:32:11 +01:00
ssl-opt-in-docker.sh Use OPENSSL everywhere, not OPENSSL_CMD 2022-12-19 11:42:12 +01:00
ssl-opt.sh Merge pull request #6787 from yuhaoth/pr/workaround-gnutls_anti_replay_fail 2023-01-11 09:05:36 +01:00