diff --git a/include/mbedtls/check_config.h b/include/mbedtls/check_config.h index d36db4a9e..85605a8bb 100644 --- a/include/mbedtls/check_config.h +++ b/include/mbedtls/check_config.h @@ -327,7 +327,7 @@ /* Use of EC J-PAKE in TLS requires SHA-256. * This will be taken from MD if it is present, or from PSA if MD is absent. - * Note: ECJPAKE_C depends on MD_C || PSA_CRYPTO_C. */ + * Note: MBEDTLS_ECJPAKE_C depends on MBEDTLS_MD_C || MBEDTLS_PSA_CRYPTO_C. */ #if defined(MBEDTLS_KEY_EXCHANGE_ECJPAKE_ENABLED) && \ !( defined(MBEDTLS_MD_C) && defined(MBEDTLS_SHA256_C) ) && \ !( !defined(MBEDTLS_MD_C) && defined(PSA_WANT_ALG_SHA_256) ) diff --git a/tests/scripts/check_names.py b/tests/scripts/check_names.py index 2ddf41ed9..3c800d1a2 100755 --- a/tests/scripts/check_names.py +++ b/tests/scripts/check_names.py @@ -847,8 +847,7 @@ class NameChecker(): } typo_exclusion = re.compile(r"XXX|__|_$|^MBEDTLS_.*CONFIG_FILE$|" r"MBEDTLS_TEST_LIBTESTDRIVER*|" - r"PSA_CRYPTO_DRIVER_TEST|" - r"PSA_CRYPTO_C") + r"PSA_CRYPTO_DRIVER_TEST") for name_match in self.parse_result["mbed_psa_words"]: found = name_match.name in all_caps_names