/* mbedtls_config_check_user.h (generated part of mbedtls_config.c). */
/* Automatically generated by generate_config_checks.py. Do not edit! */

#if !defined(MBEDTLS_CONFIG_CHECK_BYPASS) //no-check-names

/* *INDENT-OFF* */

#if defined(MBEDTLS_AESCE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AESCE_C
#  error "MBEDTLS_AESCE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AESCE_C
#  define MBEDTLS_AESCE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AESCE_C

#if defined(MBEDTLS_AESNI_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AESNI_C
#  error "MBEDTLS_AESNI_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AESNI_C
#  define MBEDTLS_AESNI_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AESNI_C

#if defined(MBEDTLS_AES_ALT) //no-check-names
#  error "MBEDTLS_AES_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_AES_C)
#  error "MBEDTLS_AES_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_C
#  define MBEDTLS_AES_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_C

#if defined(MBEDTLS_AES_DECRYPT_ALT) //no-check-names
#  error "MBEDTLS_AES_DECRYPT_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_AES_ENCRYPT_ALT) //no-check-names
#  error "MBEDTLS_AES_ENCRYPT_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_AES_FEWER_TABLES) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_FEWER_TABLES
#  error "MBEDTLS_AES_FEWER_TABLES must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_FEWER_TABLES
#  define MBEDTLS_AES_FEWER_TABLES
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_FEWER_TABLES

#if defined(MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
#  error "MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
#  define MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_ONLY_128_BIT_KEY_LENGTH

#if defined(MBEDTLS_AES_ROM_TABLES) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_ROM_TABLES
#  error "MBEDTLS_AES_ROM_TABLES must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_ROM_TABLES
#  define MBEDTLS_AES_ROM_TABLES
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_ROM_TABLES

#if defined(MBEDTLS_AES_SETKEY_DEC_ALT) //no-check-names
#  error "MBEDTLS_AES_SETKEY_DEC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_AES_SETKEY_ENC_ALT) //no-check-names
#  error "MBEDTLS_AES_SETKEY_ENC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_AES_USE_HARDWARE_ONLY) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_USE_HARDWARE_ONLY
#  error "MBEDTLS_AES_USE_HARDWARE_ONLY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_USE_HARDWARE_ONLY
#  define MBEDTLS_AES_USE_HARDWARE_ONLY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_AES_USE_HARDWARE_ONLY

#if defined(MBEDTLS_ARIA_ALT) //no-check-names
#  error "MBEDTLS_ARIA_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ARIA_C)
#  error "MBEDTLS_ARIA_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ARIA_C
#  define MBEDTLS_ARIA_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ARIA_C

#if defined(MBEDTLS_ASN1_PARSE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ASN1_PARSE_C
#  error "MBEDTLS_ASN1_PARSE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ASN1_PARSE_C
#  define MBEDTLS_ASN1_PARSE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ASN1_PARSE_C

#if defined(MBEDTLS_ASN1_WRITE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ASN1_WRITE_C
#  error "MBEDTLS_ASN1_WRITE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ASN1_WRITE_C
#  define MBEDTLS_ASN1_WRITE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ASN1_WRITE_C

#if defined(MBEDTLS_BASE64_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BASE64_C
#  error "MBEDTLS_BASE64_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BASE64_C
#  define MBEDTLS_BASE64_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BASE64_C

#if defined(MBEDTLS_BIGNUM_C)
#  error "MBEDTLS_BIGNUM_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BIGNUM_C
#  define MBEDTLS_BIGNUM_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BIGNUM_C

#if defined(MBEDTLS_BLOCK_CIPHER_NO_DECRYPT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
#  error "MBEDTLS_BLOCK_CIPHER_NO_DECRYPT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
#  define MBEDTLS_BLOCK_CIPHER_NO_DECRYPT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_BLOCK_CIPHER_NO_DECRYPT

#if defined(MBEDTLS_CAMELLIA_ALT) //no-check-names
#  error "MBEDTLS_CAMELLIA_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CAMELLIA_C)
#  error "MBEDTLS_CAMELLIA_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CAMELLIA_C
#  define MBEDTLS_CAMELLIA_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CAMELLIA_C

#if defined(MBEDTLS_CAMELLIA_SMALL_MEMORY) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CAMELLIA_SMALL_MEMORY
#  error "MBEDTLS_CAMELLIA_SMALL_MEMORY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CAMELLIA_SMALL_MEMORY
#  define MBEDTLS_CAMELLIA_SMALL_MEMORY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CAMELLIA_SMALL_MEMORY

#if defined(MBEDTLS_CCM_ALT) //no-check-names
#  error "MBEDTLS_CCM_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CCM_C)
#  error "MBEDTLS_CCM_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CCM_C
#  define MBEDTLS_CCM_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CCM_C

#if defined(MBEDTLS_CHACHA20_ALT) //no-check-names
#  error "MBEDTLS_CHACHA20_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CHACHA20_C)
#  error "MBEDTLS_CHACHA20_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHACHA20_C
#  define MBEDTLS_CHACHA20_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHACHA20_C

#if defined(MBEDTLS_CHACHAPOLY_ALT) //no-check-names
#  error "MBEDTLS_CHACHAPOLY_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CHACHAPOLY_C)
#  error "MBEDTLS_CHACHAPOLY_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHACHAPOLY_C
#  define MBEDTLS_CHACHAPOLY_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHACHAPOLY_C

#if defined(MBEDTLS_CHECK_RETURN) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHECK_RETURN
#  error "MBEDTLS_CHECK_RETURN must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHECK_RETURN
#  define MBEDTLS_CHECK_RETURN
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHECK_RETURN

#if defined(MBEDTLS_CHECK_RETURN_WARNING) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHECK_RETURN_WARNING
#  error "MBEDTLS_CHECK_RETURN_WARNING must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHECK_RETURN_WARNING
#  define MBEDTLS_CHECK_RETURN_WARNING
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CHECK_RETURN_WARNING

#if defined(MBEDTLS_CIPHER_C)
#  error "MBEDTLS_CIPHER_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_C
#  define MBEDTLS_CIPHER_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_C

#if defined(MBEDTLS_CIPHER_MODE_CBC)
#  error "MBEDTLS_CIPHER_MODE_CBC is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_CBC
#  define MBEDTLS_CIPHER_MODE_CBC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_CBC

#if defined(MBEDTLS_CIPHER_MODE_CFB)
#  error "MBEDTLS_CIPHER_MODE_CFB is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_CFB
#  define MBEDTLS_CIPHER_MODE_CFB
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_CFB

#if defined(MBEDTLS_CIPHER_MODE_CTR)
#  error "MBEDTLS_CIPHER_MODE_CTR is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_CTR
#  define MBEDTLS_CIPHER_MODE_CTR
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_CTR

#if defined(MBEDTLS_CIPHER_MODE_OFB)
#  error "MBEDTLS_CIPHER_MODE_OFB is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_OFB
#  define MBEDTLS_CIPHER_MODE_OFB
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_OFB

#if defined(MBEDTLS_CIPHER_MODE_XTS)
#  error "MBEDTLS_CIPHER_MODE_XTS is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_XTS
#  define MBEDTLS_CIPHER_MODE_XTS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_MODE_XTS

#if defined(MBEDTLS_CIPHER_NULL_CIPHER) //no-check-names
#  error "MBEDTLS_CIPHER_NULL_CIPHER was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS) //no-check-names
#  error "MBEDTLS_CIPHER_PADDING_ONE_AND_ZEROS was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CIPHER_PADDING_PKCS7)
#  error "MBEDTLS_CIPHER_PADDING_PKCS7 is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_PADDING_PKCS7
#  define MBEDTLS_CIPHER_PADDING_PKCS7
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CIPHER_PADDING_PKCS7

#if defined(MBEDTLS_CIPHER_PADDING_ZEROS) //no-check-names
#  error "MBEDTLS_CIPHER_PADDING_ZEROS was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN) //no-check-names
#  error "MBEDTLS_CIPHER_PADDING_ZEROS_AND_LEN was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CMAC_ALT) //no-check-names
#  error "MBEDTLS_CMAC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CMAC_C)
#  error "MBEDTLS_CMAC_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CMAC_C
#  define MBEDTLS_CMAC_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CMAC_C

#if defined(MBEDTLS_CTR_DRBG_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CTR_DRBG_C
#  error "MBEDTLS_CTR_DRBG_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CTR_DRBG_C
#  define MBEDTLS_CTR_DRBG_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_CTR_DRBG_C

#if defined(MBEDTLS_CTR_DRBG_ENTROPY_LEN) //no-check-names
#  error "MBEDTLS_CTR_DRBG_ENTROPY_LEN was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CTR_DRBG_MAX_INPUT) //no-check-names
#  error "MBEDTLS_CTR_DRBG_MAX_INPUT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CTR_DRBG_MAX_REQUEST) //no-check-names
#  error "MBEDTLS_CTR_DRBG_MAX_REQUEST was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CTR_DRBG_MAX_SEED_INPUT) //no-check-names
#  error "MBEDTLS_CTR_DRBG_MAX_SEED_INPUT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CTR_DRBG_RESEED_INTERVAL) //no-check-names
#  error "MBEDTLS_CTR_DRBG_RESEED_INTERVAL was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_CTR_DRBG_USE_128_BIT_KEY) //no-check-names
#  error "MBEDTLS_CTR_DRBG_USE_128_BIT_KEY was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DEPRECATED_REMOVED) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_DEPRECATED_REMOVED
#  error "MBEDTLS_DEPRECATED_REMOVED must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_DEPRECATED_REMOVED
#  define MBEDTLS_DEPRECATED_REMOVED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_DEPRECATED_REMOVED

#if defined(MBEDTLS_DEPRECATED_WARNING) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_DEPRECATED_WARNING
#  error "MBEDTLS_DEPRECATED_WARNING must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_DEPRECATED_WARNING
#  define MBEDTLS_DEPRECATED_WARNING
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_DEPRECATED_WARNING

#if defined(MBEDTLS_DES3_CRYPT_ECB_ALT) //no-check-names
#  error "MBEDTLS_DES3_CRYPT_ECB_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DES_ALT) //no-check-names
#  error "MBEDTLS_DES_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DES_C) //no-check-names
#  error "MBEDTLS_DES_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DES_CRYPT_ECB_ALT) //no-check-names
#  error "MBEDTLS_DES_CRYPT_ECB_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DES_SETKEY_ALT) //no-check-names
#  error "MBEDTLS_DES_SETKEY_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DHM_ALT) //no-check-names
#  error "MBEDTLS_DHM_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_DHM_C) //no-check-names
#  error "MBEDTLS_DHM_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECDH_C) //no-check-names
#  error "MBEDTLS_ECDH_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECDH_COMPUTE_SHARED_ALT) //no-check-names
#  error "MBEDTLS_ECDH_COMPUTE_SHARED_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECDH_GEN_PUBLIC_ALT) //no-check-names
#  error "MBEDTLS_ECDH_GEN_PUBLIC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
#  error "MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
#  define MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDH_VARIANT_EVEREST_ENABLED

#if defined(MBEDTLS_ECDSA_C)
#  error "MBEDTLS_ECDSA_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDSA_C
#  define MBEDTLS_ECDSA_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDSA_C

#if defined(MBEDTLS_ECDSA_DETERMINISTIC)
#  error "MBEDTLS_ECDSA_DETERMINISTIC is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDSA_DETERMINISTIC
#  define MBEDTLS_ECDSA_DETERMINISTIC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECDSA_DETERMINISTIC

#if defined(MBEDTLS_ECDSA_GENKEY_ALT) //no-check-names
#  error "MBEDTLS_ECDSA_GENKEY_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECDSA_SIGN_ALT) //no-check-names
#  error "MBEDTLS_ECDSA_SIGN_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECDSA_VERIFY_ALT) //no-check-names
#  error "MBEDTLS_ECDSA_VERIFY_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECJPAKE_ALT) //no-check-names
#  error "MBEDTLS_ECJPAKE_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECJPAKE_C)
#  error "MBEDTLS_ECJPAKE_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECJPAKE_C
#  define MBEDTLS_ECJPAKE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECJPAKE_C

#if defined(MBEDTLS_ECP_ADD_MIXED_ALT) //no-check-names
#  error "MBEDTLS_ECP_ADD_MIXED_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_ALT) //no-check-names
#  error "MBEDTLS_ECP_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_C)
#  error "MBEDTLS_ECP_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_C
#  define MBEDTLS_ECP_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_C

#if defined(MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT) //no-check-names
#  error "MBEDTLS_ECP_DOUBLE_ADD_MXZ_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_DOUBLE_JAC_ALT) //no-check-names
#  error "MBEDTLS_ECP_DOUBLE_JAC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_DP_BP256R1_ENABLED)
#  error "MBEDTLS_ECP_DP_BP256R1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_BP256R1_ENABLED
#  define MBEDTLS_ECP_DP_BP256R1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_BP256R1_ENABLED

#if defined(MBEDTLS_ECP_DP_BP384R1_ENABLED)
#  error "MBEDTLS_ECP_DP_BP384R1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_BP384R1_ENABLED
#  define MBEDTLS_ECP_DP_BP384R1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_BP384R1_ENABLED

#if defined(MBEDTLS_ECP_DP_BP512R1_ENABLED)
#  error "MBEDTLS_ECP_DP_BP512R1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_BP512R1_ENABLED
#  define MBEDTLS_ECP_DP_BP512R1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_BP512R1_ENABLED

#if defined(MBEDTLS_ECP_DP_CURVE25519_ENABLED)
#  error "MBEDTLS_ECP_DP_CURVE25519_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_CURVE25519_ENABLED
#  define MBEDTLS_ECP_DP_CURVE25519_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_CURVE25519_ENABLED

#if defined(MBEDTLS_ECP_DP_CURVE448_ENABLED)
#  error "MBEDTLS_ECP_DP_CURVE448_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_CURVE448_ENABLED
#  define MBEDTLS_ECP_DP_CURVE448_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_CURVE448_ENABLED

#if defined(MBEDTLS_ECP_DP_SECP192K1_ENABLED) //no-check-names
#  error "MBEDTLS_ECP_DP_SECP192K1_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_DP_SECP192R1_ENABLED) //no-check-names
#  error "MBEDTLS_ECP_DP_SECP192R1_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_DP_SECP224K1_ENABLED) //no-check-names
#  error "MBEDTLS_ECP_DP_SECP224K1_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_DP_SECP224R1_ENABLED) //no-check-names
#  error "MBEDTLS_ECP_DP_SECP224R1_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_DP_SECP256K1_ENABLED)
#  error "MBEDTLS_ECP_DP_SECP256K1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP256K1_ENABLED
#  define MBEDTLS_ECP_DP_SECP256K1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP256K1_ENABLED

#if defined(MBEDTLS_ECP_DP_SECP256R1_ENABLED)
#  error "MBEDTLS_ECP_DP_SECP256R1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP256R1_ENABLED
#  define MBEDTLS_ECP_DP_SECP256R1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP256R1_ENABLED

#if defined(MBEDTLS_ECP_DP_SECP384R1_ENABLED)
#  error "MBEDTLS_ECP_DP_SECP384R1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP384R1_ENABLED
#  define MBEDTLS_ECP_DP_SECP384R1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP384R1_ENABLED

#if defined(MBEDTLS_ECP_DP_SECP521R1_ENABLED)
#  error "MBEDTLS_ECP_DP_SECP521R1_ENABLED is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP521R1_ENABLED
#  define MBEDTLS_ECP_DP_SECP521R1_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_DP_SECP521R1_ENABLED

#if defined(MBEDTLS_ECP_FIXED_POINT_OPTIM) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_FIXED_POINT_OPTIM
#  error "MBEDTLS_ECP_FIXED_POINT_OPTIM must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_FIXED_POINT_OPTIM
#  define MBEDTLS_ECP_FIXED_POINT_OPTIM
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_FIXED_POINT_OPTIM

#if defined(MBEDTLS_ECP_INTERNAL_ALT) //no-check-names
#  error "MBEDTLS_ECP_INTERNAL_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_NIST_OPTIM) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_NIST_OPTIM
#  error "MBEDTLS_ECP_NIST_OPTIM must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_NIST_OPTIM
#  define MBEDTLS_ECP_NIST_OPTIM
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_NIST_OPTIM

#if defined(MBEDTLS_ECP_NORMALIZE_JAC_ALT) //no-check-names
#  error "MBEDTLS_ECP_NORMALIZE_JAC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT) //no-check-names
#  error "MBEDTLS_ECP_NORMALIZE_JAC_MANY_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_NORMALIZE_MXZ_ALT) //no-check-names
#  error "MBEDTLS_ECP_NORMALIZE_MXZ_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_NO_FALLBACK) //no-check-names
#  error "MBEDTLS_ECP_NO_FALLBACK was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_RANDOMIZE_JAC_ALT) //no-check-names
#  error "MBEDTLS_ECP_RANDOMIZE_JAC_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_RANDOMIZE_MXZ_ALT) //no-check-names
#  error "MBEDTLS_ECP_RANDOMIZE_MXZ_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ECP_RESTARTABLE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_RESTARTABLE
#  error "MBEDTLS_ECP_RESTARTABLE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_RESTARTABLE
#  define MBEDTLS_ECP_RESTARTABLE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_RESTARTABLE

#if defined(MBEDTLS_ECP_WINDOW_SIZE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_WINDOW_SIZE
#  error "MBEDTLS_ECP_WINDOW_SIZE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_WINDOW_SIZE
#  define MBEDTLS_ECP_WINDOW_SIZE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_WINDOW_SIZE

#if defined(MBEDTLS_ECP_WITH_MPI_UINT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_WITH_MPI_UINT
#  error "MBEDTLS_ECP_WITH_MPI_UINT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_WITH_MPI_UINT
#  define MBEDTLS_ECP_WITH_MPI_UINT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ECP_WITH_MPI_UINT

#if defined(MBEDTLS_ENTROPY_C)
#  error "MBEDTLS_ENTROPY_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ENTROPY_C
#  define MBEDTLS_ENTROPY_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ENTROPY_C

#if defined(MBEDTLS_ENTROPY_FORCE_SHA256) //no-check-names
#  error "MBEDTLS_ENTROPY_FORCE_SHA256 was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ENTROPY_HARDWARE_ALT) //no-check-names
#  error "MBEDTLS_ENTROPY_HARDWARE_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ENTROPY_MAX_GATHER) //no-check-names
#  error "MBEDTLS_ENTROPY_MAX_GATHER was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ENTROPY_MAX_SOURCES) //no-check-names
#  error "MBEDTLS_ENTROPY_MAX_SOURCES was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ENTROPY_MIN_HARDWARE) //no-check-names
#  error "MBEDTLS_ENTROPY_MIN_HARDWARE was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_ENTROPY_NV_SEED) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ENTROPY_NV_SEED
#  error "MBEDTLS_ENTROPY_NV_SEED must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ENTROPY_NV_SEED
#  define MBEDTLS_ENTROPY_NV_SEED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_ENTROPY_NV_SEED

#if defined(MBEDTLS_FS_IO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_FS_IO
#  error "MBEDTLS_FS_IO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_FS_IO
#  define MBEDTLS_FS_IO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_FS_IO

#if defined(MBEDTLS_GCM_ALT) //no-check-names
#  error "MBEDTLS_GCM_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_GCM_C)
#  error "MBEDTLS_GCM_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GCM_C
#  define MBEDTLS_GCM_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GCM_C

#if defined(MBEDTLS_GCM_LARGE_TABLE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GCM_LARGE_TABLE
#  error "MBEDTLS_GCM_LARGE_TABLE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GCM_LARGE_TABLE
#  define MBEDTLS_GCM_LARGE_TABLE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GCM_LARGE_TABLE

#if defined(MBEDTLS_GENPRIME)
#  error "MBEDTLS_GENPRIME is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GENPRIME
#  define MBEDTLS_GENPRIME
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_GENPRIME

#if defined(MBEDTLS_HAVE_ASM) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_ASM
#  error "MBEDTLS_HAVE_ASM must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_ASM
#  define MBEDTLS_HAVE_ASM
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_ASM

#if defined(MBEDTLS_HAVE_SSE2) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_SSE2
#  error "MBEDTLS_HAVE_SSE2 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_SSE2
#  define MBEDTLS_HAVE_SSE2
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_SSE2

#if defined(MBEDTLS_HAVE_TIME) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_TIME
#  error "MBEDTLS_HAVE_TIME must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_TIME
#  define MBEDTLS_HAVE_TIME
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_TIME

#if defined(MBEDTLS_HAVE_TIME_DATE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_TIME_DATE
#  error "MBEDTLS_HAVE_TIME_DATE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_TIME_DATE
#  define MBEDTLS_HAVE_TIME_DATE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HAVE_TIME_DATE

#if defined(MBEDTLS_HKDF_C) //no-check-names
#  error "MBEDTLS_HKDF_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_HMAC_DRBG_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HMAC_DRBG_C
#  error "MBEDTLS_HMAC_DRBG_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HMAC_DRBG_C
#  define MBEDTLS_HMAC_DRBG_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_HMAC_DRBG_C

#if defined(MBEDTLS_HMAC_DRBG_MAX_INPUT) //no-check-names
#  error "MBEDTLS_HMAC_DRBG_MAX_INPUT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_HMAC_DRBG_MAX_REQUEST) //no-check-names
#  error "MBEDTLS_HMAC_DRBG_MAX_REQUEST was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT) //no-check-names
#  error "MBEDTLS_HMAC_DRBG_MAX_SEED_INPUT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_HMAC_DRBG_RESEED_INTERVAL) //no-check-names
#  error "MBEDTLS_HMAC_DRBG_RESEED_INTERVAL was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_IGNORE_RETURN) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_IGNORE_RETURN
#  error "MBEDTLS_IGNORE_RETURN must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_IGNORE_RETURN
#  define MBEDTLS_IGNORE_RETURN
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_IGNORE_RETURN

#if defined(MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED) //no-check-names
#  error "MBEDTLS_KEY_EXCHANGE_DHE_PSK_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED) //no-check-names
#  error "MBEDTLS_KEY_EXCHANGE_DHE_RSA_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED) //no-check-names
#  error "MBEDTLS_KEY_EXCHANGE_ECDH_ECDSA_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED) //no-check-names
#  error "MBEDTLS_KEY_EXCHANGE_ECDH_RSA_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_KEY_EXCHANGE_RSA_ENABLED) //no-check-names
#  error "MBEDTLS_KEY_EXCHANGE_RSA_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED) //no-check-names
#  error "MBEDTLS_KEY_EXCHANGE_RSA_PSK_ENABLED was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_LMS_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_LMS_C
#  error "MBEDTLS_LMS_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_LMS_C
#  define MBEDTLS_LMS_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_LMS_C

#if defined(MBEDTLS_LMS_PRIVATE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_LMS_PRIVATE
#  error "MBEDTLS_LMS_PRIVATE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_LMS_PRIVATE
#  define MBEDTLS_LMS_PRIVATE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_LMS_PRIVATE

#if defined(MBEDTLS_MD5_ALT) //no-check-names
#  error "MBEDTLS_MD5_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_MD5_C)
#  error "MBEDTLS_MD5_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MD5_C
#  define MBEDTLS_MD5_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MD5_C

#if defined(MBEDTLS_MD5_PROCESS_ALT) //no-check-names
#  error "MBEDTLS_MD5_PROCESS_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_MD_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MD_C
#  error "MBEDTLS_MD_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MD_C
#  define MBEDTLS_MD_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MD_C

#if defined(MBEDTLS_MEMORY_ALIGN_MULTIPLE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_ALIGN_MULTIPLE
#  error "MBEDTLS_MEMORY_ALIGN_MULTIPLE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_ALIGN_MULTIPLE
#  define MBEDTLS_MEMORY_ALIGN_MULTIPLE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_ALIGN_MULTIPLE

#if defined(MBEDTLS_MEMORY_BACKTRACE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_BACKTRACE
#  error "MBEDTLS_MEMORY_BACKTRACE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_BACKTRACE
#  define MBEDTLS_MEMORY_BACKTRACE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_BACKTRACE

#if defined(MBEDTLS_MEMORY_BUFFER_ALLOC_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_BUFFER_ALLOC_C
#  error "MBEDTLS_MEMORY_BUFFER_ALLOC_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_BUFFER_ALLOC_C
#  define MBEDTLS_MEMORY_BUFFER_ALLOC_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_BUFFER_ALLOC_C

#if defined(MBEDTLS_MEMORY_DEBUG) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_DEBUG
#  error "MBEDTLS_MEMORY_DEBUG must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_DEBUG
#  define MBEDTLS_MEMORY_DEBUG
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MEMORY_DEBUG

#if defined(MBEDTLS_MPI_MAX_SIZE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MPI_MAX_SIZE
#  error "MBEDTLS_MPI_MAX_SIZE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MPI_MAX_SIZE
#  define MBEDTLS_MPI_MAX_SIZE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MPI_MAX_SIZE

#if defined(MBEDTLS_MPI_WINDOW_SIZE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MPI_WINDOW_SIZE
#  error "MBEDTLS_MPI_WINDOW_SIZE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MPI_WINDOW_SIZE
#  define MBEDTLS_MPI_WINDOW_SIZE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_MPI_WINDOW_SIZE

#if defined(MBEDTLS_NIST_KW_ALT) //no-check-names
#  error "MBEDTLS_NIST_KW_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_NIST_KW_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NIST_KW_C
#  error "MBEDTLS_NIST_KW_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NIST_KW_C
#  define MBEDTLS_NIST_KW_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NIST_KW_C

#if defined(MBEDTLS_NO_64BIT_MULTIPLICATION) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NO_64BIT_MULTIPLICATION
#  error "MBEDTLS_NO_64BIT_MULTIPLICATION must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NO_64BIT_MULTIPLICATION
#  define MBEDTLS_NO_64BIT_MULTIPLICATION
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NO_64BIT_MULTIPLICATION

#if defined(MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES) //no-check-names
#  error "MBEDTLS_NO_DEFAULT_ENTROPY_SOURCES was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_NO_PLATFORM_ENTROPY) //no-check-names
#  error "MBEDTLS_NO_PLATFORM_ENTROPY was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_NO_UDBL_DIVISION) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NO_UDBL_DIVISION
#  error "MBEDTLS_NO_UDBL_DIVISION must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NO_UDBL_DIVISION
#  define MBEDTLS_NO_UDBL_DIVISION
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_NO_UDBL_DIVISION

#if defined(MBEDTLS_OID_C) //no-check-names
#  error "MBEDTLS_OID_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PADLOCK_C) //no-check-names
#  error "MBEDTLS_PADLOCK_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PEM_PARSE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PEM_PARSE_C
#  error "MBEDTLS_PEM_PARSE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PEM_PARSE_C
#  define MBEDTLS_PEM_PARSE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PEM_PARSE_C

#if defined(MBEDTLS_PEM_WRITE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PEM_WRITE_C
#  error "MBEDTLS_PEM_WRITE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PEM_WRITE_C
#  define MBEDTLS_PEM_WRITE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PEM_WRITE_C

#if defined(MBEDTLS_PKCS12_C) //no-check-names
#  error "MBEDTLS_PKCS12_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PKCS1_V15)
#  error "MBEDTLS_PKCS1_V15 is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS1_V15
#  define MBEDTLS_PKCS1_V15
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS1_V15

#if defined(MBEDTLS_PKCS1_V21)
#  error "MBEDTLS_PKCS1_V21 is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS1_V21
#  define MBEDTLS_PKCS1_V21
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS1_V21

#if defined(MBEDTLS_PKCS5_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS5_C
#  error "MBEDTLS_PKCS5_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS5_C
#  define MBEDTLS_PKCS5_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PKCS5_C

#if defined(MBEDTLS_PK_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_C
#  error "MBEDTLS_PK_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_C
#  define MBEDTLS_PK_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_C

#if defined(MBEDTLS_PK_PARSE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_C
#  error "MBEDTLS_PK_PARSE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_C
#  define MBEDTLS_PK_PARSE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_C

#if defined(MBEDTLS_PK_PARSE_EC_COMPRESSED) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_EC_COMPRESSED
#  error "MBEDTLS_PK_PARSE_EC_COMPRESSED must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_EC_COMPRESSED
#  define MBEDTLS_PK_PARSE_EC_COMPRESSED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_EC_COMPRESSED

#if defined(MBEDTLS_PK_PARSE_EC_EXTENDED) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_EC_EXTENDED
#  error "MBEDTLS_PK_PARSE_EC_EXTENDED must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_EC_EXTENDED
#  define MBEDTLS_PK_PARSE_EC_EXTENDED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_PARSE_EC_EXTENDED

#if defined(MBEDTLS_PK_RSA_ALT_SUPPORT) //no-check-names
#  error "MBEDTLS_PK_RSA_ALT_SUPPORT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PK_WRITE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_WRITE_C
#  error "MBEDTLS_PK_WRITE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_WRITE_C
#  define MBEDTLS_PK_WRITE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PK_WRITE_C

#if defined(MBEDTLS_PLATFORM_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_C
#  error "MBEDTLS_PLATFORM_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_C
#  define MBEDTLS_PLATFORM_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_C

#if defined(MBEDTLS_PLATFORM_CALLOC_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_CALLOC_MACRO
#  error "MBEDTLS_PLATFORM_CALLOC_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_CALLOC_MACRO
#  define MBEDTLS_PLATFORM_CALLOC_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_CALLOC_MACRO

#if defined(MBEDTLS_PLATFORM_EXIT_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_EXIT_ALT
#  error "MBEDTLS_PLATFORM_EXIT_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_EXIT_ALT
#  define MBEDTLS_PLATFORM_EXIT_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_EXIT_ALT

#if defined(MBEDTLS_PLATFORM_EXIT_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_EXIT_MACRO
#  error "MBEDTLS_PLATFORM_EXIT_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_EXIT_MACRO
#  define MBEDTLS_PLATFORM_EXIT_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_EXIT_MACRO

#if defined(MBEDTLS_PLATFORM_FPRINTF_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FPRINTF_ALT
#  error "MBEDTLS_PLATFORM_FPRINTF_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FPRINTF_ALT
#  define MBEDTLS_PLATFORM_FPRINTF_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FPRINTF_ALT

#if defined(MBEDTLS_PLATFORM_FPRINTF_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FPRINTF_MACRO
#  error "MBEDTLS_PLATFORM_FPRINTF_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FPRINTF_MACRO
#  define MBEDTLS_PLATFORM_FPRINTF_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FPRINTF_MACRO

#if defined(MBEDTLS_PLATFORM_FREE_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FREE_MACRO
#  error "MBEDTLS_PLATFORM_FREE_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FREE_MACRO
#  define MBEDTLS_PLATFORM_FREE_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_FREE_MACRO

#if defined(MBEDTLS_PLATFORM_GMTIME_R_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_GMTIME_R_ALT
#  error "MBEDTLS_PLATFORM_GMTIME_R_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_GMTIME_R_ALT
#  define MBEDTLS_PLATFORM_GMTIME_R_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_GMTIME_R_ALT

#if defined(MBEDTLS_PLATFORM_MEMORY) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MEMORY
#  error "MBEDTLS_PLATFORM_MEMORY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MEMORY
#  define MBEDTLS_PLATFORM_MEMORY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MEMORY

#if defined(MBEDTLS_PLATFORM_MS_TIME_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MS_TIME_ALT
#  error "MBEDTLS_PLATFORM_MS_TIME_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MS_TIME_ALT
#  define MBEDTLS_PLATFORM_MS_TIME_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MS_TIME_ALT

#if defined(MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO
#  error "MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO
#  define MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_MS_TIME_TYPE_MACRO

#if defined(MBEDTLS_PLATFORM_NO_STD_FUNCTIONS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
#  error "MBEDTLS_PLATFORM_NO_STD_FUNCTIONS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
#  define MBEDTLS_PLATFORM_NO_STD_FUNCTIONS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NO_STD_FUNCTIONS

#if defined(MBEDTLS_PLATFORM_NV_SEED_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_ALT
#  error "MBEDTLS_PLATFORM_NV_SEED_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_ALT
#  define MBEDTLS_PLATFORM_NV_SEED_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_ALT

#if defined(MBEDTLS_PLATFORM_NV_SEED_READ_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_READ_MACRO
#  error "MBEDTLS_PLATFORM_NV_SEED_READ_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_READ_MACRO
#  define MBEDTLS_PLATFORM_NV_SEED_READ_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_READ_MACRO

#if defined(MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO
#  error "MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO
#  define MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_NV_SEED_WRITE_MACRO

#if defined(MBEDTLS_PLATFORM_PRINTF_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_PRINTF_ALT
#  error "MBEDTLS_PLATFORM_PRINTF_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_PRINTF_ALT
#  define MBEDTLS_PLATFORM_PRINTF_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_PRINTF_ALT

#if defined(MBEDTLS_PLATFORM_PRINTF_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_PRINTF_MACRO
#  error "MBEDTLS_PLATFORM_PRINTF_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_PRINTF_MACRO
#  define MBEDTLS_PLATFORM_PRINTF_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_PRINTF_MACRO

#if defined(MBEDTLS_PLATFORM_SETBUF_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETBUF_ALT
#  error "MBEDTLS_PLATFORM_SETBUF_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETBUF_ALT
#  define MBEDTLS_PLATFORM_SETBUF_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETBUF_ALT

#if defined(MBEDTLS_PLATFORM_SETBUF_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETBUF_MACRO
#  error "MBEDTLS_PLATFORM_SETBUF_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETBUF_MACRO
#  define MBEDTLS_PLATFORM_SETBUF_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETBUF_MACRO

#if defined(MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT
#  error "MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT
#  define MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SETUP_TEARDOWN_ALT

#if defined(MBEDTLS_PLATFORM_SNPRINTF_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SNPRINTF_ALT
#  error "MBEDTLS_PLATFORM_SNPRINTF_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SNPRINTF_ALT
#  define MBEDTLS_PLATFORM_SNPRINTF_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SNPRINTF_ALT

#if defined(MBEDTLS_PLATFORM_SNPRINTF_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SNPRINTF_MACRO
#  error "MBEDTLS_PLATFORM_SNPRINTF_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SNPRINTF_MACRO
#  define MBEDTLS_PLATFORM_SNPRINTF_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_SNPRINTF_MACRO

#if defined(MBEDTLS_PLATFORM_STD_CALLOC) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_CALLOC
#  error "MBEDTLS_PLATFORM_STD_CALLOC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_CALLOC
#  define MBEDTLS_PLATFORM_STD_CALLOC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_CALLOC

#if defined(MBEDTLS_PLATFORM_STD_EXIT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT
#  error "MBEDTLS_PLATFORM_STD_EXIT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT
#  define MBEDTLS_PLATFORM_STD_EXIT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT

#if defined(MBEDTLS_PLATFORM_STD_EXIT_FAILURE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT_FAILURE
#  error "MBEDTLS_PLATFORM_STD_EXIT_FAILURE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT_FAILURE
#  define MBEDTLS_PLATFORM_STD_EXIT_FAILURE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT_FAILURE

#if defined(MBEDTLS_PLATFORM_STD_EXIT_SUCCESS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT_SUCCESS
#  error "MBEDTLS_PLATFORM_STD_EXIT_SUCCESS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT_SUCCESS
#  define MBEDTLS_PLATFORM_STD_EXIT_SUCCESS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_EXIT_SUCCESS

#if defined(MBEDTLS_PLATFORM_STD_FPRINTF) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_FPRINTF
#  error "MBEDTLS_PLATFORM_STD_FPRINTF must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_FPRINTF
#  define MBEDTLS_PLATFORM_STD_FPRINTF
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_FPRINTF

#if defined(MBEDTLS_PLATFORM_STD_FREE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_FREE
#  error "MBEDTLS_PLATFORM_STD_FREE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_FREE
#  define MBEDTLS_PLATFORM_STD_FREE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_FREE

#if defined(MBEDTLS_PLATFORM_STD_MEM_HDR) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_MEM_HDR
#  error "MBEDTLS_PLATFORM_STD_MEM_HDR must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_MEM_HDR
#  define MBEDTLS_PLATFORM_STD_MEM_HDR
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_MEM_HDR

#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_FILE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_FILE
#  error "MBEDTLS_PLATFORM_STD_NV_SEED_FILE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_FILE
#  define MBEDTLS_PLATFORM_STD_NV_SEED_FILE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_FILE

#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_READ) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_READ
#  error "MBEDTLS_PLATFORM_STD_NV_SEED_READ must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_READ
#  define MBEDTLS_PLATFORM_STD_NV_SEED_READ
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_READ

#if defined(MBEDTLS_PLATFORM_STD_NV_SEED_WRITE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_WRITE
#  error "MBEDTLS_PLATFORM_STD_NV_SEED_WRITE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_WRITE
#  define MBEDTLS_PLATFORM_STD_NV_SEED_WRITE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_NV_SEED_WRITE

#if defined(MBEDTLS_PLATFORM_STD_PRINTF) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_PRINTF
#  error "MBEDTLS_PLATFORM_STD_PRINTF must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_PRINTF
#  define MBEDTLS_PLATFORM_STD_PRINTF
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_PRINTF

#if defined(MBEDTLS_PLATFORM_STD_SETBUF) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_SETBUF
#  error "MBEDTLS_PLATFORM_STD_SETBUF must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_SETBUF
#  define MBEDTLS_PLATFORM_STD_SETBUF
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_SETBUF

#if defined(MBEDTLS_PLATFORM_STD_SNPRINTF) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_SNPRINTF
#  error "MBEDTLS_PLATFORM_STD_SNPRINTF must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_SNPRINTF
#  define MBEDTLS_PLATFORM_STD_SNPRINTF
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_SNPRINTF

#if defined(MBEDTLS_PLATFORM_STD_TIME) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_TIME
#  error "MBEDTLS_PLATFORM_STD_TIME must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_TIME
#  define MBEDTLS_PLATFORM_STD_TIME
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_STD_TIME

#if defined(MBEDTLS_PLATFORM_TIME_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_ALT
#  error "MBEDTLS_PLATFORM_TIME_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_ALT
#  define MBEDTLS_PLATFORM_TIME_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_ALT

#if defined(MBEDTLS_PLATFORM_TIME_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_MACRO
#  error "MBEDTLS_PLATFORM_TIME_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_MACRO
#  define MBEDTLS_PLATFORM_TIME_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_MACRO

#if defined(MBEDTLS_PLATFORM_TIME_TYPE_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_TYPE_MACRO
#  error "MBEDTLS_PLATFORM_TIME_TYPE_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_TYPE_MACRO
#  define MBEDTLS_PLATFORM_TIME_TYPE_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_TIME_TYPE_MACRO

#if defined(MBEDTLS_PLATFORM_VSNPRINTF_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_VSNPRINTF_ALT
#  error "MBEDTLS_PLATFORM_VSNPRINTF_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_VSNPRINTF_ALT
#  define MBEDTLS_PLATFORM_VSNPRINTF_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_VSNPRINTF_ALT

#if defined(MBEDTLS_PLATFORM_VSNPRINTF_MACRO) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_VSNPRINTF_MACRO
#  error "MBEDTLS_PLATFORM_VSNPRINTF_MACRO must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_VSNPRINTF_MACRO
#  define MBEDTLS_PLATFORM_VSNPRINTF_MACRO
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_VSNPRINTF_MACRO

#if defined(MBEDTLS_PLATFORM_ZEROIZE_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_ZEROIZE_ALT
#  error "MBEDTLS_PLATFORM_ZEROIZE_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_ZEROIZE_ALT
#  define MBEDTLS_PLATFORM_ZEROIZE_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PLATFORM_ZEROIZE_ALT

#if defined(MBEDTLS_POLY1305_ALT) //no-check-names
#  error "MBEDTLS_POLY1305_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_POLY1305_C)
#  error "MBEDTLS_POLY1305_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_POLY1305_C
#  define MBEDTLS_POLY1305_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_POLY1305_C

#if defined(MBEDTLS_PRINTF_MS_TIME) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PRINTF_MS_TIME
#  error "MBEDTLS_PRINTF_MS_TIME must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PRINTF_MS_TIME
#  define MBEDTLS_PRINTF_MS_TIME
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PRINTF_MS_TIME

#if defined(MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS
#  error "MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS
#  define MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_ASSUME_EXCLUSIVE_BUFFERS

#if defined(MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS
#  error "MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS
#  define MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_BUILTIN_KEYS

#if defined(MBEDTLS_PSA_CRYPTO_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_C
#  error "MBEDTLS_PSA_CRYPTO_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_C
#  define MBEDTLS_PSA_CRYPTO_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_C

#if defined(MBEDTLS_PSA_CRYPTO_CLIENT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_CLIENT
#  error "MBEDTLS_PSA_CRYPTO_CLIENT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_CLIENT
#  define MBEDTLS_PSA_CRYPTO_CLIENT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_CLIENT

#if defined(MBEDTLS_PSA_CRYPTO_CONFIG_FILE) //no-check-names
#  error "MBEDTLS_PSA_CRYPTO_CONFIG_FILE was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG
#  error "MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG
#  define MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_EXTERNAL_RNG

#if defined(MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
#  error "MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
#  define MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_KEY_ID_ENCODES_OWNER

#if defined(MBEDTLS_PSA_CRYPTO_PLATFORM_FILE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_PLATFORM_FILE
#  error "MBEDTLS_PSA_CRYPTO_PLATFORM_FILE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_PLATFORM_FILE
#  define MBEDTLS_PSA_CRYPTO_PLATFORM_FILE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_PLATFORM_FILE

#if defined(MBEDTLS_PSA_CRYPTO_SE_C) //no-check-names
#  error "MBEDTLS_PSA_CRYPTO_SE_C was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PSA_CRYPTO_SPM) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_SPM
#  error "MBEDTLS_PSA_CRYPTO_SPM must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_SPM
#  define MBEDTLS_PSA_CRYPTO_SPM
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_SPM

#if defined(MBEDTLS_PSA_CRYPTO_STORAGE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_STORAGE_C
#  error "MBEDTLS_PSA_CRYPTO_STORAGE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_STORAGE_C
#  define MBEDTLS_PSA_CRYPTO_STORAGE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_STORAGE_C

#if defined(MBEDTLS_PSA_CRYPTO_STRUCT_FILE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_STRUCT_FILE
#  error "MBEDTLS_PSA_CRYPTO_STRUCT_FILE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_STRUCT_FILE
#  define MBEDTLS_PSA_CRYPTO_STRUCT_FILE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_CRYPTO_STRUCT_FILE

#if defined(MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE) //no-check-names
#  error "MBEDTLS_PSA_CRYPTO_USER_CONFIG_FILE was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PSA_HMAC_DRBG_MD_TYPE) //no-check-names
#  error "MBEDTLS_PSA_HMAC_DRBG_MD_TYPE was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PSA_INJECT_ENTROPY) //no-check-names
#  error "MBEDTLS_PSA_INJECT_ENTROPY was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_PSA_ITS_FILE_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_ITS_FILE_C
#  error "MBEDTLS_PSA_ITS_FILE_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_ITS_FILE_C
#  define MBEDTLS_PSA_ITS_FILE_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_ITS_FILE_C

#if defined(MBEDTLS_PSA_KEY_SLOT_COUNT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_KEY_SLOT_COUNT
#  error "MBEDTLS_PSA_KEY_SLOT_COUNT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_KEY_SLOT_COUNT
#  define MBEDTLS_PSA_KEY_SLOT_COUNT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_KEY_SLOT_COUNT

#if defined(MBEDTLS_PSA_KEY_STORE_DYNAMIC) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_KEY_STORE_DYNAMIC
#  error "MBEDTLS_PSA_KEY_STORE_DYNAMIC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_KEY_STORE_DYNAMIC
#  define MBEDTLS_PSA_KEY_STORE_DYNAMIC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_KEY_STORE_DYNAMIC

#if defined(MBEDTLS_PSA_P256M_DRIVER_ENABLED) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_P256M_DRIVER_ENABLED
#  error "MBEDTLS_PSA_P256M_DRIVER_ENABLED must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_P256M_DRIVER_ENABLED
#  define MBEDTLS_PSA_P256M_DRIVER_ENABLED
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_P256M_DRIVER_ENABLED

#if defined(MBEDTLS_PSA_STATIC_KEY_SLOTS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_STATIC_KEY_SLOTS
#  error "MBEDTLS_PSA_STATIC_KEY_SLOTS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_STATIC_KEY_SLOTS
#  define MBEDTLS_PSA_STATIC_KEY_SLOTS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_STATIC_KEY_SLOTS

#if defined(MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
#  error "MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
#  define MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_PSA_STATIC_KEY_SLOT_BUFFER_SIZE

#if defined(MBEDTLS_RIPEMD160_ALT) //no-check-names
#  error "MBEDTLS_RIPEMD160_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_RIPEMD160_C)
#  error "MBEDTLS_RIPEMD160_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RIPEMD160_C
#  define MBEDTLS_RIPEMD160_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RIPEMD160_C

#if defined(MBEDTLS_RIPEMD160_PROCESS_ALT) //no-check-names
#  error "MBEDTLS_RIPEMD160_PROCESS_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_RSA_ALT) //no-check-names
#  error "MBEDTLS_RSA_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_RSA_C)
#  error "MBEDTLS_RSA_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_C
#  define MBEDTLS_RSA_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_C

#if defined(MBEDTLS_RSA_GEN_KEY_MIN_BITS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_GEN_KEY_MIN_BITS
#  error "MBEDTLS_RSA_GEN_KEY_MIN_BITS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_GEN_KEY_MIN_BITS
#  define MBEDTLS_RSA_GEN_KEY_MIN_BITS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_GEN_KEY_MIN_BITS

#if defined(MBEDTLS_RSA_NO_CRT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_NO_CRT
#  error "MBEDTLS_RSA_NO_CRT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_NO_CRT
#  define MBEDTLS_RSA_NO_CRT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_RSA_NO_CRT

#if defined(MBEDTLS_SELF_TEST) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SELF_TEST
#  error "MBEDTLS_SELF_TEST must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SELF_TEST
#  define MBEDTLS_SELF_TEST
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SELF_TEST

#if defined(MBEDTLS_SHA1_ALT) //no-check-names
#  error "MBEDTLS_SHA1_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA1_C)
#  error "MBEDTLS_SHA1_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA1_C
#  define MBEDTLS_SHA1_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA1_C

#if defined(MBEDTLS_SHA1_PROCESS_ALT) //no-check-names
#  error "MBEDTLS_SHA1_PROCESS_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA224_C)
#  error "MBEDTLS_SHA224_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA224_C
#  define MBEDTLS_SHA224_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA224_C

#if defined(MBEDTLS_SHA256_ALT) //no-check-names
#  error "MBEDTLS_SHA256_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA256_C)
#  error "MBEDTLS_SHA256_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_C
#  define MBEDTLS_SHA256_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_C

#if defined(MBEDTLS_SHA256_PROCESS_ALT) //no-check-names
#  error "MBEDTLS_SHA256_PROCESS_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA256_SMALLER) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_SMALLER
#  error "MBEDTLS_SHA256_SMALLER must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_SMALLER
#  define MBEDTLS_SHA256_SMALLER
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_SMALLER

#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT) //no-check-names
#  error "MBEDTLS_SHA256_USE_A64_CRYPTO_IF_PRESENT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY) //no-check-names
#  error "MBEDTLS_SHA256_USE_A64_CRYPTO_ONLY was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT
#  error "MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT
#  define MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_IF_PRESENT

#if defined(MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY
#  error "MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY
#  define MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA256_USE_ARMV8_A_CRYPTO_ONLY

#if defined(MBEDTLS_SHA384_C)
#  error "MBEDTLS_SHA384_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA384_C
#  define MBEDTLS_SHA384_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA384_C

#if defined(MBEDTLS_SHA3_C)
#  error "MBEDTLS_SHA3_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA3_C
#  define MBEDTLS_SHA3_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA3_C

#if defined(MBEDTLS_SHA512_ALT) //no-check-names
#  error "MBEDTLS_SHA512_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA512_C)
#  error "MBEDTLS_SHA512_C is an internal macro of TF-PSA-Crypto and may not be configured."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_C
#  define MBEDTLS_SHA512_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_C

#if defined(MBEDTLS_SHA512_PROCESS_ALT) //no-check-names
#  error "MBEDTLS_SHA512_PROCESS_ALT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SHA512_SMALLER) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_SMALLER
#  error "MBEDTLS_SHA512_SMALLER must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_SMALLER
#  define MBEDTLS_SHA512_SMALLER
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_SMALLER

#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
#  error "MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
#  define MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_USE_A64_CRYPTO_IF_PRESENT

#if defined(MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY
#  error "MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY
#  define MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_SHA512_USE_A64_CRYPTO_ONLY

#if defined(MBEDTLS_SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME) //no-check-names
#  error "MBEDTLS_SSL_CLI_ALLOW_WEAK_CERTIFICATE_VERIFICATION_WITHOUT_HOSTNAME was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT) //no-check-names
#  error "MBEDTLS_SSL_DTLS_CONNECTION_ID_COMPAT was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN
#  error "MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN
#  define MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_CONSTANT_FLOW_MEMSAN

#if defined(MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND
#  error "MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND
#  define MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_CONSTANT_FLOW_VALGRIND

#if defined(MBEDTLS_TEST_HOOKS) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_HOOKS
#  error "MBEDTLS_TEST_HOOKS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_HOOKS
#  define MBEDTLS_TEST_HOOKS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_TEST_HOOKS

#if defined(MBEDTLS_THREADING_ALT) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_ALT
#  error "MBEDTLS_THREADING_ALT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_ALT
#  define MBEDTLS_THREADING_ALT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_ALT

#if defined(MBEDTLS_THREADING_C) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_C
#  error "MBEDTLS_THREADING_C must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_C
#  define MBEDTLS_THREADING_C
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_C

#if defined(MBEDTLS_THREADING_PTHREAD) && !MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_PTHREAD
#  error "MBEDTLS_THREADING_PTHREAD must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_PTHREAD
#  define MBEDTLS_THREADING_PTHREAD
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_MBEDTLS_THREADING_PTHREAD

#if defined(PSA_CRYPTO_CONFIG_H) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_CRYPTO_CONFIG_H
#  error "PSA_CRYPTO_CONFIG_H must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_CRYPTO_CONFIG_H
#  define PSA_CRYPTO_CONFIG_H
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_CRYPTO_CONFIG_H

#if defined(PSA_WANT_ALG_CBC_NO_PADDING) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CBC_NO_PADDING
#  error "PSA_WANT_ALG_CBC_NO_PADDING must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CBC_NO_PADDING
#  define PSA_WANT_ALG_CBC_NO_PADDING
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CBC_NO_PADDING

#if defined(PSA_WANT_ALG_CBC_PKCS7) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CBC_PKCS7
#  error "PSA_WANT_ALG_CBC_PKCS7 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CBC_PKCS7
#  define PSA_WANT_ALG_CBC_PKCS7
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CBC_PKCS7

#if defined(PSA_WANT_ALG_CCM) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CCM
#  error "PSA_WANT_ALG_CCM must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CCM
#  define PSA_WANT_ALG_CCM
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CCM

#if defined(PSA_WANT_ALG_CCM_STAR_NO_TAG) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CCM_STAR_NO_TAG
#  error "PSA_WANT_ALG_CCM_STAR_NO_TAG must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CCM_STAR_NO_TAG
#  define PSA_WANT_ALG_CCM_STAR_NO_TAG
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CCM_STAR_NO_TAG

#if defined(PSA_WANT_ALG_CFB) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CFB
#  error "PSA_WANT_ALG_CFB must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CFB
#  define PSA_WANT_ALG_CFB
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CFB

#if defined(PSA_WANT_ALG_CHACHA20_POLY1305) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CHACHA20_POLY1305
#  error "PSA_WANT_ALG_CHACHA20_POLY1305 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CHACHA20_POLY1305
#  define PSA_WANT_ALG_CHACHA20_POLY1305
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CHACHA20_POLY1305

#if defined(PSA_WANT_ALG_CMAC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CMAC
#  error "PSA_WANT_ALG_CMAC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CMAC
#  define PSA_WANT_ALG_CMAC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CMAC

#if defined(PSA_WANT_ALG_CTR) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CTR
#  error "PSA_WANT_ALG_CTR must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CTR
#  define PSA_WANT_ALG_CTR
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_CTR

#if defined(PSA_WANT_ALG_DETERMINISTIC_ECDSA) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_DETERMINISTIC_ECDSA
#  error "PSA_WANT_ALG_DETERMINISTIC_ECDSA must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_DETERMINISTIC_ECDSA
#  define PSA_WANT_ALG_DETERMINISTIC_ECDSA
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_DETERMINISTIC_ECDSA

#if defined(PSA_WANT_ALG_ECB_NO_PADDING) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECB_NO_PADDING
#  error "PSA_WANT_ALG_ECB_NO_PADDING must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECB_NO_PADDING
#  define PSA_WANT_ALG_ECB_NO_PADDING
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECB_NO_PADDING

#if defined(PSA_WANT_ALG_ECDH) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECDH
#  error "PSA_WANT_ALG_ECDH must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECDH
#  define PSA_WANT_ALG_ECDH
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECDH

#if defined(PSA_WANT_ALG_ECDSA) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECDSA
#  error "PSA_WANT_ALG_ECDSA must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECDSA
#  define PSA_WANT_ALG_ECDSA
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_ECDSA

#if defined(PSA_WANT_ALG_FFDH) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_FFDH
#  error "PSA_WANT_ALG_FFDH must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_FFDH
#  define PSA_WANT_ALG_FFDH
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_FFDH

#if defined(PSA_WANT_ALG_GCM) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_GCM
#  error "PSA_WANT_ALG_GCM must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_GCM
#  define PSA_WANT_ALG_GCM
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_GCM

#if defined(PSA_WANT_ALG_HKDF) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF
#  error "PSA_WANT_ALG_HKDF must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF
#  define PSA_WANT_ALG_HKDF
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF

#if defined(PSA_WANT_ALG_HKDF_EXPAND) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF_EXPAND
#  error "PSA_WANT_ALG_HKDF_EXPAND must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF_EXPAND
#  define PSA_WANT_ALG_HKDF_EXPAND
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF_EXPAND

#if defined(PSA_WANT_ALG_HKDF_EXTRACT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF_EXTRACT
#  error "PSA_WANT_ALG_HKDF_EXTRACT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF_EXTRACT
#  define PSA_WANT_ALG_HKDF_EXTRACT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HKDF_EXTRACT

#if defined(PSA_WANT_ALG_HMAC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HMAC
#  error "PSA_WANT_ALG_HMAC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HMAC
#  define PSA_WANT_ALG_HMAC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_HMAC

#if defined(PSA_WANT_ALG_JPAKE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_JPAKE
#  error "PSA_WANT_ALG_JPAKE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_JPAKE
#  define PSA_WANT_ALG_JPAKE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_JPAKE

#if defined(PSA_WANT_ALG_MD5) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_MD5
#  error "PSA_WANT_ALG_MD5 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_MD5
#  define PSA_WANT_ALG_MD5
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_MD5

#if defined(PSA_WANT_ALG_OFB) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_OFB
#  error "PSA_WANT_ALG_OFB must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_OFB
#  define PSA_WANT_ALG_OFB
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_OFB

#if defined(PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
#  error "PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
#  define PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_PBKDF2_AES_CMAC_PRF_128

#if defined(PSA_WANT_ALG_PBKDF2_HMAC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_PBKDF2_HMAC
#  error "PSA_WANT_ALG_PBKDF2_HMAC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_PBKDF2_HMAC
#  define PSA_WANT_ALG_PBKDF2_HMAC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_PBKDF2_HMAC

#if defined(PSA_WANT_ALG_RIPEMD160) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RIPEMD160
#  error "PSA_WANT_ALG_RIPEMD160 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RIPEMD160
#  define PSA_WANT_ALG_RIPEMD160
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RIPEMD160

#if defined(PSA_WANT_ALG_RSA_OAEP) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_OAEP
#  error "PSA_WANT_ALG_RSA_OAEP must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_OAEP
#  define PSA_WANT_ALG_RSA_OAEP
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_OAEP

#if defined(PSA_WANT_ALG_RSA_PKCS1V15_CRYPT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
#  error "PSA_WANT_ALG_RSA_PKCS1V15_CRYPT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
#  define PSA_WANT_ALG_RSA_PKCS1V15_CRYPT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PKCS1V15_CRYPT

#if defined(PSA_WANT_ALG_RSA_PKCS1V15_SIGN) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PKCS1V15_SIGN
#  error "PSA_WANT_ALG_RSA_PKCS1V15_SIGN must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PKCS1V15_SIGN
#  define PSA_WANT_ALG_RSA_PKCS1V15_SIGN
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PKCS1V15_SIGN

#if defined(PSA_WANT_ALG_RSA_PSS) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PSS
#  error "PSA_WANT_ALG_RSA_PSS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PSS
#  define PSA_WANT_ALG_RSA_PSS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_RSA_PSS

#if defined(PSA_WANT_ALG_SHA3_224) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_224
#  error "PSA_WANT_ALG_SHA3_224 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_224
#  define PSA_WANT_ALG_SHA3_224
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_224

#if defined(PSA_WANT_ALG_SHA3_256) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_256
#  error "PSA_WANT_ALG_SHA3_256 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_256
#  define PSA_WANT_ALG_SHA3_256
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_256

#if defined(PSA_WANT_ALG_SHA3_384) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_384
#  error "PSA_WANT_ALG_SHA3_384 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_384
#  define PSA_WANT_ALG_SHA3_384
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_384

#if defined(PSA_WANT_ALG_SHA3_512) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_512
#  error "PSA_WANT_ALG_SHA3_512 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_512
#  define PSA_WANT_ALG_SHA3_512
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA3_512

#if defined(PSA_WANT_ALG_SHA_1) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_1
#  error "PSA_WANT_ALG_SHA_1 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_1
#  define PSA_WANT_ALG_SHA_1
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_1

#if defined(PSA_WANT_ALG_SHA_224) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_224
#  error "PSA_WANT_ALG_SHA_224 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_224
#  define PSA_WANT_ALG_SHA_224
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_224

#if defined(PSA_WANT_ALG_SHA_256) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_256
#  error "PSA_WANT_ALG_SHA_256 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_256
#  define PSA_WANT_ALG_SHA_256
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_256

#if defined(PSA_WANT_ALG_SHA_384) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_384
#  error "PSA_WANT_ALG_SHA_384 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_384
#  define PSA_WANT_ALG_SHA_384
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_384

#if defined(PSA_WANT_ALG_SHA_512) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_512
#  error "PSA_WANT_ALG_SHA_512 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_512
#  define PSA_WANT_ALG_SHA_512
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_SHA_512

#if defined(PSA_WANT_ALG_STREAM_CIPHER) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_STREAM_CIPHER
#  error "PSA_WANT_ALG_STREAM_CIPHER must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_STREAM_CIPHER
#  define PSA_WANT_ALG_STREAM_CIPHER
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_STREAM_CIPHER

#if defined(PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS
#  error "PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS
#  define PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_ECJPAKE_TO_PMS

#if defined(PSA_WANT_ALG_TLS12_PRF) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_PRF
#  error "PSA_WANT_ALG_TLS12_PRF must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_PRF
#  define PSA_WANT_ALG_TLS12_PRF
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_PRF

#if defined(PSA_WANT_ALG_TLS12_PSK_TO_MS) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_PSK_TO_MS
#  error "PSA_WANT_ALG_TLS12_PSK_TO_MS must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_PSK_TO_MS
#  define PSA_WANT_ALG_TLS12_PSK_TO_MS
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ALG_TLS12_PSK_TO_MS

#if defined(PSA_WANT_DH_RFC7919_2048) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_2048
#  error "PSA_WANT_DH_RFC7919_2048 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_2048
#  define PSA_WANT_DH_RFC7919_2048
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_2048

#if defined(PSA_WANT_DH_RFC7919_3072) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_3072
#  error "PSA_WANT_DH_RFC7919_3072 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_3072
#  define PSA_WANT_DH_RFC7919_3072
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_3072

#if defined(PSA_WANT_DH_RFC7919_4096) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_4096
#  error "PSA_WANT_DH_RFC7919_4096 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_4096
#  define PSA_WANT_DH_RFC7919_4096
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_4096

#if defined(PSA_WANT_DH_RFC7919_6144) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_6144
#  error "PSA_WANT_DH_RFC7919_6144 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_6144
#  define PSA_WANT_DH_RFC7919_6144
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_6144

#if defined(PSA_WANT_DH_RFC7919_8192) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_8192
#  error "PSA_WANT_DH_RFC7919_8192 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_8192
#  define PSA_WANT_DH_RFC7919_8192
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_DH_RFC7919_8192

#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_256) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_256
#  error "PSA_WANT_ECC_BRAINPOOL_P_R1_256 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_256
#  define PSA_WANT_ECC_BRAINPOOL_P_R1_256
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_256

#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_384) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_384
#  error "PSA_WANT_ECC_BRAINPOOL_P_R1_384 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_384
#  define PSA_WANT_ECC_BRAINPOOL_P_R1_384
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_384

#if defined(PSA_WANT_ECC_BRAINPOOL_P_R1_512) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_512
#  error "PSA_WANT_ECC_BRAINPOOL_P_R1_512 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_512
#  define PSA_WANT_ECC_BRAINPOOL_P_R1_512
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_BRAINPOOL_P_R1_512

#if defined(PSA_WANT_ECC_MONTGOMERY_255) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_MONTGOMERY_255
#  error "PSA_WANT_ECC_MONTGOMERY_255 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_MONTGOMERY_255
#  define PSA_WANT_ECC_MONTGOMERY_255
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_MONTGOMERY_255

#if defined(PSA_WANT_ECC_MONTGOMERY_448) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_MONTGOMERY_448
#  error "PSA_WANT_ECC_MONTGOMERY_448 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_MONTGOMERY_448
#  define PSA_WANT_ECC_MONTGOMERY_448
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_MONTGOMERY_448

#if defined(PSA_WANT_ECC_SECP_K1_192) //no-check-names
#  error "PSA_WANT_ECC_SECP_K1_192 was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(PSA_WANT_ECC_SECP_K1_256) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_K1_256
#  error "PSA_WANT_ECC_SECP_K1_256 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_K1_256
#  define PSA_WANT_ECC_SECP_K1_256
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_K1_256

#if defined(PSA_WANT_ECC_SECP_R1_192) //no-check-names
#  error "PSA_WANT_ECC_SECP_R1_192 was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(PSA_WANT_ECC_SECP_R1_224) //no-check-names
#  error "PSA_WANT_ECC_SECP_R1_224 was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(PSA_WANT_ECC_SECP_R1_256) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_256
#  error "PSA_WANT_ECC_SECP_R1_256 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_256
#  define PSA_WANT_ECC_SECP_R1_256
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_256

#if defined(PSA_WANT_ECC_SECP_R1_384) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_384
#  error "PSA_WANT_ECC_SECP_R1_384 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_384
#  define PSA_WANT_ECC_SECP_R1_384
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_384

#if defined(PSA_WANT_ECC_SECP_R1_521) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_521
#  error "PSA_WANT_ECC_SECP_R1_521 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_521
#  define PSA_WANT_ECC_SECP_R1_521
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_ECC_SECP_R1_521

#if defined(PSA_WANT_KEY_TYPE_AES) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_AES
#  error "PSA_WANT_KEY_TYPE_AES must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_AES
#  define PSA_WANT_KEY_TYPE_AES
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_AES

#if defined(PSA_WANT_KEY_TYPE_ARIA) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ARIA
#  error "PSA_WANT_KEY_TYPE_ARIA must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ARIA
#  define PSA_WANT_KEY_TYPE_ARIA
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ARIA

#if defined(PSA_WANT_KEY_TYPE_CAMELLIA) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_CAMELLIA
#  error "PSA_WANT_KEY_TYPE_CAMELLIA must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_CAMELLIA
#  define PSA_WANT_KEY_TYPE_CAMELLIA
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_CAMELLIA

#if defined(PSA_WANT_KEY_TYPE_CHACHA20) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_CHACHA20
#  error "PSA_WANT_KEY_TYPE_CHACHA20 must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_CHACHA20
#  define PSA_WANT_KEY_TYPE_CHACHA20
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_CHACHA20

#if defined(PSA_WANT_KEY_TYPE_DERIVE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DERIVE
#  error "PSA_WANT_KEY_TYPE_DERIVE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DERIVE
#  define PSA_WANT_KEY_TYPE_DERIVE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DERIVE

#if defined(PSA_WANT_KEY_TYPE_DES) //no-check-names
#  error "PSA_WANT_KEY_TYPE_DES was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
#  error "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
#  define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_BASIC

#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE
#  error "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE
#  define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_DERIVE

#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT
#  error "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT
#  define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_EXPORT

#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
#  error "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
#  define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_GENERATE

#if defined(PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT
#  error "PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT
#  define PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_KEY_PAIR_IMPORT

#if defined(PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY
#  error "PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY
#  define PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_DH_PUBLIC_KEY

#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR) //no-check-names
#  error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
#  error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
#  define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_BASIC

#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE
#  error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE
#  define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_DERIVE

#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
#  error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
#  define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_EXPORT

#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
#  error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
#  define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_GENERATE

#if defined(PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
#  error "PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
#  define PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_KEY_PAIR_IMPORT

#if defined(PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
#  error "PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
#  define PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_ECC_PUBLIC_KEY

#if defined(PSA_WANT_KEY_TYPE_HMAC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_HMAC
#  error "PSA_WANT_KEY_TYPE_HMAC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_HMAC
#  define PSA_WANT_KEY_TYPE_HMAC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_HMAC

#if defined(PSA_WANT_KEY_TYPE_PASSWORD) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_PASSWORD
#  error "PSA_WANT_KEY_TYPE_PASSWORD must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_PASSWORD
#  define PSA_WANT_KEY_TYPE_PASSWORD
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_PASSWORD

#if defined(PSA_WANT_KEY_TYPE_PASSWORD_HASH) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_PASSWORD_HASH
#  error "PSA_WANT_KEY_TYPE_PASSWORD_HASH must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_PASSWORD_HASH
#  define PSA_WANT_KEY_TYPE_PASSWORD_HASH
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_PASSWORD_HASH

#if defined(PSA_WANT_KEY_TYPE_RAW_DATA) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RAW_DATA
#  error "PSA_WANT_KEY_TYPE_RAW_DATA must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RAW_DATA
#  define PSA_WANT_KEY_TYPE_RAW_DATA
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RAW_DATA

#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR) //no-check-names
#  error "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR was removed in Mbed TLS 4.0." //no-check-names
#endif

#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
#  error "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
#  define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_BASIC

#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE
#  error "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE
#  define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_DERIVE

#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT
#  error "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT
#  define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_EXPORT

#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
#  error "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
#  define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_GENERATE

#if defined(PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT
#  error "PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT
#  define PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_KEY_PAIR_IMPORT

#if defined(PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY) && !MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
#  error "PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY must be configured in psa/crypto_config.h."
#endif
#if MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
#  define PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY
#endif
#undef MBEDTLS_CONFIG_CHECK_WASSET_PSA_WANT_KEY_TYPE_RSA_PUBLIC_KEY

#if defined(MBEDTLS_CONFIG_ADJUST_SSL_H)
#  error "MBEDTLS_CONFIG_ADJUST_SSL_H is not a valid configuration option."
#endif

#if defined(MBEDTLS_CONFIG_ADJUST_X509_H)
#  error "MBEDTLS_CONFIG_ADJUST_X509_H is not a valid configuration option."
#endif

#if defined(MBEDTLS_SSL_TLS1_2_SOME_ECC)
#  error "MBEDTLS_SSL_TLS1_2_SOME_ECC is not a valid configuration option."
#endif

/* *INDENT-ON* */

#endif /* !defined(MBEDTLS_CONFIG_CHECK_BYPASS) */ //no-check-names

/* End of automatically generated mbedtls_config_check_user.h */
