Gilles Peskine 735ac3ec05 Fix builds with secp224k1 as the only curve
Normally, if an elliptic curve is enabled in the legacy API then it's also
enabled in the PSA API. In particular, if the legacy API has at least one
curve then that curve also works with PSA. There is an exception with
secp224k1 which PSA does not support. In a build with secp224k1 as the only
legacy curve, MBEDTLS_PK_HAVE_ECC_KEYS is enabled (because you can use the
curve through PK) but PSA does not support any elliptic curve, so we can't
run PK-PSA bridge tests.

Signed-off-by: Gilles Peskine <Gilles.Peskine@arm.com>
2024-02-06 11:11:32 +01:00
..
helpers.function Support different types in the parameter store 2023-04-26 19:40:02 +02:00
host_test.function Ensure mutex test mutex gets free'd 2023-11-23 18:49:43 +00:00
main_test.function Fix invocation with explicit .datax file 2023-10-25 17:45:50 +02:00
test_suite_aes.cbc.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.cfb.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.ctr.data Fix test dependencies 2024-01-16 18:38:55 +00:00
test_suite_aes.ecb.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.function Fix ASAN error in test 2024-01-16 16:27:34 +00:00
test_suite_aes.ofb.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.rest.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_aes.xts.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_alignment.data Improve parsing of test data 2022-12-01 13:31:20 +00:00
test_suite_alignment.function Merge pull request #7936 from AgathiyanB/assert-false-macro 2023-08-10 15:01:34 +00:00
test_suite_aria.data Removal of the TEST_VALID_PARAM macro and its usages 2021-05-27 17:35:04 +02:00
test_suite_aria.function Rename MBEDTLS_CIPHER_ENCRYPT_ONLY as MBEDTLS_BLOCK_CIPHER_NO_DECRYPT 2023-10-31 17:22:06 +08:00
test_suite_asn1parse.data Revert "test_suite_asn1parse.data: remove {} in test data description" 2023-09-26 17:15:56 +08:00
test_suite_asn1parse.function For tests, rename TEST_CALLOC_OR_FAIL() to just TEST_CALLOC() 2023-07-21 11:32:25 +01:00
test_suite_asn1write.data Fix copypasta in test data 2022-06-15 21:16:42 +02:00
test_suite_asn1write.function Merge pull request #7936 from AgathiyanB/assert-false-macro 2023-08-10 15:01:34 +00:00
test_suite_base64.data Improve tests for mbedtls_ct_uchar_in_range_if 2023-05-26 12:42:48 +01:00
test_suite_base64.function Revert "Move constant_flow.h into the main library" 2023-07-31 17:22:55 +01:00
test_suite_bignum_core.function Merge branch 'development' into safer-ct5 2023-08-07 11:47:35 +01:00
test_suite_bignum_core.misc.data Remove undesirable test 2023-04-25 18:07:29 +01:00
test_suite_bignum_mod_raw.data bignum: Removed merge scaffolding. 2023-04-05 16:13:11 +01:00
test_suite_bignum_mod_raw.function Remove new bignum when not needed 2023-08-17 14:36:59 +01:00
test_suite_bignum_mod.function Remove new bignum when not needed 2023-08-17 14:36:59 +01:00
test_suite_bignum_mod.misc.data bignum: Removed merge scaffolding. 2023-04-05 16:13:11 +01:00
test_suite_bignum_random.data Fix representation of mod-random output 2022-12-20 20:28:02 +01:00
test_suite_bignum_random.function Remove new bignum when not needed 2023-08-17 14:36:59 +01:00
test_suite_bignum.function Merge pull request #7578 from daverodgman/safer-ct5 2023-08-10 16:57:39 +00:00
test_suite_bignum.misc.data Remove string hack for mbedtls_mpi_mod_int testing 2023-04-26 19:40:02 +02:00
test_suite_block_cipher.data test_suite_block_cipher: fix depends_on for Camellia tests 2023-12-04 15:24:25 +01:00
test_suite_block_cipher.function test_suite_block_cipher: fix unused variable when !MBEDTLS_BLOCK_CIPHER_SOME_PSA 2023-12-14 18:08:14 +01:00
test_suite_block_cipher.psa.data test_suite_block_cipher.psa: remove misleading initial comment 2023-12-28 18:33:17 +01:00
test_suite_camellia.data Removal of the TEST_VALID_PARAM macro and its usages 2021-05-27 17:35:04 +02:00
test_suite_camellia.function Rename MBEDTLS_CIPHER_ENCRYPT_ONLY as MBEDTLS_BLOCK_CIPHER_NO_DECRYPT 2023-10-31 17:22:06 +08:00
test_suite_ccm.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_ccm.function test_suite_ccm: add missing BLOCK_CIPHER_PSA_[INIT/DONE]() 2023-12-20 09:54:39 +01:00
test_suite_chacha20.data Refactor optional parameter check tests 2021-05-27 17:27:14 +02:00
test_suite_chacha20.function Fix code style 2023-07-27 14:17:27 +01:00
test_suite_chachapoly.data Refactor optional parameter check tests 2021-05-27 17:27:14 +02:00
test_suite_chachapoly.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_cipher.aes.data Rename MBEDTLS_CIPHER_ENCRYPT_ONLY as MBEDTLS_BLOCK_CIPHER_NO_DECRYPT 2023-10-31 17:22:06 +08:00
test_suite_cipher.aria.data Add more tests to check setting padding mode 2023-09-21 14:04:35 +01:00
test_suite_cipher.camellia.data Add more tests to check setting padding mode 2023-09-21 14:04:35 +01:00
test_suite_cipher.ccm.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_cipher.chacha20.data Modifies data files to match new test function name 2022-02-21 09:57:51 +00:00
test_suite_cipher.chachapoly.data Modifies data files to match new test function name 2022-02-21 09:57:51 +00:00
test_suite_cipher.des.data Add more tests to check setting padding mode 2023-09-21 14:04:35 +01:00
test_suite_cipher.function test_suite_cipher: use TEST_ASSUME() to evaluate supported ciphers 2023-10-25 12:03:36 +02:00
test_suite_cipher.gcm.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_cipher.misc.data
test_suite_cipher.nist_kw.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_cipher.null.data
test_suite_cipher.padding.data Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
test_suite_cmac.data test_suite_cmac: add used key type to all test cases 2023-12-29 14:07:11 +01:00
test_suite_cmac.function Officially deprecate MBEDTLS_CIPHER_BLKSIZE_MAX 2023-06-14 18:00:37 +02:00
test_suite_common.data Add tests for xor over large blocks 2023-06-07 16:38:26 +01:00
test_suite_common.function Fix unnecessary header prefixes in tests 2023-08-30 15:34:34 +01:00
test_suite_constant_time_hmac.data SSL: use MD_CAN macros 2023-03-21 16:29:31 +01:00
test_suite_constant_time_hmac.function library/tests: replace md_psa.h with psa_util.h as include file for MD conversion 2024-01-02 13:27:32 +01:00
test_suite_constant_time.data Add mbedtls_ct_error_if, with tests 2023-09-22 09:58:25 +01:00
test_suite_constant_time.function Fix test error 2023-09-22 10:56:13 +01:00
test_suite_ctr_drbg.data Add tests for mbedtls_ctr_increment_counter 2024-01-15 11:45:01 +00:00
test_suite_ctr_drbg.function Add tests for mbedtls_ctr_increment_counter 2024-01-15 11:45:01 +00:00
test_suite_debug.data Renaming all MBEDTLS_HAVE for curves to MBEDTLS_ECP_HAVE 2023-09-25 17:39:41 +02:00
test_suite_debug.function debug: move internal functions declarations to an internal header file 2024-01-18 15:30:46 +01:00
test_suite_des.data
test_suite_des.function Revert "des: add CIPHER_ENCRYPT_ONLY dependency for test cases" 2023-09-07 18:00:25 +08:00
test_suite_dhm.data test_suite_dhm: Add missing dependencies on MBEDTLS_PEM_PARSE_C 2022-10-11 20:57:21 +02:00
test_suite_dhm.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecdh.data Merge branch 'development' into Remove__CHECK_PARAMS_option 2021-06-07 15:41:49 +02:00
test_suite_ecdh.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_ecdsa.data OID + misc crypto: use MD_CAN and fix failures 2023-03-21 16:28:00 +01:00
test_suite_ecdsa.function Remove hash_info.[ch] 2023-06-06 10:33:54 +02:00
test_suite_ecjpake.data mbedtls_ecp_point_read_binary from compressed fmt 2022-10-03 05:43:27 -04:00
test_suite_ecjpake.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_ecp.data New function mbedtls_ecp_keypair_calc_public 2023-12-22 21:30:03 +01:00
test_suite_ecp.function Remove useless guards on MBEDTLS_BIGNUM_C 2024-01-03 14:08:10 +01:00
test_suite_entropy.data Remove MBEDTLS_TEST_NULL_ENTROPY config option. 2021-05-11 13:15:19 +02:00
test_suite_entropy.function Close file on error path 2023-10-17 18:12:31 +02:00
test_suite_error.data
test_suite_error.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_gcm.aes128_de.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.aes128_en.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.aes192_de.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.aes192_en.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.aes256_de.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.aes256_en.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.camellia.data tests: use new CCM/GCM capability macros in tests 2023-12-20 09:54:18 +01:00
test_suite_gcm.function Add calls to BLOCK_CIPHER_PSA_INIT / BLOCK_CIPHER_PSA_DONE 2024-02-02 17:52:41 +00:00
test_suite_gcm.misc.data Fix test dependencies 2024-02-01 13:54:46 +00:00
test_suite_hkdf.data Enable HKDF in driver-only hashes test 2023-03-21 16:42:05 +01:00
test_suite_hkdf.function Fix code style 2023-07-27 14:17:27 +01:00
test_suite_hmac_drbg.function Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.misc.data Fix test dependencies 2023-06-08 13:48:42 +01:00
test_suite_hmac_drbg.no_reseed.data Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.nopr.data Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_hmac_drbg.pr.data Enable HMAC-DRBG in driver-only hashes component 2023-03-21 16:42:05 +01:00
test_suite_lmots.data Fix file names in reproduction instructions in test data 2022-10-13 20:48:15 +02:00
test_suite_lmots.function Fix code style 2023-07-27 14:17:27 +01:00
test_suite_lms.data Fix instructions and test data for pyhsslms interop tests 2022-10-13 20:45:05 +02:00
test_suite_lms.function Fix code style 2023-07-27 14:17:27 +01:00
test_suite_md.data Revert "test_suite_md: improve md_to_from_psa() test function and related data" 2024-01-09 08:41:21 +01:00
test_suite_md.function Revert "test_suite_md: improve md_to_from_psa() test function and related data" 2024-01-09 08:41:21 +01:00
test_suite_md.psa.data Fix dependencies for SHA-3 MD dispatch tests 2023-09-24 09:48:46 +02:00
test_suite_mdx.data Remove MD2, MD4, RC4, Blowfish and XTEA 2021-06-16 10:34:25 +02:00
test_suite_mdx.function Fix use of sizeof without brackets 2023-02-02 12:40:50 +00:00
test_suite_memory_buffer_alloc.data
test_suite_memory_buffer_alloc.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_mps.data
test_suite_mps.function Add missing exit labels to MPS tests 2023-10-20 19:14:46 +01:00
test_suite_net.data
test_suite_net.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_nist_kw.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_nist_kw.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_oid.data Add OID tests for HMAC-xxx 2023-07-27 16:02:42 +01:00
test_suite_oid.function Add OID tests for HMAC-xxx 2023-07-27 16:02:42 +01:00
test_suite_pem.data tests/test_suite_pem: Augment DES test cases with AES: PEM 2023-07-06 14:21:23 +01:00
test_suite_pem.function Use TEST_EQUAL instead of TEST_ASSERT 2023-05-03 17:47:29 +02:00
test_suite_pk.data Fix builds with secp224k1 as the only curve 2024-02-06 11:11:32 +01:00
test_suite_pk.function Fix builds with secp224k1 as the only curve 2024-02-06 11:11:32 +01:00
test_suite_pkcs1_v15.data RSA: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs1_v15.function md: restore md.h includes in source files directly using its elements 2023-10-16 14:39:38 +02:00
test_suite_pkcs1_v21.data RSA: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs1_v21.function For tests, rename TEST_BUFFERS_EQUAL() to TEST_MEMORY_COMPARE() 2023-07-21 11:45:25 +01:00
test_suite_pkcs5.data Improve mbedtls_pkcs5_pbes2_ext function test data 2023-08-29 14:55:03 +01:00
test_suite_pkcs5.function pkcs[5/12]: add CIPHER_C for [en/de]crypting functions 2023-12-21 16:39:04 +01:00
test_suite_pkcs7.data X.509: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_pkcs7.function x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
test_suite_pkcs12.data test_suite_pkcs12: fix typo in test case description 2023-10-06 11:25:08 +02:00
test_suite_pkcs12.function pkcs[5/12]: add CIPHER_C for [en/de]crypting functions 2023-12-21 16:39:04 +01:00
test_suite_pkparse.data oid/pkparse: add missing guards for PKCS[5/12] functions when !CIPHER_C 2023-12-29 16:35:58 +01:00
test_suite_pkparse.function Smoke tests for mbedtls_pk_get_psa_attributes after parsing 2024-02-02 13:22:23 +01:00
test_suite_pkwrite.data Renaming all MBEDTLS_HAVE for curves to MBEDTLS_ECP_HAVE 2023-09-25 17:39:41 +02:00
test_suite_pkwrite.function pk: move mbedtls_pk_load_file to pk_internal 2024-01-19 09:07:39 +01:00
test_suite_platform_printf.data Add test cases with a question mark 2023-04-26 19:50:57 +02:00
test_suite_platform_printf.function For tests, rename TEST_BUFFERS_EQUAL() to TEST_MEMORY_COMPARE() 2023-07-21 11:45:25 +01:00
test_suite_platform_util.data Add tests that cover msan explicit_bzero issue 2023-03-16 12:02:15 +00:00
test_suite_platform_util.function Add explanatory comment 2023-03-16 13:43:32 +00:00
test_suite_platform.data MSan and TSan complain as well, not just ASan 2023-11-22 18:08:17 +01:00
test_suite_platform.function Add a dummy usage of a pointer in tests 2023-07-03 10:42:27 -04:00
test_suite_poly1305.data Refactor optional parameter check tests 2021-05-27 17:27:14 +02:00
test_suite_poly1305.function Fix code style 2023-07-27 14:17:27 +01:00
test_suite_psa_crypto_attributes.data
test_suite_psa_crypto_attributes.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_driver_wrappers.data Rm unjustified MD_C dependencies in PSA test 2023-11-08 12:30:52 +01:00
test_suite_psa_crypto_driver_wrappers.function test_driver_key_management: rename counter for export_public_key() hits 2023-12-04 11:04:42 +01:00
test_suite_psa_crypto_entropy.data test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +02:00
test_suite_psa_crypto_entropy.function Merge pull request #6253 from tom-cosgrove-arm/rename-assert_compare-to-test_assert_compare 2023-08-04 13:45:10 +00:00
test_suite_psa_crypto_generate_key.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_hash.data Fix error in test vectors 2023-07-28 16:44:18 +01:00
test_suite_psa_crypto_hash.function Merge pull request #7839 from daverodgman/psa-sha3 2023-08-30 08:51:36 +00:00
test_suite_psa_crypto_init.data MBEDTLS_PSA_INJECT_ENTROPY: Skip incompatible tests 2023-04-28 23:45:36 +02:00
test_suite_psa_crypto_init.function For tests, rename TEST_CALLOC_OR_FAIL() to just TEST_CALLOC() 2023-07-21 11:32:25 +01:00
test_suite_psa_crypto_low_hash.function Remove dead code 2023-08-22 09:59:50 +02:00
test_suite_psa_crypto_metadata.data test_suite_psa_crypto_metadata: remove unnecessary CIPHER_C dependencies 2023-10-30 11:37:09 +01:00
test_suite_psa_crypto_metadata.function Minor adaptations after ffdh was enabled for tls1.3 2023-07-05 09:12:08 +02:00
test_suite_psa_crypto_not_supported.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_not_supported.misc.data
test_suite_psa_crypto_op_fail.function test: properly size output buffer in key_agreement_fail() 2023-07-31 11:35:48 +02:00
test_suite_psa_crypto_op_fail.misc.data test: replace RSA_KEY_PAIR_LEGACY with proper symbols 2023-07-11 14:06:00 +02:00
test_suite_psa_crypto_pake.data test: replace ECC_KEY_PAIR_LEGACY with DERIVE 2023-06-30 10:16:21 +02:00
test_suite_psa_crypto_pake.function Fix a typo 2023-12-14 23:34:48 +00:00
test_suite_psa_crypto_persistent_key.data Rm unjustified PK_C dependencies in PSA tests 2023-11-08 12:30:52 +01:00
test_suite_psa_crypto_persistent_key.function md: remove unnecessary inclusions of mbedtls/md.h 2023-10-11 13:15:58 +02:00
test_suite_psa_crypto_se_driver_hal_mocks.data
test_suite_psa_crypto_se_driver_hal_mocks.function Switch to the new code style 2023-01-11 14:50:10 +01:00
test_suite_psa_crypto_se_driver_hal.data Add AES 128-bit key dependency for tests data 2023-05-05 11:21:30 +08:00
test_suite_psa_crypto_se_driver_hal.function Fix missing initializations on some error paths 2023-10-17 17:09:28 +02:00
test_suite_psa_crypto_slot_management.data lib/test: replace BASIC_IMPORT_EXPORT internal symbol with BASIC,IMPORT,EXPORT 2023-06-30 10:16:22 +02:00
test_suite_psa_crypto_slot_management.function crypto_extra: revert changes to mbedtls_psa_random_free() 2023-12-04 11:04:42 +01:00
test_suite_psa_crypto_storage_format.function No more limitations accelerated algorithms using a built-in hash 2023-11-08 12:30:52 +01:00
test_suite_psa_crypto_storage_format.misc.data Remove obsolete MBEDTLS_xxx dependencies 2021-07-13 17:12:53 +02:00
test_suite_psa_crypto.data Merge pull request #8700 from valeriosetti/issue8461 2024-01-22 08:43:08 +00:00
test_suite_psa_crypto.function Merge pull request #8700 from valeriosetti/issue8461 2024-01-22 08:43:08 +00:00
test_suite_psa_crypto.pbkdf2.data Modify test description 2023-08-18 12:49:07 +05:30
test_suite_psa_its.data BUGFIX: PSA test vectors use UID 1 instead of 0. 2022-02-08 15:19:26 +01:00
test_suite_psa_its.function Fix unnecessary header prefixes in tests 2023-08-30 15:34:34 +01:00
test_suite_random.data Fix instances of old feature macros being used 2023-03-24 10:43:40 +01:00
test_suite_random.function test_suite_[ctr_drbg/random]: initialize/close PSA in tests 2023-12-04 11:04:41 +01:00
test_suite_rsa.data Improve naming of mimimum RSA key size generation configurations 2023-07-27 14:50:09 +00:00
test_suite_rsa.function Remove legacy_or_psa.h 2023-03-21 16:29:31 +01:00
test_suite_shax.data Add tests for invalid paramters 2023-06-07 17:06:35 +01:00
test_suite_shax.function Ensure mbedtls_sha3_finish zeroizes the context 2023-08-30 18:43:23 +01:00
test_suite_ssl_decrypt.function ssl: use MBEDTLS_SSL_HAVE_* in tests 2023-11-08 14:09:16 +08:00
test_suite_ssl_decrypt.misc.data ssl: replace MBEDTLS_SSL_HAVE_*_CBC with two seperate macros 2023-11-08 14:21:19 +08:00
test_suite_ssl.data tests: tls13: Add early data unit test 2024-01-22 09:37:45 +01:00
test_suite_ssl.function tests: ssl: Adjust early data test 2024-02-01 20:10:41 +01:00
test_suite_timing.data Remove the dependency on MBEDTLS_HAVE_TIME from MBEDTLS_TIMING_C 2022-04-08 04:41:42 -04:00
test_suite_timing.function Whitespace fix 2023-03-31 18:04:34 +01:00
test_suite_version.data Bump version 2024-01-22 15:45:49 +00:00
test_suite_version.function Update spelling "mbed TLS" to "Mbed TLS" 2023-09-12 19:18:17 +02:00
test_suite_x509parse.data New test cases requested in https://github.com/Mbed-TLS/mbedtls/pull/8378#discussion_r1383779861 2023-11-07 15:16:35 +01:00
test_suite_x509parse.function x509: move internal functions declarations to a private header 2024-01-19 09:07:35 +01:00
test_suite_x509write.data Remove unneeded testcase 2024-01-22 15:31:05 +00:00
test_suite_x509write.function Merge pull request #8715 from valeriosetti/issue7964 2024-02-05 15:09:15 +00:00