Config: Share one project config file among arch tests

There is only little difference among project config files for different
arch tests. To keep code clean, it is good enough to share a single
project config file among arch test suites.

Library tfm_config is set before loading PSA configs, to make sure that
arch test related compile definitions can be correctly added to tfm_config.

Signed-off-by: Xinyu Zhang <xinyu.zhang@arm.com>
Change-Id: Ia082199a839718bcecc1273d9b8a42e4608ded55
diff --git a/config/tests/config_test_psa_api.h b/config/tests/config_test_psa_api.h
index c160ee5..3e37a32 100644
--- a/config/tests/config_test_psa_api.h
+++ b/config/tests/config_test_psa_api.h
@@ -109,7 +109,15 @@
 #define ITS_VALIDATE_METADATA_FROM_FLASH       1
 
 /* The maximum asset size to be stored in the Internal Trusted Storage */
+#ifdef TEST_PSA_API_CRYPTO
+/*
+ * When building for the PSA Crypto API tests, ensure the ITS max asset size is
+ * set to at least the size of the largest asset created by the tests.
+ */
+#define ITS_MAX_ASSET_SIZE                     1229
+#else
 #define ITS_MAX_ASSET_SIZE                     512
+#endif
 
 /*
  * Size of the ITS internal data transfer buffer