mbedtls/tests/suites
Manuel Pégourié-Gonnard b2eb1f7456 ECJPAKE: use MD_CAN macros
sed -i -f md.sed \
    library/ecjpake.c \
    include/medtls/ecjpake.h \
    tests/suites/test_suite_ecjpake.*

With md.sed as follows:

s/\bMBEDTLS_HAS_ALG_MD5_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_MD5/g
s/\bMBEDTLS_HAS_ALG_RIPEMD160_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_RIPEMD160/g
s/\bMBEDTLS_HAS_ALG_SHA_1_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_SHA1/g
s/\bMBEDTLS_HAS_ALG_SHA_224_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_SHA224/g
s/\bMBEDTLS_HAS_ALG_SHA_256_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_SHA256/g
s/\bMBEDTLS_HAS_ALG_SHA_384_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_SHA384/g
s/\bMBEDTLS_HAS_ALG_SHA_512_VIA_MD_OR_PSA_BASED_ON_USE_PSA\b/MBEDTLS_MD_CAN_SHA512/g

s/\bMBEDTLS_HAS_ALG_MD5_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_MD5/g
s/\bMBEDTLS_HAS_ALG_RIPEMD160_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_RIPEMD160/g
s/\bMBEDTLS_HAS_ALG_SHA_1_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_SHA1/g
s/\bMBEDTLS_HAS_ALG_SHA_224_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_SHA224/g
s/\bMBEDTLS_HAS_ALG_SHA_256_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_SHA256/g
s/\bMBEDTLS_HAS_ALG_SHA_384_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_SHA384/g
s/\bMBEDTLS_HAS_ALG_SHA_512_VIA_MD_OR_PSA\b/MBEDTLS_MD_CAN_SHA512/g

s/\bMBEDTLS_HAS_ALG_MD5_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_MD5/g
s/\bMBEDTLS_HAS_ALG_RIPEMD160_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_RIPEMD160/g
s/\bMBEDTLS_HAS_ALG_SHA_1_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_SHA1/g
s/\bMBEDTLS_HAS_ALG_SHA_224_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_SHA224/g
s/\bMBEDTLS_HAS_ALG_SHA_256_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_SHA256/g
s/\bMBEDTLS_HAS_ALG_SHA_384_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_SHA384/g
s/\bMBEDTLS_HAS_ALG_SHA_512_VIA_LOWLEVEL_OR_PSA\b/MBEDTLS_MD_CAN_SHA512/g

s/\bMBEDTLS_MD5_C\b/MBEDTLS_MD_CAN_MD5/g
s/\bMBEDTLS_RIPEMD160_C\b/MBEDTLS_MD_CAN_RIPEMD160/g
s/\bMBEDTLS_SHA1_C\b/MBEDTLS_MD_CAN_SHA1/g
s/\bMBEDTLS_SHA224_C\b/MBEDTLS_MD_CAN_SHA224/g
s/\bMBEDTLS_SHA256_C\b/MBEDTLS_MD_CAN_SHA256/g
s/\bMBEDTLS_SHA384_C\b/MBEDTLS_MD_CAN_SHA384/g
s/\bMBEDTLS_SHA512_C\b/MBEDTLS_MD_CAN_SHA512/g

Signed-off-by: Manuel Pégourié-Gonnard <manuel.pegourie-gonnard@arm.com>
2023-03-21 16:28:00 +01:00
..
helpers.function Fix build error in CI about test_fail_if_psa_leaking 2023-03-13 19:20:42 +08:00
host_test.function
main_test.function
test_suite_aes.cbc.data
test_suite_aes.cfb.data
test_suite_aes.ecb.data
test_suite_aes.function
test_suite_aes.ofb.data
test_suite_aes.rest.data
test_suite_aes.xts.data
test_suite_alignment.data
test_suite_alignment.function
test_suite_aria.data
test_suite_aria.function
test_suite_asn1parse.data
test_suite_asn1parse.function
test_suite_asn1write.data
test_suite_asn1write.function
test_suite_base64.data
test_suite_base64.function
test_suite_bignum_core.function
test_suite_bignum_core.misc.data
test_suite_bignum_mod_raw.data
test_suite_bignum_mod_raw.function
test_suite_bignum_mod.function
test_suite_bignum_mod.misc.data
test_suite_bignum_random.data
test_suite_bignum_random.function
test_suite_bignum.function
test_suite_bignum.misc.data
test_suite_camellia.data
test_suite_camellia.function
test_suite_ccm.data
test_suite_ccm.function
test_suite_chacha20.data
test_suite_chacha20.function
test_suite_chachapoly.data
test_suite_chachapoly.function
test_suite_cipher.aes.data
test_suite_cipher.aria.data
test_suite_cipher.camellia.data
test_suite_cipher.ccm.data
test_suite_cipher.chacha20.data
test_suite_cipher.chachapoly.data
test_suite_cipher.des.data
test_suite_cipher.function
test_suite_cipher.gcm.data
test_suite_cipher.misc.data
test_suite_cipher.nist_kw.data
test_suite_cipher.null.data
test_suite_cipher.padding.data
test_suite_cmac.data
test_suite_cmac.function
test_suite_common.data
test_suite_common.function
test_suite_constant_time_hmac.data
test_suite_constant_time_hmac.function
test_suite_constant_time.data
test_suite_constant_time.function
test_suite_ctr_drbg.data
test_suite_ctr_drbg.function
test_suite_debug.data
test_suite_debug.function
test_suite_des.data
test_suite_des.function
test_suite_dhm.data
test_suite_dhm.function
test_suite_ecdh.data
test_suite_ecdh.function
test_suite_ecdsa.data
test_suite_ecdsa.function
test_suite_ecjpake.data
test_suite_ecjpake.function ECJPAKE: use MD_CAN macros 2023-03-21 16:28:00 +01:00
test_suite_ecp.data
test_suite_ecp.function Add test generation for ecp_mod_p256_raw 2023-03-08 14:12:20 +01:00
test_suite_entropy.data
test_suite_entropy.function
test_suite_error.data
test_suite_error.function
test_suite_gcm.aes128_de.data
test_suite_gcm.aes128_en.data
test_suite_gcm.aes192_de.data
test_suite_gcm.aes192_en.data
test_suite_gcm.aes256_de.data
test_suite_gcm.aes256_en.data
test_suite_gcm.camellia.data
test_suite_gcm.function
test_suite_gcm.misc.data
test_suite_hkdf.data
test_suite_hkdf.function
test_suite_hmac_drbg.function
test_suite_hmac_drbg.misc.data
test_suite_hmac_drbg.no_reseed.data
test_suite_hmac_drbg.nopr.data
test_suite_hmac_drbg.pr.data
test_suite_lmots.data
test_suite_lmots.function
test_suite_lms.data
test_suite_lms.function
test_suite_md.data Dispatch according to init status. 2023-03-16 09:46:51 +01:00
test_suite_md.function Make MD_PSA_INIT/DONE available to all suites 2023-03-21 16:28:00 +01:00
test_suite_mdx.data
test_suite_mdx.function
test_suite_memory_buffer_alloc.data
test_suite_memory_buffer_alloc.function
test_suite_mps.data
test_suite_mps.function
test_suite_net.data
test_suite_net.function
test_suite_nist_kw.data
test_suite_nist_kw.function
test_suite_oid.data Fix segfault in mbedtls_oid_get_numeric_string 2023-03-16 01:06:41 -04:00
test_suite_oid.function Fix segfault in mbedtls_oid_get_numeric_string 2023-03-16 01:06:41 -04:00
test_suite_pem.data
test_suite_pem.function
test_suite_pk.data
test_suite_pk.function
test_suite_pkcs1_v15.data
test_suite_pkcs1_v15.function rsa_tests: use TEST_EQUAL instead of TEST_ASSERT 2023-03-17 20:33:08 +08:00
test_suite_pkcs1_v21.data
test_suite_pkcs1_v21.function rsa_tests: use TEST_EQUAL instead of TEST_ASSERT 2023-03-17 20:33:08 +08:00
test_suite_pkcs5.data
test_suite_pkcs5.function
test_suite_pkcs7.data Disable test under MBEDTLS_MEMORY_BUFFER_ALLOC_C 2023-03-12 13:30:56 +00:00
test_suite_pkcs7.function Make pkcs7_parse test not depend on MBEDTLS_RSA_C 2023-03-12 10:00:44 +00:00
test_suite_pkcs12.data
test_suite_pkcs12.function
test_suite_pkparse.data
test_suite_pkparse.function
test_suite_pkwrite.data
test_suite_pkwrite.function
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_poly1305.data
test_suite_poly1305.function
test_suite_psa_crypto_attributes.data
test_suite_psa_crypto_attributes.function
test_suite_psa_crypto_driver_wrappers.data Merge pull request #6567 from mprse/ecjpake-driver-dispatch 2023-03-09 19:23:05 +00:00
test_suite_psa_crypto_driver_wrappers.function Code optimizations and documentation fixes 2023-03-13 16:28:27 +01:00
test_suite_psa_crypto_entropy.data
test_suite_psa_crypto_entropy.function
test_suite_psa_crypto_generate_key.function
test_suite_psa_crypto_hash.data
test_suite_psa_crypto_hash.function
test_suite_psa_crypto_init.data
test_suite_psa_crypto_init.function
test_suite_psa_crypto_metadata.data
test_suite_psa_crypto_metadata.function
test_suite_psa_crypto_not_supported.function
test_suite_psa_crypto_not_supported.misc.data
test_suite_psa_crypto_op_fail.function Enable all keys for interruptible op fail tests 2023-03-02 16:03:43 +00:00
test_suite_psa_crypto_op_fail.misc.data
test_suite_psa_crypto_pake.data rework psa_pake_set_role to be consistent with requirements and adapt tests 2023-03-12 16:59:28 +01:00
test_suite_psa_crypto_pake.function Fix documentation and tests 2023-03-14 11:49:36 +01:00
test_suite_psa_crypto_persistent_key.data test: remove dependencies on PK_WRITE and PK_PARSE from test_suite_psa_crypto suites 2023-03-08 11:03:09 +01:00
test_suite_psa_crypto_persistent_key.function
test_suite_psa_crypto_se_driver_hal_mocks.data
test_suite_psa_crypto_se_driver_hal_mocks.function
test_suite_psa_crypto_se_driver_hal.data
test_suite_psa_crypto_se_driver_hal.function
test_suite_psa_crypto_slot_management.data
test_suite_psa_crypto_slot_management.function
test_suite_psa_crypto_storage_format.function
test_suite_psa_crypto_storage_format.misc.data
test_suite_psa_crypto.data Add utility function to check for drivers init 2023-03-16 09:46:51 +01:00
test_suite_psa_crypto.function Add utility function to check for drivers init 2023-03-16 09:46:51 +01:00
test_suite_psa_its.data
test_suite_psa_its.function
test_suite_random.data
test_suite_random.function
test_suite_rsa.data test_suite_rsa.function: remove redundant test cases 2023-03-15 16:55:36 +08:00
test_suite_rsa.function rsa: add positive test cases for getter functions 2023-03-17 19:49:04 +08:00
test_suite_shax.data
test_suite_shax.function
test_suite_ssl.data test_suite_ssl: remove redundant ECDH dependencies when the key exchange is specified 2023-03-20 14:02:07 +01:00
test_suite_ssl.function Move #define Directive into ssl_helpers.h 2023-03-13 19:20:42 +08:00
test_suite_timing.data
test_suite_timing.function
test_suite_version.data
test_suite_version.function
test_suite_x509parse.data
test_suite_x509parse.function
test_suite_x509write.data
test_suite_x509write.function Replace mbedtls_x509_san_node with mbedtls_x509_subject_alternative_name 2023-03-03 12:58:11 +01:00